summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kvm/x86_64/platform_info_test.c
Commit message (Collapse)AuthorAgeFilesLines
* selftests/kvm: make platform_info_test pass on AMDVitaly Kuznetsov2019-08-211-1/+1
| | | | | | | | | | 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>
* KVM: selftests: Compile code with warnings enabledThomas Huth2019-05-241-1/+0Star
| | | | | | | | | | | So far the KVM selftests are compiled without any compiler warnings enabled. That's quite bad, since we miss a lot of possible bugs this way. Let's enable at least "-Wall" and some other useful warning flags now, and fix at least the trivial problems in the code (like unused variables). Signed-off-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
* kvm: selftests: move arch-specific files to arch-specific locationsAndrew Jones2018-10-171-0/+110
Signed-off-by: Andrew Jones <drjones@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>