Dan Kenigsberg has submitted this change and it was merged.

Change subject: hostdev: fix creation and deletion of multiple udev rules
......................................................................


hostdev: fix creation and deletion of multiple udev rules

When attaching multiple devices from the same group, each of the
devices needs to be detached and then later reattached to the host.
The udev rule creation is hooked into this routine to give qemu access to
the /dev/vfio endpoint. This patch corrects behaviour of udev if the file
already exists or does not exist due to creation or deletion of VM.

Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1099760
Change-Id: I83fffb2f6e42cc1746f30ca2b63c5d594de014e5
Signed-off-by: Martin Polednik <mpoled...@redhat.com>
Reviewed-on: https://gerrit.ovirt.org/38208
Reviewed-by: Dan Kenigsberg <dan...@redhat.com>
---
M vdsm/hostdev.py
M vdsm/supervdsmServer
2 files changed, 39 insertions(+), 14 deletions(-)

Approvals:
  Dan Kenigsberg: Looks good to me, approved
  Martin Polednik: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I83fffb2f6e42cc1746f30ca2b63c5d594de014e5
Gerrit-PatchSet: 9
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Martin Polednik <mpoled...@redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <dan...@redhat.com>
Gerrit-Reviewer: Francesco Romani <from...@redhat.com>
Gerrit-Reviewer: Ido Barkan <ibar...@redhat.com>
Gerrit-Reviewer: Martin Betak <mbe...@redhat.com>
Gerrit-Reviewer: Martin Polednik <mpoled...@redhat.com>
Gerrit-Reviewer: Michal Skrivanek <michal.skriva...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
vdsm-patches mailing list
vdsm-patches@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to