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] [PATCH] xend: Unlink VDI instances and VBD instances

To: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] xend: Unlink VDI instances and VBD instances
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Fri, 18 Sep 2009 14:43:55 +0100
Cc:
Delivery-date: Fri, 18 Sep 2009 06:44:42 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <A8CA3769043761kanno.masaki@xxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Aco3aRlYxoIGyUXiTja66CCXbvJhDgA/PdGD
Thread-topic: [Xen-devel] [PATCH] xend: Unlink VDI instances and VBD instances
User-agent: Microsoft-Entourage/12.20.0.090605
Applied as c/s 20221, but it produces the following backtrace, so I reverted
it:
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/xen/xend/XendCheckpoint.py", line
165, in save
    dominfo.destroy()
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line
2855, in destroy
    XendDomain.instance().remove_domain(self)
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 468,
in remove_domain
    self._remove_domain(info, domid)
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 489,
in _remove_domain
    info.unlink_xapi_instances()
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line
4054, in unlink_xapi_instances
    vdi = XendNode.instance().get_vdi_by_uuid(dev_info['VDI'])
KeyError: 'VDI'

 -- Keir


On 17/09/2009 08:32, "Masaki Kanno" <kanno.masaki@xxxxxxxxxxxxxx> wrote:

> Hi,
> 
> When VBD instances are destroyed by xm delete command, VDI instances
> keep linking to the VBD instances unilaterally.
> This patch eliminates the unilateral linking.
> 
> Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
> 
> Best regards,
>  Kan
> 



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