This is just an proof of concept of what has been agreed on here:
https://www.redhat.com/archives/libvir-list/2016-November/msg00285.html
There is still a lot of to be done:
- set up seclabels
- implement hot(un-)plug
- implement other devices, not just disks
I'm sending these in a hope that somebody will at least take a quick look. I'm
not looking for a code cleanliness (but if you find some issues feel free to
raise them), more than design confirmation. If I'm going in wrong direction I'd
rather stop now before digging any deeper.
I think you're doing broadly the right thing - the only significant problem
is the /dev/pts issue I mention.
Regards,
Daniel
--
|: