[Qemu-devel] [PATCH 0/2] i386: arch_capabilities fixes + migratability

Eduardo Habkost posted 2 patches 6 years, 9 months ago
Test docker-mingw@fedora passed
Test docker-clang@ubuntu passed
Test asan passed
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20190125220606.4864-1-ehabkost@redhat.com
Maintainers: Eduardo Habkost <ehabkost@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, Richard Henderson <rth@twiddle.net>, Marcelo Tosatti <mtosatti@redhat.com>
target/i386/cpu.c | 1 -
target/i386/kvm.c | 9 +++++++++
2 files changed, 9 insertions(+), 1 deletion(-)
[Qemu-devel] [PATCH 0/2] i386: arch_capabilities fixes + migratability
Posted by Eduardo Habkost 6 years, 9 months ago
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


Re: [Qemu-devel] [PATCH 0/2] i386: arch_capabilities fixes + migratability
Posted by Eduardo Habkost 6 years, 7 months ago
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
> 

-- 
Eduardo