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

RE: [Xen-devel] Shouldn't XendDomainInfo.py: _releaseDevices call destro

To: "Keir Fraser" <keir@xxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-devel] Shouldn't XendDomainInfo.py: _releaseDevices call destroyDevice?
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Wed, 16 May 2007 16:57:36 +0200
Delivery-date: Wed, 16 May 2007 07:56:05 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C270C8CB.F080%keir@xxxxxxxxxxxxx>
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
Thread-index: AceXskvMVkMzYNlrRCmrPOw8aBeWLgABCGsWAAGkfJAAAMGYAgACbaOg
Thread-topic: [Xen-devel] Shouldn't XendDomainInfo.py: _releaseDevices call destroyDevice?
> -----Original Message-----
> From: Keir Fraser [mailto:keir@xxxxxxxxxxxxx] 
> Sent: 16 May 2007 14:42
> To: Petersson, Mats; xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-devel] Shouldn't XendDomainInfo.py: 
> _releaseDevices call destroyDevice?
> 
> 
> 
> 
> On 16/5/07 14:23, "Petersson, Mats" <Mats.Petersson@xxxxxxx> wrote:
> 
> > Now, this brings a question: The _releaseDevices attempts 
> to remove all
> > devices as one transaction, but calling destroyDevices for 
> each device
> > would of course make it into multiple transactions. Is 
> there any reason
> > why this would make it a problem?
> 
> No. I'm pretty certain not.

Ok, so I hacked up a changed version, but it seems like the
destroyDevice() function in XendDomainInfo.py isn't working right - it's
trying to read an entry called "dev" in the backend info, and there's no
such thing in my store. Anyone have an idea of what it SHOULD read?
"frontend-id" seems a likely candidate, but I'm not sure if that's the
right thing or not.

--
Mats
> 
>  K.
> 
> 
> 
> 



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