KVM: selftests: Use exception fixup for #UD/#GP Hyper-V MSR/hcall tests
authorSean Christopherson <seanjc@google.com>
Wed, 8 Jun 2022 22:45:15 +0000 (22:45 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 20 Jun 2022 16:26:03 +0000 (12:26 -0400)
commitcc5851c6be864c5772944e32df3da322fe3ad415
tree7c20ee562703142cf906c3ffc10517dd33e590b1
parent9f88d062c3db13164a0d2007b88e1e430f523a06
KVM: selftests: Use exception fixup for #UD/#GP Hyper-V MSR/hcall tests

Use exception fixup to verify VMCALL/RDMSR/WRMSR fault as expected in the
Hyper-V Features test.

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20220608224516.3788274-5-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/x86_64/hyperv_features.c