From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LVYx4-0004UQ-Oe for qemu-devel@nongnu.org; Fri, 06 Feb 2009 17:13:34 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LVYx2-0004UC-Bq for qemu-devel@nongnu.org; Fri, 06 Feb 2009 17:13:33 -0500 Received: from [199.232.76.173] (port=47966 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LVYx2-0004U9-6C for qemu-devel@nongnu.org; Fri, 06 Feb 2009 17:13:32 -0500 Received: from moutng.kundenserver.de ([212.227.126.186]:59811) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LVYx1-0005j4-I2 for qemu-devel@nongnu.org; Fri, 06 Feb 2009 17:13:31 -0500 Received: from localhost ([127.0.0.1] ident=stefan) by flocke.weilnetz.de with esmtp (Exim 4.69) (envelope-from ) id 1LVYwz-0005yk-Rn for qemu-devel@nongnu.org; Fri, 06 Feb 2009 23:13:29 +0100 Message-ID: <498CB609.5000403@mail.berlios.de> Date: Fri, 06 Feb 2009 23:13:29 +0100 From: Stefan Weil MIME-Version: 1.0 Subject: [Qemu-devel] [PATCH] Support diskless PC Content-Type: multipart/mixed; boundary="------------060803090306010502090305" Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU Developers This is a multi-part message in MIME format. --------------060803090306010502090305 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Hello, there is no reason why Qemu should not be able to emulate a diskless PC. This patch allows this configuration without tricks like dummy disks. Regards Stefan Weil --------------060803090306010502090305 Content-Type: text/x-diff; name="nodisk.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="nodisk.patch" There is no reason why Qemu should not be able to emulate a diskless PC. So we support it. Signed-off-by: Stefan Weil Index: trunk/hw/pc.c =================================================================== --- trunk.orig/hw/pc.c 2009-02-06 23:08:30.000000000 +0100 +++ trunk/hw/pc.c 2009-02-06 23:08:51.000000000 +0100 @@ -1147,6 +1147,7 @@ .desc = "Standard PC", .init = pc_init_pci, .ram_require = VGA_RAM_SIZE + PC_MAX_BIOS_SIZE, + .nodisk_ok = 1, .max_cpus = 255, }; @@ -1155,5 +1156,6 @@ .desc = "ISA-only PC", .init = pc_init_isa, .ram_require = VGA_RAM_SIZE + PC_MAX_BIOS_SIZE, + .nodisk_ok = 1, .max_cpus = 1, }; --------------060803090306010502090305--