Il 16/12/2013 10:57, Jan Kiszka ha scritto:
> See commit 47c1461a5.
> 
> Signed-off-by: Jan Kiszka <[email protected]>
> ---
>  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);
>  }
> +*/

I'm changing this to #if 0 ... #endif when applying.

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

Reply via email to