WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [Patch] fix canonicalize-existing vbd file

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [Patch] fix canonicalize-existing vbd file
From: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
Date: Mon, 03 Dec 2007 18:44:12 +0900
Delivery-date: Mon, 03 Dec 2007 01:47:53 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

This is a patch to fix block shell of tools.
The block shell show a wrong message,
when we specify a wrong path of vbd file.

Before applying my patch:
  # ls /root/ttylinux-xen 
  ls: cannot access /root/ttylinux-xen: No such file or directory
  # xm create -c /etc/xen/ttylinux
  Using config file "/etc/xen/ttylinux".
  Error: Device 769 (vbd) could not be connected.
  File /root/ttylinux-xen is read-only, and so I will not
  mount it read-write in a guest domain.

After applying my patch:
  # xm create ttylinux
  Using config file "/etc/xen/ttylinux".
  Error: Device 769 (vbd) could not be connected. /root/ttylinux-xen does not 
exist.

Signed-off-by: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>

Best Regards,

Akio Takebe

Attachment: fix_canonicalize-existing_vbd_file.patch
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel