Change in vdsm[master]: Fix crash on vm start with netdevs w/out some info
danken at redhat.com
danken at redhat.com
Thu Apr 4 20:52:13 UTC 2013
Dan Kenigsberg has submitted this change and it was merged.
Change subject: Fix crash on vm start with netdevs w/out some info
......................................................................
Fix crash on vm start with netdevs w/out some info
Some devices, like sr-iov do not have information in the domxml to
represent name and model.
This patch fixes the issue by detecting when we are dealing with a
passed through device and setting special values for name and model.
Change-Id: I5a90fba21075ab2c7ecb0cb75f14ca07f090829e
Signed-off-by: Antoni S. Puimedon <asegurap at redhat.com>
---
M vdsm/libvirtvm.py
1 file changed, 8 insertions(+), 2 deletions(-)
Approvals:
Antoni Segura Puimedon: Verified
Dan Kenigsberg: Looks good to me, approved
--
To view, visit http://gerrit.ovirt.org/13540
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I5a90fba21075ab2c7ecb0cb75f14ca07f090829e
Gerrit-PatchSet: 4
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Antoni Segura Puimedon <asegurap at redhat.com>
Gerrit-Reviewer: Antoni Segura Puimedon <asegurap at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Dan Yasny <dyasny at redhat.com>
Gerrit-Reviewer: Mark Wu <wudxw at linux.vnet.ibm.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
More information about the vdsm-patches
mailing list