aboutsummaryrefslogtreecommitdiff
path: root/hw/pc.c
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-08-21 22:52:22 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-08-21 22:52:22 +0000
commitf97572e5ab450682bebc65310b82c100e56ac219 (patch)
tree992eed3bc0a0c9398d64d6a040bbc7290d585e60 /hw/pc.c
parentfcdd25ab56ac2e78552559853591947717b34c6e (diff)
downloadqemu-f97572e5ab450682bebc65310b82c100e56ac219.zip
qemu-f97572e5ab450682bebc65310b82c100e56ac219.tar.gz
qemu-f97572e5ab450682bebc65310b82c100e56ac219.tar.bz2
PC: suggest a workaround to boot a kernel without hard-disk
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5061 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/pc.c')
-rw-r--r--hw/pc.c2
1 files changed, 1 insertions, 1 deletions
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);
}