Liron Aravot has uploaded a new change for review. Change subject: vm: return diskMapping on status() ......................................................................
vm: return diskMapping on status() status() is used by API.Global.getVMList and should return also the disk mapping retrieved by the guest agent. Change-Id: Ia68ff3c36ba91cde893876a16fc6702419a60d49 Signed-off-by: Liron Aravot <[email protected]> --- M vdsm/virt/vm.py 1 file changed, 3 insertions(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/00/31700/1 diff --git a/vdsm/virt/vm.py b/vdsm/virt/vm.py index 5b607b5..9b5261b 100644 --- a/vdsm/virt/vm.py +++ b/vdsm/virt/vm.py @@ -2434,8 +2434,10 @@ # used by API.Global.getVMList self.conf['status'] = self.lastStatus # Filter out any internal keys - return dict((k, v) for k, v in self.conf.iteritems() + d = dict((k, v) for k, v in self.conf.iteritems() if not k.startswith("_")) + d['diskMapping'] = self.guestAgent.guestDiskMapping + return d def getStats(self): """ -- To view, visit http://gerrit.ovirt.org/31700 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ia68ff3c36ba91cde893876a16fc6702419a60d49 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Liron Aravot <[email protected]> _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
