[BLKTAP] Fix hotplug script to check if specified file exists.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 9 Nov 2006 13:43:21 +0000 (13:43 +0000)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 9 Nov 2006 13:43:21 +0000 (13:43 +0000)
commitd857ed522cd3e7f3a978c85b01d5ba7feaec999c
tree14f99ff0aa8f8d4d51865f5091f88e08fab06e23
parent0f5ad1e3d0d372d519496a9baceddfa1504ba966
[BLKTAP] Fix hotplug script to check if specified file exists.

Now users will see the following error:

[root@bebop ~]# xm create -c 128
Using config file "/etc/xen/128".
Error: Device 51713 (tap) could not be connected.
/tmp/128.img does not exist

Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
tools/examples/blktap