qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] qemu: whitelist kvm pv eoi feature


From: Michael S. Tsirkin
Subject: Re: [Qemu-devel] [PATCH] qemu: whitelist kvm pv eoi feature
Date: Sun, 13 May 2012 15:05:37 +0300

On Sun, May 13, 2012 at 03:02:58PM +0300, Michael S. Tsirkin wrote:
> On Fri, May 11, 2012 at 06:47:43AM -0600, Eric Blake wrote:
> > [adding libvirt, dropping kernel]
> > 
> > On 05/11/2012 01:43 AM, Michael S. Tsirkin wrote:
> > > Whitelist kvm pv eoi feature. The feature is enabled
> > > with -cpu kvm64. To disable: -cpu kvm64,-kvm_eoi.
> > > 
> > > Signed-off-by: Michael S. Tsirkin <address@hidden>
> > > ---
> > > 
> > > Sending a copy to kernel list as this is needed
> > > to test the pv eoi feature recently submitted.
> > > 
> > >  target-i386/cpuid.c |    2 +-
> > >  1 files changed, 1 insertions(+), 1 deletions(-)
> > > 
> > > diff --git a/target-i386/cpuid.c b/target-i386/cpuid.c
> > > index 465ea15..c421b19 100644
> > > --- a/target-i386/cpuid.c
> > > +++ b/target-i386/cpuid.c
> > > @@ -75,7 +75,7 @@ static const char *ext3_feature_name[] = {
> > >  };
> > >  
> > >  static const char *kvm_feature_name[] = {
> > > -    "kvmclock", "kvm_nopiodelay", "kvm_mmu", "kvmclock", "kvm_asyncpf", 
> > > NULL, NULL, NULL,
> > > +    "kvmclock", "kvm_nopiodelay", "kvm_mmu", "kvmclock", "kvm_asyncpf", 
> > > NULL, "kvm_eoi", NULL,
> > 
> > Should libvirt also be recognizing this processor capability in its XML
> > in order to drive the -kvm_eoi option?
> 
> I think so.

A follow-up question: does libvirt use -cpu kvm?
How are such features normally handled for
cross-version migration?

> > -- 
> > Eric Blake   address@hidden    +1-919-301-3266
> > Libvirt virtualization library http://libvirt.org
> > 
> 
> 



reply via email to

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