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 <[email protected]>
---
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 <[email protected]>
Gerrit-Reviewer: Antoni Segura Puimedon <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Dan Yasny <[email protected]>
Gerrit-Reviewer: Mark Wu <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to