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

[Xen-changelog] [xen-unstable] xend: Consider ioemu devices for inactive managed domains



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1253089358 -3600
# Node ID 6f719ff43b42f178a0853174e0732a8c420e7be3
# Parent  efec419f6d3e943e69c69e89434a81a692160a4a
xend: Consider ioemu devices for inactive managed domains

Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
---
 tools/python/xen/xend/XendDomainInfo.py |    3 +++
 1 files changed, 3 insertions(+)

diff -r efec419f6d3e -r 6f719ff43b42 tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py   Wed Sep 16 09:21:56 2009 +0100
+++ b/tools/python/xen/xend/XendDomainInfo.py   Wed Sep 16 09:22:38 2009 +0100
@@ -3636,6 +3636,9 @@ class XendDomainInfo:
             
             config['VDI'] = config.get('VDI', '')
             config['device'] = config.get('dev', '')
+            if config['device'].startswith('ioemu:'):
+                _, vbd_device = config['device'].split(':', 1)
+                config['device'] = vbd_device
             if ':' in config['device']:
                 vbd_name, vbd_type = config['device'].split(':', 1)
                 config['device'] = vbd_name

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


 


Rackspace

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