Martin Polednik has uploaded a new change for review.

Change subject: virt: log skipped devices
......................................................................

virt: log skipped devices

Since hostdev passthrough doesn't require all of the devices in the
same iommu group to be assigned to VM but they still have to be
detached, it might help future debugging to actually log skipped
devices.

Change-Id: I8b5bb6c930b825500e8a798ff157d90ac15b8f31
Signed-off-by: Martin Polednik <[email protected]>
---
M vdsm/virt/vm.py
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/33/42433/1

diff --git a/vdsm/virt/vm.py b/vdsm/virt/vm.py
index ef36cd7..063bc3a 100644
--- a/vdsm/virt/vm.py
+++ b/vdsm/virt/vm.py
@@ -1584,6 +1584,7 @@
                 try:
                     deviceXML = dev.getXML().toxml(encoding='utf-8')
                 except vmdevices.core.SkipDevice:
+                    self.log.info('Skipping device %s.', dev.device)
                     continue
 
                 if getattr(dev, "custom", {}):


-- 
To view, visit https://gerrit.ovirt.org/42433
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8b5bb6c930b825500e8a798ff157d90ac15b8f31
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Martin Polednik <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to