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

[Xen-changelog] [xen-unstable] xend: pass-through: cleanupDevice: move and remove recently added vslot entry



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1245148600 -3600
# Node ID c7fabc081498f09b35d1956105644034f60f6bdb
# Parent  dce4d6840db1283bfa155d7ce6b82930c528f36f
xend: pass-through: cleanupDevice: move and remove recently added vslot entry

Signed-off-by: Simon Horman <horms@xxxxxxxxxxxx>
---
 tools/python/xen/xend/server/pciif.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r dce4d6840db1 -r c7fabc081498 tools/python/xen/xend/server/pciif.py
--- a/tools/python/xen/xend/server/pciif.py     Tue Jun 16 11:36:03 2009 +0100
+++ b/tools/python/xen/xend/server/pciif.py     Tue Jun 16 11:36:40 2009 +0100
@@ -540,7 +540,7 @@ class PciController(DevController):
                 # In HVM case, I/O resources are disabled in ioemu.
                 self.cleanupOneDevice(domain, bus, slot, func)
                 # Remove xenstore nodes.
-                list = ['dev', 'vdev', 'state', 'uuid']
+                list = ['dev', 'vdev', 'state', 'uuid', 'vslot']
                 if self.readBackend(devid, 'opts-%i' % i) is not None:
                     list.append('opts')
                 for key in list:
@@ -550,7 +550,7 @@ class PciController(DevController):
                 if new_num_devs == i + 1:
                     continue
 
-                list = ['dev', 'vdev', 'state', 'uuid', 'opts']
+                list = ['dev', 'vdev', 'state', 'uuid', 'opts', 'vslot']
                 for key in list:
                     tmp = self.readBackend(devid, '%s-%i' % (key, i))
                     if tmp is None:

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