[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Make "xm list --long" generate device configuration data from xenstore state
# HG changeset patch # User dan@xxxxxxxxxxxxxxxxxxxxxxxxxxx # Node ID b77ceb2481b330ad363b84bd1da65545f7630a92 # Parent a9c35cd7e55943176d41882a2234f03ae9f3818e Make "xm list --long" generate device configuration data from xenstore state instead of internal xend state. Signed-off-by: Dan Smith <danms@xxxxxxxxxx> diff -r a9c35cd7e559 -r b77ceb2481b3 tools/python/xen/xend/XendDomainInfo.py --- a/tools/python/xen/xend/XendDomainInfo.py Fri Dec 2 15:52:47 2005 +++ b/tools/python/xen/xend/XendDomainInfo.py Fri Dec 2 15:57:24 2005 @@ -1016,9 +1016,9 @@ if self.infoIsSet('image'): sxpr.append(['image', self.info['image']]) - if self.infoIsSet('device'): - for (_, c) in self.info['device']: - sxpr.append(['device', c]) + for cls in controllerClasses: + for config in self.getDeviceConfigurations(cls): + sxpr.append(['device', config]) def stateChar(name): if name in self.info: _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |