Description of problem: Currently all QEMU instances for qemu:///system are run as root. This is bad for security. We need to switch to run them under a dedicated system account eg 'kvm'. We already create TAP devices from libvirt & pass the open FD, so networking won't be a problem. This will entail having libvirt chown the disk devices prior to starting a VM, but again not a hard problem. Likely some other fun with PCI & USB device passthrough, but we'll figure that out as we encounter it.... Version-Release number of selected component (if applicable): 0.6.2 How reproducible: Always Steps to Reproduce: 1. Rnu a QEMU instance under qemu:///system 2. 3. Actual results: QEMU runs as root Expected results: QEMU does not run as root Additional info:
See also: https://fedoraproject.org/wiki/Features/VirtPrivileges
THis is in rawhide, including mgmt of PCI & USB device permissions