[PATCH kvm-unit-tests] x86: umip: skip SMSW test because it fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



SMSW does not cause a VMEXIT and therefore emulated UMIP fails.
Comment out the test.

Suggested-by: Liran Alon <liran.alon@xxxxxxxxxx>
Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>
---
 x86/umip.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/x86/umip.c b/x86/umip.c
index cda1971..4566852 100644
--- a/x86/umip.c
+++ b/x86/umip.c
@@ -95,8 +95,11 @@ static void test_umip_gp(const char *msg)
 {
     puts(msg);
 
+#if 0
+    /* Skip this, because it cannot be emulated correctly.  */
     do_smsw();
     report("exception from smsw", gp_count == 1);
+#endif
     do_sgdt();
     report("exception from sgdt", gp_count == 1);
     do_sidt();
-- 
2.17.1




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux