• D
    Run QEMU guests as an unprivileged user · 0714b2ba
    Daniel P. Berrange 提交于
    * configure.in: Add --with-qemu-user and --with-qemu-group args
    * libvirt.spec.in: use 'qemu' for user/group for Fedora >= 12
    * qemud/libvirtd_qemu.arg, qemud/test_libvirtd_qemu.aug,
      src/qemu.conf: Add 'user' and 'group' args for configuration
    * src/Makefile.am: Create %localstatedir/cache/libvirt/qemu
    * src/qemu_conf.c, src/qemu_conf.h: Load user/group from config
    * src/qemu_driver.c: Change user ID/group ID when launching QEMU
      guests. Change user/group ownership on disks/usb/pci devs.
      Put memory dumps in %localstatedir/cache/libvirt/qemu
    * src/util.c, src/util.h: Add convenient APIs for converting
      username/groupname to user ID / group ID
    0714b2ba
qemu_conf.c 96.8 KB