From Dan Kenigsberg <[email protected]>:

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 <[email protected]>
---
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 <[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: gerrit-hooks <[email protected]>
_______________________________________________
vdsm-patches mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to