Dan Kenigsberg has submitted this change and it was merged.

Change subject: hostdev: expose 'driver' attribute
......................................................................


hostdev: expose 'driver' attribute

Device drivers are exposed via sysfs file, and those values are exposed
in libvirt's virNodeDevice XML. Exposing driver further allows us to do
some nice things such as displaying it to the user, who can then verify

*) that GPU is correctly bound to pci-stub,
*) used devices are bound to vfio-pci or
*) kernel cmdline settings.

Additionally, since host devices are not reattached (since
2bdcf4f99e47) it is important to propagate the value further, allowing
user to reattach devices that manually if one wishes.

Change-Id: I81463100dd07a2bc4fb241f89581db2060b8982e
Signed-off-by: Martin Polednik <[email protected]>
Reviewed-on: https://gerrit.ovirt.org/55044
Continuous-Integration: Jenkins CI
Reviewed-by: Francesco Romani <[email protected]>
---
M lib/vdsm/hostdev.py
M tests/devices/data/pci_0000_00_1a_0.xml
M tests/hostdevTests.py
3 files changed, 22 insertions(+), 6 deletions(-)

Approvals:
  Jenkins CI: Passed CI tests
  Francesco Romani: Looks good to me, approved
  Martin Polednik: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I81463100dd07a2bc4fb241f89581db2060b8982e
Gerrit-PatchSet: 5
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Martin Polednik <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Francesco Romani <[email protected]>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Polednik <[email protected]>
Gerrit-Reviewer: Michal Skrivanek <[email protected]>
Gerrit-Reviewer: gerrit-hooks <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to