Re: qemu-kvm

Simon Kagstrom
2006-11-14T09:28:19Z

At Tue, 14 Nov 2006 10:50:23 +0200,
Avi Kivity wrote:
>
> Baruch Even wrote:
> > Can the Qemu built with KVM support run without KVM? Froma quick perusal
> > of the kvm.patch it seems that there are places where USE_KVM implies a
> > qemu-panic without any runtime conditionals.
>
> qemu-kvm.patch is an older release. With the new release, it should be
> possible to run without kvm. Let me know (or better, send patches) if
> there are any such places in kvm-2.

One thing I've thought about (and quickly hacked on) is to "detect"
the presense of KVM and use it if it is there and use "plain" qemu if
it is not. The question is if this is behavior that the rest of you
would like, I'll send a patch if so.

One thing which I've changed is to return errors from libkvm instead
of directly exiting. Personally I think this behavior is preferred
since it does not force decisions upon the program using the library.

// Simon