qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] Remove debugging messages.


From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH] Remove debugging messages.
Date: Tue, 19 Jul 2011 16:56:24 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110516 Lightning/1.0b2 Thunderbird/3.1.10

On 07/19/2011 03:59 PM, Richard W.M. Jones wrote:
On Tue, Jul 19, 2011 at 03:04:22PM -0500, Anthony Liguori wrote:
On 07/19/2011 02:23 PM, Richard W.M. Jones wrote:
From: "Richard W.M. Jones"<address@hidden>

When using qemu -machine accel=kvm:tcg, if KVM is not available you
get a load of debugging output:

   Could not access KVM kernel module: No such file or directory
   failed to initialize KVM: No such file or directory
   Back to tcg accelerator.

If you ask for kvm, and it can't be initialized, then shouldn't we
alert the user about this?

That's one way to look at it.

Another is that libguestfs has specified that we want a "best effort".
Give me KVM, if available - great!  If not, I don't really care, give
me TCG.

Can't libguestfs just ignore the messages?


The -machine option isn't expressive enough to say all these things of
course.

BTW, it seems in 0.15 that the -machine option is now required?  eg in
this case where it seems totally pointless:

$ qemu -nographic -device \?
KVM not supported for this target
No accelerator found!

Hrm, what's your HEAD because mine doesn't exhibit this behavior.

Regards,

Anthony Liguori


This resulted in another bug and fix in libguestfs.

http://git.annexia.org/?p=libguestfs.git;a=commitdiff;h=d82438431c1551610eb7d9945fa76d6387534582

Rich.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]