Dan Smith
2005-Oct-04 22:07 UTC
[Xen-devel] [PATCH] Fix block-detach of non-existent device
The attached patch prevents Xend from blowing up when a user tries to detach a non-existent block device. I also added a check in xm to make sure that a numeric id is supplied, instead of a device name. This will cause xm-test 04_block-destroy_nonattached_neg to pass. Signed-off-by: Dan Smith <danms@us.ibm.com> -- Dan Smith IBM Linux Technology Center Open Hypervisor Team email: danms@us.ibm.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ewan Mellor
2005-Oct-04 23:13 UTC
Re: [Xen-devel] [PATCH] Fix block-detach of non-existent device
On Tue, Oct 04, 2005 at 03:07:54PM -0700, Dan Smith wrote:> The attached patch prevents Xend from blowing up when a user tries to > detach a non-existent block device. > > I also added a check in xm to make sure that a numeric id is supplied, > instead of a device name. > > This will cause xm-test 04_block-destroy_nonattached_neg to pass. > > Signed-off-by: Dan Smith <danms@us.ibm.com>Thanks Dan. I''ve applied that. Ewan. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel