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

[Xen-devel] [PATCH] Restore uname of blktap for managed domains

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] Restore uname of blktap for managed domains
From: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Date: Thu, 02 Jul 2009 15:14:03 +0900
Cc: dmeyer@xxxxxxxxx, rjo@xxxxxxxxx
Delivery-date: Wed, 01 Jul 2009 23:14:35 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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
Hi,

When I rebooted a host OS, I lost a managed guest domain.  Then I saw 
the following error message in xend.log.
This patch solves the problem.

[2009-07-02 21:33:44 3774] ERROR (XendDomain:340) Unable to open or parse 
config.sxp: 
/var/lib/xend/domains/6cf80f91-cdbb-2947-e057-1624ee76ff9a/config.sxp
Traceback (most recent call last):
  File "usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 332, in 
_managed_domains
    cfg = XendConfig.XendConfig(filename = cfg_file)
  File "usr/lib/python2.4/site-packages/xen/xend/XendConfig.py", line 333, in 
__init__
    self._sxp_to_xapi(sxp_obj)
  File "usr/lib/python2.4/site-packages/xen/xend/XendConfig.py", line 826, in 
_sxp_to_xapi
    cfg = self._parse_sxp(sxp_cfg)
  File "usr/lib/python2.4/site-packages/xen/xend/XendConfig.py", line 663, in 
_parse_sxp
    self.device_add(dev_type, cfg_sxp = config, target = cfg)
  File "usr/lib/python2.4/site-packages/xen/xend/XendConfig.py", line 1374, in 
device_add
    raise XendConfigError("tap:%s not a valid disk type" %
XendConfigError: Invalid Configuration: tap:/dev/xen/blktap-2/tapdev0 not a 
valid disk type

Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>

Best regards,
 Kan

Attachment: tapdisk_uname.patch
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Restore uname of blktap for managed domains, Masaki Kanno <=