[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCHv4 3/4] cpuid: disable pv eoi for 1.1 and older c
From: |
Gleb Natapov |
Subject: |
Re: [Qemu-devel] [PATCHv4 3/4] cpuid: disable pv eoi for 1.1 and older compat types |
Date: |
Wed, 29 Aug 2012 16:40:21 +0300 |
On Wed, Aug 29, 2012 at 08:36:30AM -0500, Anthony Liguori wrote:
> "Michael S. Tsirkin" <address@hidden> writes:
>
> > In preparation for adding PV EOI support, disable PV EOI by default for
> > 1.1 and older machine types, to avoid CPUID changing during migration.
> >
> > PV EOI can still be enabled/disabled by specifying it explicitly.
> > Enable for 1.1
> > -M pc-1.1 -cpu kvm64,+kvm_pv_eoi
> > Disable for 1.2
> > -M pc-1.2 -cpu kvm64,-kvm_pv_eoi
> >
> > Signed-off-by: Michael S. Tsirkin <address@hidden>
>
> As best I can tell, we're papering over an ABI breakage in KVM.
>
> If an old QEMU attempts to do a live migration on a new kernel,
> migrating to an QEMU on a different box with an older kernel, it will
> fail because there is state that isn't being migrated.
>
> This ought to be fixed in the kernel by making these features
> whitelisted by userspace.
>
What do you mean. Userspace and only userspace decides what cpuid bits
will be seen by a guest. Currently userspace enables all PV cpuid bits
it finds.
--
Gleb.
- Re: [Qemu-devel] [PATCHv4 3/4] cpuid: disable pv eoi for 1.1 and older compat types, (continued)
- Re: [Qemu-devel] [PATCHv4 3/4] cpuid: disable pv eoi for 1.1 and older compat types, Marcelo Tosatti, 2012/08/29
- Re: [Qemu-devel] [PATCHv4 3/4] cpuid: disable pv eoi for 1.1 and older compat types, Marcelo Tosatti, 2012/08/29
- Re: [Qemu-devel] [PATCHv4 3/4] cpuid: disable pv eoi for 1.1 and older compat types, Michael S. Tsirkin, 2012/08/29
- Re: [Qemu-devel] [PATCHv4 3/4] cpuid: disable pv eoi for 1.1 and older compat types, Michael S. Tsirkin, 2012/08/29
- Re: [Qemu-devel] [PATCHv4 3/4] cpuid: disable pv eoi for 1.1 and older compat types, Michael S. Tsirkin, 2012/08/29
- Re: [Qemu-devel] [PATCHv4 3/4] cpuid: disable pv eoi for 1.1 and older compat types, Juan Quintela, 2012/08/29
Re: [Qemu-devel] [PATCHv4 3/4] cpuid: disable pv eoi for 1.1 and older compat types, Anthony Liguori, 2012/08/29
- Re: [Qemu-devel] [PATCHv4 3/4] cpuid: disable pv eoi for 1.1 and older compat types,
Gleb Natapov <=
- Re: [Qemu-devel] [PATCHv4 3/4] cpuid: disable pv eoi for 1.1 and older compat types, Anthony Liguori, 2012/08/29
- Re: [Qemu-devel] [PATCHv4 3/4] cpuid: disable pv eoi for 1.1 and older compat types, Michael S. Tsirkin, 2012/08/29
- Re: [Qemu-devel] [PATCHv4 3/4] cpuid: disable pv eoi for 1.1 and older compat types, Eduardo Habkost, 2012/08/29
- [Qemu-devel] [QEMU 1.2 PATCH] i386: kvm: have a predefined set of default KVM feature bits, Eduardo Habkost, 2012/08/29
- Re: [Qemu-devel] [QEMU 1.2 PATCH] i386: kvm: have a predefined set of default KVM feature bits, Michael S. Tsirkin, 2012/08/29
- Re: [Qemu-devel] [QEMU 1.2 PATCH] i386: kvm: have a predefined set of default KVM feature bits, Marcelo Tosatti, 2012/08/29
Re: [Qemu-devel] [PATCHv4 3/4] cpuid: disable pv eoi for 1.1 and older compat types, Eduardo Habkost, 2012/08/29
[Qemu-devel] [PATCHv4 2/4] pc: refactor compat code, Michael S. Tsirkin, 2012/08/28
[Qemu-devel] [PATCHv4 4/4] kvm: get/set PV EOI MSR, Michael S. Tsirkin, 2012/08/28