diff options
author | Krish Sadhukhan <krish.sadhukhan@oracle.com> | 2020-10-06 19:06:52 +0000 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-03-15 04:42:35 -0400 |
commit | 6906e06db9b04fff7d45d942c17bc9fa681322a3 (patch) | |
tree | 48e2bebbb9ce6462fd84fc36c540430bc95427ef /arch/x86/kvm/x86.h | |
parent | c08f390a75c14fb9f8115d74ae9b7a6142a659b3 (diff) |
KVM: nSVM: Add missing checks for reserved bits to svm_set_nested_state()
The path for SVM_SET_NESTED_STATE needs to have the same checks for the CPU
registers, as we have in the VMRUN path for a nested guest. This patch adds
those missing checks to svm_set_nested_state().
Suggested-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Krish Sadhukhan <krish.sadhukhan@oracle.com>
Message-Id: <20201006190654.32305-3-krish.sadhukhan@oracle.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/x86.h')
0 files changed, 0 insertions, 0 deletions