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

Re: [Xen-devel] [PATCH 10/11] make devid a type so it is initialized properly



On Tue, 2012-10-02 at 14:36 +0100, Ian Campbell wrote:
> On Fri, 2012-09-28 at 14:23 +0100, George Dunlap wrote:
> > On Thu, Sep 27, 2012 at 6:10 PM, Matthew Fioravante
> > <matthew.fioravante@xxxxxxxxxx> wrote:
> > > Previously device ids in libxl were treated as integers meaning they
> > > were being initialized to 0, which is a valid device id. This patch
> > > makes devid its own type in libxl and initializes it to -1, an invalid
> > > value.
> > >
> > > This fixes a bug where if you try to do a xl DEV-attach multiple
> > > time it will continuously try to reattach device 0 instead of
> > > generating a new device id.
> > >
> > > Signed-off-by: Matthew Fioravante <matthew.fioravante@xxxxxxxxxx>
> > 
> > Reviewed-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx>
> 
> Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>

I've applied this.



_______________________________________________
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®.