]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nSVM: Check that DR6[63:32] and DR7[64:32] are not set on vmrun of nested guests
authorKrish Sadhukhan <krish.sadhukhan@oracle.com>
Fri, 22 May 2020 22:19:52 +0000 (18:19 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 8 Jul 2020 20:21:41 +0000 (16:21 -0400)
commitf2d7321b16569fa30b5c0ea6b120ff6deced58b3
tree19dac418430e856b559009dad3ebc9188dc9ba20
parent6993f17a7a156f6dfab1aeba42c5f9b5b2c82304
KVM: nSVM: Check that DR6[63:32] and DR7[64:32] are not set on vmrun of nested guests

According to section "Canonicalization and Consistency Checks" in APM vol. 2
the following guest state is illegal:

    "DR6[63:32] are not zero."
    "DR7[63:32] are not zero."
    "Any MBZ bit of EFER is set."

Signed-off-by: Krish Sadhukhan <krish.sadhukhan@oracle.com>
Message-Id: <20200522221954.32131-3-krish.sadhukhan@oracle.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/nested.c