From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48718) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwvhK-0001qf-1H for qemu-devel@nongnu.org; Thu, 12 Nov 2015 12:30:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZwvhJ-0007ur-9T for qemu-devel@nongnu.org; Thu, 12 Nov 2015 12:30:09 -0500 Received: from mx1.redhat.com ([209.132.183.28]:37963) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwvhJ-0007ul-4n for qemu-devel@nongnu.org; Thu, 12 Nov 2015 12:30:09 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id DD2C5C0D8030 for ; Thu, 12 Nov 2015 17:30:08 +0000 (UTC) From: Eduardo Habkost Date: Thu, 12 Nov 2015 15:29:55 -0200 Message-Id: <1447349395-26716-3-git-send-email-ehabkost@redhat.com> In-Reply-To: <1447349395-26716-1-git-send-email-ehabkost@redhat.com> References: <1447349395-26716-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [PATCH 2/2] pc: Don't set hw_version on pc-*-2.5 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini , "Michael S. Tsirkin" Now that qemu_hw_version() returns a fixed "2.5+" string instead of QEMU_VERSION, we don't need to set hw_version on pc-*-2.5 explicitly. Suggested-by: Michael S. Tsirkin Signed-off-by: Eduardo Habkost --- hw/i386/pc_piix.c | 1 - hw/i386/pc_q35.c | 1 - 2 files changed, 2 deletions(-) diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c index 07d0baa..2e41efe 100644 --- a/hw/i386/pc_piix.c +++ b/hw/i386/pc_piix.c @@ -472,7 +472,6 @@ static void pc_i440fx_machine_options(MachineClass *m) static void pc_i440fx_2_5_machine_options(MachineClass *m) { pc_i440fx_machine_options(m); - m->hw_version = QEMU_VERSION; m->alias = "pc"; m->is_default = 1; } diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c index 0fdae09..133bc68 100644 --- a/hw/i386/pc_q35.c +++ b/hw/i386/pc_q35.c @@ -373,7 +373,6 @@ static void pc_q35_machine_options(MachineClass *m) static void pc_q35_2_5_machine_options(MachineClass *m) { pc_q35_machine_options(m); - m->hw_version = QEMU_VERSION; m->alias = "q35"; } -- 2.1.0