[kvm-unit-tests PATCH] x86: UMIP: Fix wrong print of CR4.UMIP bit status

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

 



Reviewed-by: Krish Sadhukhan <krish.sadhukhan@xxxxxxxxxx>
Signed-off-by: Liran Alon <liran.alon@xxxxxxxxxx>
---
 x86/umip.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/x86/umip.c b/x86/umip.c
index cda19714579f..357ca3cbe065 100644
--- a/x86/umip.c
+++ b/x86/umip.c
@@ -187,8 +187,8 @@ int main()
     }
     write_cr4(read_cr4() | X86_CR4_UMIP);
 
-    test_umip_nogp("UMIP=0, CPL=0\n");
-    do_ring3(test_umip_gp, "UMIP=0, CPL=3\n");
+    test_umip_nogp("UMIP=1, CPL=0\n");
+    do_ring3(test_umip_gp, "UMIP=1, CPL=3\n");
 
     return report_summary();
 }
-- 
2.16.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