* Is there any accurate way to check if Qemu is using KVM modules?
@ 2007-06-19 14:12 You, Yongkang
[not found] ` <094BCE01AFBE9646AF220B0B3F367AABCDA146-wq7ZOvIWXbMgGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: You, Yongkang @ 2007-06-19 14:12 UTC (permalink / raw)
To: Avi Kivity, kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
[-- Attachment #1: Type: text/plain, Size: 685 bytes --]
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) 永康
[-- Attachment #2: Type: text/plain, Size: 286 bytes --]
-------------------------------------------------------------------------
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/
[-- Attachment #3: Type: text/plain, Size: 186 bytes --]
_______________________________________________
kvm-devel mailing list
kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/kvm-devel
^ permalink raw reply [flat|nested] 4+ messages in thread[parent not found: <094BCE01AFBE9646AF220B0B3F367AABCDA146-wq7ZOvIWXbMgGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>]
* Re: Is there any accurate way to check if Qemu is using KVM modules? [not found] ` <094BCE01AFBE9646AF220B0B3F367AABCDA146-wq7ZOvIWXbMgGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org> @ 2007-06-19 14:17 ` Avi Kivity [not found] ` <4677E578.6060800-atKUWr5tajBWk0Htik3J/w@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: Avi Kivity @ 2007-06-19 14:17 UTC (permalink / raw) To: You, Yongkang; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f [-- Attachment #1: Type: text/plain, Size: 900 bytes --] 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. :) > I believe there is an 'info kqemu' command in the qemu monitor. It would be a good idea to implement an 'info kvm' to get such information in a systematic way. -- error compiling committee.c: too many arguments to function [-- Attachment #2: Type: text/plain, Size: 286 bytes --] ------------------------------------------------------------------------- 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/ [-- Attachment #3: Type: text/plain, Size: 186 bytes --] _______________________________________________ kvm-devel mailing list kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/kvm-devel ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <4677E578.6060800-atKUWr5tajBWk0Htik3J/w@public.gmane.org>]
* Re: Is there any accurate way to check if Qemu is using KVM modules? [not found] ` <4677E578.6060800-atKUWr5tajBWk0Htik3J/w@public.gmane.org> @ 2007-06-19 14:42 ` You, Yongkang [not found] ` <094BCE01AFBE9646AF220B0B3F367AABCDA148-wq7ZOvIWXbMgGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: You, Yongkang @ 2007-06-19 14:42 UTC (permalink / raw) To: Avi Kivity; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f [-- Attachment #1: Type: text/plain, Size: 1011 bytes --] >> 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. :) >> > >I believe there is an 'info kqemu' command in the qemu monitor. It would >be a good idea to implement an 'info kvm' to get such information in a >systematic way. > Hi Avi, I tried 'info kqemu' in Qemu monitor. But I always got the same result: "kqemu supported : not compiled". Is it correct? Best Regards, Yongkang (Kangkang) 永康 [-- Attachment #2: Type: text/plain, Size: 286 bytes --] ------------------------------------------------------------------------- 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/ [-- Attachment #3: Type: text/plain, Size: 186 bytes --] _______________________________________________ kvm-devel mailing list kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/kvm-devel ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <094BCE01AFBE9646AF220B0B3F367AABCDA148-wq7ZOvIWXbMgGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>]
* Re: Is there any accurate way to check if Qemu is using KVM modules? [not found] ` <094BCE01AFBE9646AF220B0B3F367AABCDA148-wq7ZOvIWXbMgGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org> @ 2007-06-19 14:49 ` Avi Kivity 0 siblings, 0 replies; 4+ messages in thread From: Avi Kivity @ 2007-06-19 14:49 UTC (permalink / raw) To: You, Yongkang; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f [-- Attachment #1: Type: text/plain, Size: 1333 bytes --] You, Yongkang wrote: >>> 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. :) >> >> I believe there is an 'info kqemu' command in the qemu monitor. It would >> be a good idea to implement an 'info kvm' to get such information in a >> systematic way. >> >> > Hi Avi, > > I tried 'info kqemu' in Qemu monitor. But I always got the same result: "kqemu supported : not compiled". Is it correct? > > Yes. I gave kqemu as an example (kqemu is similar to kvm, but does not use hardware acceleration). We'll need to implement 'info kvm' in a similar way (it would report the value of the kvm_allowed variable). -- error compiling committee.c: too many arguments to function [-- Attachment #2: Type: text/plain, Size: 286 bytes --] ------------------------------------------------------------------------- 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/ [-- Attachment #3: Type: text/plain, Size: 186 bytes --] _______________________________________________ kvm-devel mailing list kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/kvm-devel ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-06-19 14:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-19 14:12 Is there any accurate way to check if Qemu is using KVM modules? You, Yongkang
[not found] ` <094BCE01AFBE9646AF220B0B3F367AABCDA146-wq7ZOvIWXbMgGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-06-19 14:17 ` Avi Kivity
[not found] ` <4677E578.6060800-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-06-19 14:42 ` You, Yongkang
[not found] ` <094BCE01AFBE9646AF220B0B3F367AABCDA148-wq7ZOvIWXbMgGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-06-19 14:49 ` Avi Kivity
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox