logo       

Re: Is there any accurate way to check if Qemu is using KVMmodules?: msg#00550

emulators.kvm.devel

Subject: Re: Is there any accurate way to check if Qemu is using KVMmodules?

A non-programmatic way is to look at the SDL banner window (assuming you
are using SDL and not VNC or gfx disabled). When you are using KVM it
will say "QEMU/KVM".

(WARNING: hack alert) A programmatic way would be to check the /proc
filesystem for the pid of the QEMU process for open references
to /dev/kvm.

There may be other ways, but that is all I could think of off the top of
my head.

-Greg

On Tue, 2007-06-19 at 22:12 +0800, You, Yongkang wrote:
> Hi all,
>
> I am a newbie for KVM testing.
> Now I meet a problem in testing, that it seems there isn't a simple and
> effective way to judge if a Qemu is using KVM modules or doing pure Qemu
> operations.
>
> Checking how many reference of kvm.ko by lsmod is a way, but would meet
> trouble when creating multi KVM guest at the same time. And can not locate
> which one is using KVM modules.
>
> I also checked /sys file system, but didn't get any reference. Is it possible
> to expose some useful information about KVM/Qemu alive status and cpu
> assignment/usage information in the user space. This would be a good friend
> to customer and tester. :)
>
> Best Regards,
> Yongkang (Kangkang) 永康
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________ kvm-devel mailing list
> kvm-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/kvm-devel


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
kvm-devel mailing list
kvm-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/kvm-devel
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise