So I double checked capstan code and here are all conditions it checks to set DisableKvm flag (https://github.com/cloudius-systems/capstan/blob/efad2dff6ddeded449aa3954bcaefba554a36209/cmd/run.go#L233): - the 'disable_kvm' flag in ~/.capstan/config.yaml (executing 'capstan config print' will show you that) - the CAPSTAN_DISABLE_KVM environment variable - executes kvm-ok (https://github.com/cloudius-systems/capstan/blob/efad2dff6ddeded449aa3954bcaefba554a36209/hypervisor/qemu/qemu.go#L319,https://github.com/cloudius-systems/capstan/blob/efad2dff6ddeded449aa3954bcaefba554a36209/hypervisor/qemu/qemu.go#L419) to see if it returns no error
I betting the last check one is somehow failing. Just execute kvm-ok in command line using same user you are using to run capstan and see what it shows. Waldek On Saturday, May 4, 2019 at 5:39:53 AM UTC-4, robertob wrote: > > I'm still stuck on this problem. KVM works well on the machine but the > capstan runs the qemu without "-enable-kvm". Is there a way to force this > parameter in capstan run? > > > > Il giorno venerdì 19 aprile 2019 12:25:48 UTC+2, robertob ha scritto: >> >> KVM is installed and working in the system. I enabled all the flags that >> Waldek suggested but nothing...the "-enable-kvm" is not present in the >> cmdline. >> >> The capstan version I use is the 0.30. >> >> Any Idea? >> >> Roberto >> >> Il giorno gio 18 apr 2019 alle ore 08:22 Pekka Enberg ha scritto: >> >>> On Thu, Apr 18, 2019 at 9:18 AM Roberto Battistoni wrote: >>> >>>> yes the problem is that KVM is not running. also with your >>>> specification it does not work… >>>> >>>> I must investigate on the KVM installation on the host machine. >>>> >>> >>> Look at the output of "dmesg" for clues. One common issue is that >>> hardware virtualization is disabled in the BIOS. >>> >>> - Pekka >>> >> -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/osv-dev/abec8b65-2843-4e69-9e02-0777c1b56b30%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
