mbox series

[0/2] i386: arch_capabilities fixes + migratability

Message ID 20190125220606.4864-1-ehabkost@redhat.com (mailing list archive)
Headers show
Series i386: arch_capabilities fixes + migratability | expand

Message

Eduardo Habkost Jan. 25, 2019, 10:06 p.m. UTC
This series works around KVM bugs that affect the arch_capabilities
feature.  One bug made the feature be enabled incorrect on AMD hosts,
and another one made the feature unsafe to enable on most Intel hosts.
With the work around, we can finally make arch_capabilities a migratable
feature.

Unfortunately, the work around has the side effect of making
arch_capabilities unavailable on hosts without hardware support for the
feature until one of the KVM bugs is fixed.

Eduardo Habkost (2):
  i386: kvm: Disable arch_capabilities if MSR can't be set
  i386: Make arch_capabilities migratable

 target/i386/cpu.c | 1 -
 target/i386/kvm.c | 9 +++++++++
 2 files changed, 9 insertions(+), 1 deletion(-)

Comments

Eduardo Habkost March 20, 2019, 3:18 p.m. UTC | #1
It looks like this has slipped through the cracks.  I'm queueing
this series for -rc1.


On Fri, Jan 25, 2019 at 08:06:04PM -0200, Eduardo Habkost wrote:
> This series works around KVM bugs that affect the arch_capabilities
> feature.  One bug made the feature be enabled incorrect on AMD hosts,
> and another one made the feature unsafe to enable on most Intel hosts.
> With the work around, we can finally make arch_capabilities a migratable
> feature.
> 
> Unfortunately, the work around has the side effect of making
> arch_capabilities unavailable on hosts without hardware support for the
> feature until one of the KVM bugs is fixed.
> 
> Eduardo Habkost (2):
>   i386: kvm: Disable arch_capabilities if MSR can't be set
>   i386: Make arch_capabilities migratable
> 
>  target/i386/cpu.c | 1 -
>  target/i386/kvm.c | 9 +++++++++
>  2 files changed, 9 insertions(+), 1 deletion(-)
> 
> -- 
> 2.18.0.rc1.1.g3f1ff2140
>