>
>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".
It would be troublesome if doing auto testing. :)
>
>(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.
This is a feasible idea. I have compared the behavior between pure Qemu and
KVM/Qemu. KVM/Qemu would open a fd for /dev/kvm. :)
>
>There may be other ways, but that is all I could think of off the top of
>my head.
Well, like Avi said, it is better to implement some formal command to get
detailed information about the running guest. :)
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel