Re: [PATCH] exit if we fail to initialize kvm

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

 





On 28.07.2009, at 23:28, Glauber Costa <glommer@xxxxxxxxxx> wrote:

On Tue, Jul 28, 2009 at 11:15:19PM +0200, Alexander Graf wrote:

On 28.07.2009, at 22:52, Glauber Costa <glommer@xxxxxxxxxx> wrote:

Falling back to tcg has proven to be evil through time. The option is
to
do not try to act behind user's back, and quit the program completely
if
we fail to initialize kvm. Right now, the only way to run tcg from our
tree
becomes explicitly asking for it, with the -no-kvm option.

Well, actually there's one little difference: I tell the user to use -
no-kvm if he really wants cpu emulation.

But simply failing is probably good enough.
With my patch, we won't fail if the user asked -no-kvm, because then we won't
even try to initialize kvm.

We only exit here, if we try, but fail


Right, the difference is that instead of saying "initializing kvm failed" it would give the user some advice on what happened and what to do next.

Alex
--
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