From 9d25ce53b68e885371285e9398791a24d607f441 Mon Sep 17 00:00:00 2001 From: aurel32 Date: Thu, 21 Aug 2008 22:52:22 +0000 Subject: [PATCH] PC: suggest a workaround to boot a kernel without hard-disk Signed-off-by: Aurelien Jarno git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5061 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/pc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/pc.c b/hw/pc.c index 880e57f..213ead8 100644 --- a/hw/pc.c +++ b/hw/pc.c @@ -439,7 +439,7 @@ static void generate_bootsect(uint32_t gpr[8], uint16_t segs[6], uint16_t ip) 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); } -- 2.7.4