From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MTGEj-0000fC-65 for qemu-devel@nongnu.org; Tue, 21 Jul 2009 10:22:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MTGEe-0000bs-89 for qemu-devel@nongnu.org; Tue, 21 Jul 2009 10:22:32 -0400 Received: from [199.232.76.173] (port=35251 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MTGEd-0000bX-H3 for qemu-devel@nongnu.org; Tue, 21 Jul 2009 10:22:28 -0400 Received: from mail11.svc.cra.dublin.eircom.net ([159.134.118.27]:39338) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1MTGEc-0003VQ-G2 for qemu-devel@nongnu.org; Tue, 21 Jul 2009 10:22:26 -0400 From: Mark McLoughlin Date: Tue, 21 Jul 2009 15:21:59 +0100 Message-Id: <1248186119-17111-5-git-send-email-markmc@redhat.com> In-Reply-To: <1247128775.22231.15.camel@blaa> References: <1247128775.22231.15.camel@blaa> Subject: [Qemu-devel] [PATCH 4/4] Add a pc-0.11 machine type and make the pc type an alias List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Mark McLoughlin The pc-0.11 type allows users of qemu-0.11 to use a machine type which they know will remain compatible when the upgrade to qemu-0.12. Management tools may choose to canonicalize the 'pc' machine type to 'pc-0.11' so that if the 'pc' alias changes target in future versions of qemu, the machine type used will remain compatible. Signed-off-by: Mark McLoughlin --- hw/pc.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/hw/pc.c b/hw/pc.c index 0ebc329..d262b76 100644 --- a/hw/pc.c +++ b/hw/pc.c @@ -1477,7 +1477,8 @@ void cmos_set_s3_resume(void) } static QEMUMachine pc_machine = { - .name = "pc", + .name = "pc-0.11", + .alias = "pc", .desc = "Standard PC", .init = pc_init_pci, .max_cpus = 255, -- 1.6.2.5