KVM: selftests: enlightened VMPTRLD with an incorrect GPA
authorVitaly Kuznetsov <vkuznets@redhat.com>
Mon, 9 Mar 2020 15:52:16 +0000 (16:52 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 16 Mar 2020 17:19:32 +0000 (18:19 +0100)
commit6d05a965addbea9c95eed7ab66594fd4fdf33e4c
tree8c6e91264a947e41642277f4f6e226899be3708e
parent41b0552aa6931a633589f76981fad7850f3ecfe5
KVM: selftests: enlightened VMPTRLD with an incorrect GPA

Check that guest doesn't hang when an invalid eVMCS GPA is specified.
Testing that #UD is injected would probably be better but selftests lack
the infrastructure currently.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/x86_64/evmcs_test.c