]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita9691c73a7088bbb16d37a3e91769018ad51661d
tree8c6e91264a947e41642277f4f6e226899be3708e
parent0969221cc594364f603c4f0593be16e8342a43dd
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