make device model can work with no ide or floop disk
PATCH 1/1 make device model can work with no ide or floop disk
This patch make device model can work with no ide disk or floop disk. So that unmodified guest can boot with vbd.
Signed-off-by Xiaofeng Ling <[email protected]>
Signed-off-by Arun Sharma <[email protected]>
tools/ioemu/vl.c Mon Sep 5 04:01:42 2005 renamed from tools/ioemu/vl.c Mon Sep 5 04:00:27 2005 +1 -1
@@ -2730,7 +2730,7 @@ if (!linux_boot && hd_filename[0] == '\0' && hd_filename[2] == '\0' && fd_filename[0] == '\0') - help(); + printf("warning: no disk configured!\n"); /* boot to cd by default if no hard disk */ if (hd_filename[0] == '\0' && boot_device == 'c') {