From Dan Kenigsberg <danken(a)redhat.com>:
Dan Kenigsberg has submitted this change and it was merged.
Change subject: hostdev: add mdev creation
......................................................................
hostdev: add mdev creation
Mediated devices are allocated by writing uuid4 into
/sys/class/mdev_bus/$DEVICE/mdev_supported_types/$TYPE/create.
Since the operation must be done with elevated permissions, we add a
small function to supervdsm to handle that for us.
Change-Id: I7a5c7b674cab539d421cc2143db3604ca59f420c
Signed-off-by: Martin Polednik <mpolednik(a)redhat.com>
---
M lib/vdsm/supervdsm_api/virt.py
1 file changed, 33 insertions(+), 0 deletions(-)
Approvals:
Jenkins CI: Passed CI tests
Dan Kenigsberg: Looks good to me, approved
Martin Polednik: Verified
--
To view, visit
https://gerrit.ovirt.org/76118
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I7a5c7b674cab539d421cc2143db3604ca59f420c
Gerrit-PatchSet: 2
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Martin Polednik <mpolednik(a)redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken(a)redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Polednik <mpolednik(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>