From Dan Kenigsberg danken@redhat.com:
Dan Kenigsberg has submitted this change and it was merged.
Change subject: virt: devices: extract common parsing function ......................................................................
virt: devices: extract common parsing function
We want all the devices to be able to initialize themselves from their XML representation. We start isolating the code which update the state from the XML, extracting one helper function that we will use in both paths.
Change-Id: I474f93e1b2e64c8212e2e087c864e3f49403b80f Signed-off-by: Francesco Romani fromani@redhat.com --- M lib/vdsm/virt/vmdevices/core.py M tests/virttests/devicexml_test.py 2 files changed, 72 insertions(+), 29 deletions(-)
Approvals: Jenkins CI: Passed CI tests Dan Kenigsberg: Looks good to me, approved Francesco Romani: Verified Milan Zamazal: Looks good to me, but someone else must approve
vdsm-patches@lists.fedorahosted.org