From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: Is there any accurate way to check if Qemu is using KVM modules? Date: Tue, 19 Jun 2007 17:49:48 +0300 Message-ID: <4677ED0C.9090309@qumranet.com> References: <094BCE01AFBE9646AF220B0B3F367AABCDA148@pdsmsx413.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0624623360==" Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: "You, Yongkang" Return-path: In-Reply-To: <094BCE01AFBE9646AF220B0B3F367AABCDA148-wq7ZOvIWXbMgGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org --===============0624623360== Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit 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 --===============0624623360== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- 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/ --===============0624623360== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kvm-devel mailing list kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/kvm-devel --===============0624623360==--