Received: from eggs.gnu.org ([2001:4830:134:3::10]:38127) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvXP5-0005HO-KY for qemu-devel@nongnu.org; Fri, 13 Jun 2014 15:44:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WvXOx-0006Lp-CK for qemu-devel@nongnu.org; Fri, 13 Jun 2014 15:44:47 -0400 Received: from mx1.redhat.com ([209.132.183.28]:1386) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvXOx-0006Lh-41 for qemu-devel@nongnu.org; Fri, 13 Jun 2014 15:44:39 -0400 From: Eduardo Habkost Date: Fri, 13 Jun 2014 16:43:40 -0300 Message-Id: <1402688658-22333-2-git-send-email-ehabkost@redhat.com> In-Reply-To: <1402688658-22333-1-git-send-email-ehabkost@redhat.com> References: <1402688658-22333-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [RFC v2 01/39] q35: Use PC_Q35_COMPAT_1_4 on pc-q35-1.4 compat_props List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, "Michael S. Tsirkin" Cc: Liu Ping Fan , Marcel Apfelbaum , Alexander Graf , Don Slutz , Anthony Liguori , Paolo Bonzini , Igor Mammedov , =?UTF-8?q?Andreas=20F=C3=A4rber?= pc-q35-1.4 was incorrectly using PC_COMPAT_1_4 instead of PC_Q35_COMPAT_1_4. The only side-effect was that the hpet compat property (inherited from PC_Q35_COMPAT_1_7) was missing. Without this patch, pc-q35-1.4 incorrectly initializes hpet-intcap to 0xff0104 (behavior introduced in QEMU 2.0, by commit 7a10ef51c2397ac4323bc786af02c58b413b5cd2). Signed-off-by: Eduardo Habkost --- Cc: Liu Ping Fan Cc: Michael S. Tsirkin Cc: Paolo Bonzini --- hw/i386/pc_q35.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c index 629eb2d..52920d3 100644 --- a/hw/i386/pc_q35.c +++ b/hw/i386/pc_q35.c @@ -390,7 +390,7 @@ static QEMUMachine pc_q35_machine_v1_4 = { .name = "pc-q35-1.4", .init = pc_q35_init_1_4, .compat_props = (GlobalProperty[]) { - PC_COMPAT_1_4, + PC_Q35_COMPAT_1_4, { /* end of list */ } }, }; -- 1.9.0