Revision e687ec01 lib/hypervisor/hv_xen.py
b/lib/hypervisor/hv_xen.py | ||
---|---|---|
163 | 163 |
@return: tuple (name, id, memory, vcpus, stat, times) |
164 | 164 |
|
165 | 165 |
""" |
166 |
xm_list = self._GetXMList(instance_name=="Domain-0")
|
|
166 |
xm_list = self._GetXMList(instance_name == "Domain-0")
|
|
167 | 167 |
result = None |
168 | 168 |
for data in xm_list: |
169 | 169 |
if data[0] == instance_name: |
Also available in: Unified diff