Received: from eggs.gnu.org ([2001:4830:134:3::10]:34198) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnMnR-0002Kf-8D for qemu-devel@nongnu.org; Fri, 23 Sep 2016 05:29:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bnMnN-000735-3X for qemu-devel@nongnu.org; Fri, 23 Sep 2016 05:29:28 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44164) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnMnM-00072v-TT for qemu-devel@nongnu.org; Fri, 23 Sep 2016 05:29:25 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 72B0167330 for ; Fri, 23 Sep 2016 09:29:24 +0000 (UTC) References: <1474608795-23058-1-git-send-email-peterx@redhat.com> From: Paolo Bonzini Message-ID: Date: Fri, 23 Sep 2016 11:29:20 +0200 MIME-Version: 1.0 In-Reply-To: <1474608795-23058-1-git-send-email-peterx@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2] x86: ioapic: boost default version to 0x20 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Xu , qemu-devel@nongnu.org Cc: imammedo@redhat.com On 23/09/2016 07:33, Peter Xu wrote: > It's 2.8 now, and maybe it's time to switch IOAPIC default version to > 0x20. > > Signed-off-by: Peter Xu > --- > > V2: > - keep compatible for qemu version <= 2.7 [Paolo] > > hw/intc/ioapic.c | 2 +- > include/hw/compat.h | 4 ++++ > 2 files changed, 5 insertions(+), 1 deletion(-) > > diff --git a/hw/intc/ioapic.c b/hw/intc/ioapic.c > index 31791b0..fd9208f 100644 > --- a/hw/intc/ioapic.c > +++ b/hw/intc/ioapic.c > @@ -416,7 +416,7 @@ static void ioapic_realize(DeviceState *dev, Error **errp) > } > > static Property ioapic_properties[] = { > - DEFINE_PROP_UINT8("version", IOAPICCommonState, version, 0x11), > + DEFINE_PROP_UINT8("version", IOAPICCommonState, version, 0x20), > DEFINE_PROP_END_OF_LIST(), > }; > > diff --git a/include/hw/compat.h b/include/hw/compat.h > index a1d6694..46412b2 100644 > --- a/include/hw/compat.h > +++ b/include/hw/compat.h > @@ -6,6 +6,10 @@ > .driver = "virtio-pci",\ > .property = "page-per-vq",\ > .value = "on",\ > + },{\ > + .driver = "ioapic",\ > + .property = "version",\ > + .value = "0x11",\ > }, > > #define HW_COMPAT_2_6 \ > Queued, thanks. Paolo