mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
Make "xm list --long" generate device configuration data from xenstore state
instead of internal xend state. Signed-off-by: Dan Smith <danms@us.ibm.com>
This commit is contained in:
1 parent
9b08b0371d
commit
60d99f7d06
1 file changed
+3
-3
@@ -1016,9 +1016,9 @@ class XendDomainInfo:
|
||||
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:
|
||||
|
||||