[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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@xxxxxxxxx>
Signed-off-by: Arun Sharma <arun.sharma@xxxxxxxxx>

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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.