]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/kvm: make platform_info_test pass on AMD
authorVitaly Kuznetsov <vkuznets@redhat.com>
Mon, 10 Jun 2019 17:22:55 +0000 (19:22 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 21 Aug 2019 17:08:18 +0000 (19:08 +0200)
commite56f539eaf870ecf8f28b3069c68eb793ef067e7
tree90c4adf46ff91dc7b31bc457f8836ef4edabd75a
parentad98e1e0effee0724b5e96cda34215438a55288d
selftests/kvm: make platform_info_test pass on AMD

test_msr_platform_info_disabled() generates EXIT_SHUTDOWN but VMCB state
is undefined after that so an attempt to launch this guest again from
test_msr_platform_info_enabled() fails. Reorder the tests to make test
pass.

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