I think the problem is that on Fedora there is not "kvm-ok"...so it fails for this reason.
I could try to use the code from here: https://github.com/bannsec/altEnv/blob/master/kvm-ok Il giorno martedì 7 maggio 2019 14:15:48 UTC+2, Waldek Kozaczuk ha scritto: > > 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/2119950c-b6ad-470c-9462-e2afb7fbd28d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
