Xiaofeng Ling
2005-Sep-05 04:35 UTC
[Xen-devel] [PATCH][VT]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 <xiaofeng.ling@intel.com> Signed-off-by: Arun Sharma <arun.sharma@intel.com> diff -r 93d56fca5840 -r 94b8cdd147fd tools/ioemu/vl.c --- a/tools/ioemu/vl.c Mon Sep 5 04:00:27 2005 +++ b/tools/ioemu/vl.c Mon Sep 5 04:01:42 2005 @@ -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'') { _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel