Red Hat Bugzilla – Bug 500472
QEMU driver should run all QEMU VMs as non-root system account
Last modified: 2009-07-30 08:18:57 EDT
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):
Steps to Reproduce:
1. Rnu a QEMU instance under qemu:///system
QEMU runs as root
QEMU does not run as root
THis is in rawhide, including mgmt of PCI & USB device permissions