From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KWJ12-0004Vs-RN for qemu-devel@nongnu.org; Thu, 21 Aug 2008 18:52:28 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KWJ11-0004VB-W8 for qemu-devel@nongnu.org; Thu, 21 Aug 2008 18:52:28 -0400 Received: from [199.232.76.173] (port=41131 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KWJ11-0004V0-Nc for qemu-devel@nongnu.org; Thu, 21 Aug 2008 18:52:27 -0400 Received: from savannah.gnu.org ([199.232.41.3]:54279 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KWJ11-0004jM-6U for qemu-devel@nongnu.org; Thu, 21 Aug 2008 18:52:27 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1KWJ0y-0003AA-9m for qemu-devel@nongnu.org; Thu, 21 Aug 2008 22:52:24 +0000 Received: from aurel32 by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1KWJ0x-00039y-Nz for qemu-devel@nongnu.org; Thu, 21 Aug 2008 22:52:23 +0000 MIME-Version: 1.0 Errors-To: aurel32 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Aurelien Jarno Message-Id: Date: Thu, 21 Aug 2008 22:52:23 +0000 Subject: [Qemu-devel] [5061] PC: suggest a workaround to boot a kernel without hard-disk 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 Revision: 5061 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5061 Author: aurel32 Date: 2008-08-21 22:52:22 +0000 (Thu, 21 Aug 2008) Log Message: ----------- PC: suggest a workaround to boot a kernel without hard-disk Signed-off-by: Aurelien Jarno Modified Paths: -------------- trunk/hw/pc.c Modified: trunk/hw/pc.c =================================================================== --- trunk/hw/pc.c 2008-08-21 22:40:00 UTC (rev 5060) +++ trunk/hw/pc.c 2008-08-21 22:52:22 UTC (rev 5061) @@ -439,7 +439,7 @@ hda = drive_get_index(IF_IDE, 0, 0); if (hda == -1) { fprintf(stderr, "A disk image must be given for 'hda' when booting " - "a Linux kernel\n"); + "a Linux kernel\n(if you really don't want it, use /dev/zero)\n"); exit(1); }