Add support for running VMs as a different UID
|Category:||Drivers - VM|
|Target version:||Release 5.6|
Attached is two patches that run QEMU via Libvirt as separate UIDs. The UID is computed as 131072 plus the OID. The GID is also set to the same value.
This requires a patched version of libvirt, which should be available in a new release of libvirt in the future as the patches have been upstreamed.
The two patches are 4.12.1 and 4.90.5. The version 4.12.1 has been tested, while the 4.90.5 has not been tested yet.
#1 Updated by Roy Keene about 3 years ago
[[https://www.redhat.com/archives/libvir-list/2016-June/msg01005.html|Link to upstream libvirt disucssion]]