From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LVaP9-0007PZ-DT for qemu-devel@nongnu.org; Fri, 06 Feb 2009 18:46:39 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LVaP7-0007OY-LK for qemu-devel@nongnu.org; Fri, 06 Feb 2009 18:46:38 -0500 Received: from [199.232.76.173] (port=34009 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LVaP7-0007OQ-9F for qemu-devel@nongnu.org; Fri, 06 Feb 2009 18:46:37 -0500 Received: from mail-gx0-f19.google.com ([209.85.217.19]:53441) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LVaP6-0006ao-Py for qemu-devel@nongnu.org; Fri, 06 Feb 2009 18:46:36 -0500 Received: by gxk12 with SMTP id 12so836278gxk.10 for ; Fri, 06 Feb 2009 15:46:36 -0800 (PST) Message-ID: <498CCBC6.3050000@codemonkey.ws> Date: Fri, 06 Feb 2009 17:46:14 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: [PATCH] Support diskless PC References: <498CB609.5000403@mail.berlios.de> <498CCABE.5080207@web.de> In-Reply-To: <498CCABE.5080207@web.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Jan Kiszka wrote: > Stefan Weil wrote: > >> There is no reason why Qemu should not be able to emulate >> a diskless PC. So we support it. >> > > Yeah, true! > > Acked-by: Jan Kiszka > This doesn't fix the old -hda /dev/null hacks when using -kernel. That's unnecessary even without this patch. Regards, Anthony Liguori >> 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, >> }; >> > > >