KVM: nSVM: remove nonsensical EXITINFO1 adjustment on nested NPF
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 10 Jul 2020 20:51:01 +0000 (16:51 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 10 Jul 2020 21:01:54 +0000 (17:01 -0400)
commite8af9e9f457bc457c67538ee488580de5fde1f17
treefed3d23d972767d71ca449f861f6cc3ae4c8fb95
parent3edd68399dc155b80335244c8c2673eaa652931a
KVM: nSVM: remove nonsensical EXITINFO1 adjustment on nested NPF

The "if" that drops the present bit from the page structure fauls makes no sense.
It was added by yours truly in order to be bug-compatible with pre-existing code
and in order to make the tests pass; however, the tests are wrong.  The behavior
after this patch matches bare metal.

Reported-by: Nadav Amit <namit@vmware.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/nested.c