diff options
author | Lai Jiangshan <laijs@linux.alibaba.com> | 2020-09-29 21:16:59 -0700 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-10-21 17:48:50 -0400 |
commit | 30031c2b0574f43cc6888532b715f639afd39196 (patch) | |
tree | 7673ad60190beb86ca26f993b9381df6ccddf5a6 /arch/powerpc/kvm | |
parent | 2ed41aa631fc0251cedea3ae98802cb72079d198 (diff) | |
download | lwn-30031c2b0574f43cc6888532b715f639afd39196.tar.gz lwn-30031c2b0574f43cc6888532b715f639afd39196.zip |
KVM: x86: Let the guest own CR4.FSGSBASE
Add FSGSBASE to the set of possible guest-owned CR4 bits, i.e. let the
guest own it on VMX. KVM never queries the guest's CR4.FSGSBASE value,
thus there is no reason to force VM-Exit on FSGSBASE being toggled.
Note, because FSGSBASE is conditionally available, this is dependent on
recent changes to intercept reserved CR4 bits and to update the CR4
guest/host mask in response to guest CPUID changes.
Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Lai Jiangshan <laijs@linux.alibaba.com>
[sean: added justification in changelog]
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Message-Id: <20200930041659.28181-6-sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/powerpc/kvm')
0 files changed, 0 insertions, 0 deletions