projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6986982
)
KVM: x86: update exception bitmap on CPUID changes
author
Paolo Bonzini
<pbonzini@redhat.com>
Fri, 10 Jul 2020 15:48:07 +0000
(17:48 +0200)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Fri, 10 Jul 2020 21:01:29 +0000
(17:01 -0400)
Allow vendor code to observe changes to MAXPHYADDR and start/stop
intercepting page faults.
Reviewed-by: Jim Mattson <jmattson@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/cpuid.c
patch
|
blob
|
history
diff --git
a/arch/x86/kvm/cpuid.c
b/arch/x86/kvm/cpuid.c
index edbed4f522f2a69fadad43709ec0953af96a4d1f..7d92854082a14330f373e9343dd78054618eceb1 100644
(file)
--- a/
arch/x86/kvm/cpuid.c
+++ b/
arch/x86/kvm/cpuid.c
@@
-148,6
+148,7
@@
static void kvm_vcpu_after_set_cpuid(struct kvm_vcpu *vcpu)
kvm_pmu_refresh(vcpu);
vcpu->arch.cr4_guest_rsvd_bits =
__cr4_reserved_bits(guest_cpuid_has, vcpu);
+ kvm_x86_ops.update_exception_bitmap(vcpu);
}
static int is_efer_nx(void)