Change in vdsm[master]: vdsm: add functionality to detach host devices

mpolednik at redhat.com mpolednik at redhat.com
Tue Dec 2 10:35:02 UTC 2014


Martin Polednik has posted comments on this change.

Change subject: vdsm: add functionality to detach host devices
......................................................................


Patch Set 6: Verified+1

Verified manually on hostdev enabled system

# ls /dev/vfio/
vfio
# virsh nodedev-detach pci_0000_05_10_0                                                                                                                  
Device pci_0000_05_10_0 detached
# ls /dev/vfio/
22  vfio
# virsh nodedev-reattach pci_0000_05_10_0                                                                                                                                                          
Device pci_0000_05_10_0 re-attached
# ls /dev/vfio/
vfio

# echo "detach_detachable('pci_0000_05_10_0')" >> /usr/share/vdsm/hostdev.py
# python /usr/share/vdsm/hostdev.py
# ls /dev/vfio/
22  vfio

-- 
To view, visit http://gerrit.ovirt.org/32389
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I530fed56831314286942b8afa62900208812bfb5
Gerrit-PatchSet: 6
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Martin Polednik <mpolednik at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: Martin Polednik <mpolednik at redhat.com>
Gerrit-Reviewer: Michal Skrivanek <michal.skrivanek at redhat.com>
Gerrit-Reviewer: Michal Skrivanek <mskrivan at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: No


More information about the vdsm-patches mailing list