From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PATCH 04/15] emulator: Exclude test_lgdt_lidt from building Date: Tue, 17 Dec 2013 11:31:59 +0100 Message-ID: <52B0281F.8030900@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Gleb Natapov , kvm , Arthur Chunqi Li To: Jan Kiszka Return-path: Received: from mail-ea0-f174.google.com ([209.85.215.174]:57771 "EHLO mail-ea0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750972Ab3LQKcE (ORCPT ); Tue, 17 Dec 2013 05:32:04 -0500 Received: by mail-ea0-f174.google.com with SMTP id b10so2769383eae.33 for ; Tue, 17 Dec 2013 02:32:02 -0800 (PST) In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: Il 16/12/2013 10:57, Jan Kiszka ha scritto: > See commit 47c1461a5. > > Signed-off-by: Jan Kiszka > --- > 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