libvirt/src/qemu
Daniel P. Berrange bc0010b3d1 Fix save and restore with non-privileged guests and SELinux
When running qemu:///system instance, libvirtd runs as root,
but QEMU may optionally be configured to run non-root. When
then saving a guest to a state file, the file is initially
created as root, and thus QEMU cannot write to it. It is also
missing labelling required to allow access via SELinux.

* src/qemu/qemu_driver.c: Set ownership on save image before
  running migrate command in virDomainSave impl. Call out to
  security driver to set save image labelling
* src/security/security_driver.h: Add driver APIs for setting
  and restoring saved state file labelling
* src/security/security_selinux.c: Implement saved state file
  labelling for SELinux
2009-11-11 15:24:32 +00:00
..
libvirtd_qemu.aug Move config files to align with driver sources 2009-09-21 14:41:45 +01:00
qemu_bridge_filter.c Removes the ebtablesSaveRules() function 2009-11-09 15:30:15 +01:00
qemu_bridge_filter.h add MAC address based port filtering to qemu 2009-11-03 23:44:48 +01:00
qemu_conf.c Prevent initializing ebtables if disabled in qemu.conf 2009-11-11 12:59:54 +01:00
qemu_conf.h Wrap text mode monitor APIs, pass qemuMonitorPtr directly to APIs 2009-11-10 12:15:27 +00:00
qemu_driver.c Fix save and restore with non-privileged guests and SELinux 2009-11-11 15:24:32 +00:00
qemu_driver.h Move QEMU driver to src/qemu/ 2009-09-21 14:41:43 +01:00
qemu_monitor_text.c Fix warning on make due to missing cast (int) 2009-11-11 11:30:01 +01:00
qemu_monitor_text.h Fully asynchronous monitor I/O processing 2009-11-10 13:27:18 +00:00
qemu_monitor.c Fix warning on make due to missing cast (int) 2009-11-11 11:30:01 +01:00
qemu_monitor.h Fully asynchronous monitor I/O processing 2009-11-10 13:27:18 +00:00
qemu.conf disable mac_filter config switch by default 2009-11-11 13:02:57 +01:00
test_libvirtd_qemu.aug Move config files to align with driver sources 2009-09-21 14:41:45 +01:00
THREADS.txt Release driver and domain lock when running monitor commands 2009-11-10 13:27:18 +00:00