target/i386: work around KVM_GET_MSRS bug for secondary execution controls
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 2 Jul 2019 12:58:48 +0000 (14:58 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 4 Oct 2019 16:49:20 +0000 (18:49 +0200)
commit048c95163b472ed737a2f0dca4f4e23a82ac2f8a
tree008369d5a02baff82d5c37a207b43c6525e00775
parent20a78b02d31534ae478779c2f2816c273601e869
target/i386: work around KVM_GET_MSRS bug for secondary execution controls

Some secondary controls are automatically enabled/disabled based on the CPUID
values that are set for the guest.  However, they are still available at a
global level and therefore should be present when KVM_GET_MSRS is sent to
/dev/kvm.

Unfortunately KVM forgot to include those, so fix that.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/kvm.c