-enable-kvm - can it be a required option?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



What I mean is: if asked to enable kvm but kvm
can't be initialized for some reason (lack of
virt extensions on the cpu, permission denied
and so on), can we stop with a fatal error
instead of continuing in emulated mode?

Or maybe with another option, like -require-kvm?

I understand that -enable-kvm is now in upstream
qemu too, and _there_ it means something different,
that is, it enables something that is disabled by
default.  But even with that, if user asks for
something and that something isn't available, it
seems like a good idea to stop here instead of
producing a warning and continuing...

This is especially true for kvm where -enable-kvm
is the default anyway.

I see more and more people are using this option
now in a hope that kvm will actually stop when
no virt extensions are available.  It was my
first reaction too, "wow, now I can force it to
require kvm extensions instead of running 1000
times slower!".  So this has something to think
about, it looks like... ;)

Thanks!

/mjt
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux