mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-09-24 08:25:45 +00:00
bc0010b3d1
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 |
||
---|---|---|
.. | ||
libvirtd_qemu.aug | ||
qemu_bridge_filter.c | ||
qemu_bridge_filter.h | ||
qemu_conf.c | ||
qemu_conf.h | ||
qemu_driver.c | ||
qemu_driver.h | ||
qemu_monitor_text.c | ||
qemu_monitor_text.h | ||
qemu_monitor.c | ||
qemu_monitor.h | ||
qemu.conf | ||
test_libvirtd_qemu.aug | ||
THREADS.txt |