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

Re: [Xen-devel] Avoid said the /dev/xvd* is already defined after open a vhd file failed



On Fri, 2014-03-28 at 14:02 +0800, æä wrote:
> On Fri, Mar 28, 2014 at 12:46 AM, Ian Campbell <Ian.Campbell@xxxxxxxxxx> 
> wrote:
> > On Tue, 2014-03-25 at 10:05 +0200, Matt Wilson wrote:
> >> > > From 9f45c734af00a1af71f7cd69f0473474bcd739da Mon Sep 17 00:00:00 2001
> >> > > From: Yi Li <peteryili@xxxxxxxxxxx>
> >> > > Date: Wed, 19 Mar 2014 22:54:16 +0800
> >> > > Subject: [PATCH] Avoid said the /dev/xvd* is already defined after
> >> > > open a vhd file failed
> >> > >
> >> > > For example:
> >> > > [root@dom0_134_103 ~]# xm block-attach 0
> >> > > tap2:tapdisk:vhd:/root/liyi***.vhd /dev/xvdz  w
> >> > > Error: ('create', '-avhd:/root/liyi***.vhd') failed (512  )
> >> > > Usage: xm block-attach <Domain> <BackDev> <FrontDev> <Mode> 
> >> > > [BackDomain]
> >> > > Create a new virtual block device.
> >> > >
> >> > > [root@dom0_134_103 ~]# xm block-attach 0
> >> > > tap2:tapdisk:vhd:/root/liyi.vhd /dev/xvdz  w
> >> > > Error: The device "/dev/xvdz" is already defined
> >> > > Usage: xm block-attach <Domain> <BackDev> <FrontDev> <Mode> 
> >> > > [BackDomain]
> >> > >
> >> > > Create a new virtual block device.
> >> > >
> >> > > Signed-off-by: Yi Li <peteryili@xxxxxxxxxxx>
> >>
> >> Acked-by: Matt Wilson <msw@xxxxxxxxxx>
> >
> > The patch was whitespace damanged, I think I've applied the correct
> > thing. Please check.
> i have check it, and using  the subject:
>  [PATCH v2] Xend: handle TapdiskException when creat device

Sorry, but I had no way to know that that was a follow up to this one,
and neither did Matt I suppose.

Anyway, I've applied this one, if the contents is wrong please let us
know by sending a follow up patch or by requesting a revert and pointing
to the correct patch.

Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

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