From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael S. Tsirkin" Subject: Re: [PATCH] qemu: whitelist kvm pv eoi feature Date: Sun, 13 May 2012 15:05:37 +0300 Message-ID: <20120513120536.GD24195@redhat.com> References: <20120511074334.GA1504@redhat.com> <4FAD0A6F.5040002@redhat.com> <20120513120258.GC24195@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Anthony Liguori , Stefan Hajnoczi , kvm@vger.kernel.org, Marcelo Tosatti , Markus Armbruster , gleb@redhat.com, qemu-devel@nongnu.org, Avi Kivity , Andreas =?iso-8859-1?Q?F=E4rber?= To: Eric Blake Return-path: Content-Disposition: inline In-Reply-To: <20120513120258.GC24195@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org Sender: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org List-Id: kvm.vger.kernel.org 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 > > > --- > > > > > > 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 eblake@redhat.com +1-919-301-3266 > > Libvirt virtualization library http://libvirt.org > > > >