[PATCH 04/15] emulator: Exclude test_lgdt_lidt from building

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

 



See commit 47c1461a5.

Signed-off-by: Jan Kiszka <jan.kiszka@xxxxxxxxxxx>
---
 x86/emulator.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/x86/emulator.c b/x86/emulator.c
index 68d2b93..4e70e8f 100644
--- a/x86/emulator.c
+++ b/x86/emulator.c
@@ -843,6 +843,7 @@ static void test_string_io_mmio(volatile uint8_t *mem)
 	report("string_io_mmio", mmio[1023] == 0x99);
 }
 
+/* kvm doesn't allow lidt/lgdt from mmio, so the test is disabled
 static void test_lgdt_lidt(volatile uint8_t *mem)
 {
     struct descriptor_table_ptr orig, fresh = {};
@@ -871,6 +872,7 @@ static void test_lgdt_lidt(volatile uint8_t *mem)
     sti();
     report("lidt (long address)", orig.limit == fresh.limit && orig.base == fresh.base);
 }
+*/
 
 static void ss_bad_rpl(struct ex_regs *regs)
 {
-- 
1.8.1.1.298.ge7eed54

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[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