From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xiaofeng Ling Subject: [PATCH][VT]make device model can work with no ide or floop disk Date: Mon, 05 Sep 2005 12:35:23 +0800 Message-ID: <431BCB0B.6070907@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Pratt , Keir Fraser , xen-devel List-Id: xen-devel@lists.xenproject.org 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 Signed-off-by: Arun Sharma 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') {