libvirt/src/qemu
Eric Blake 285e8a1769 qemu: improve error message on failed fd transfer
First fallout of fd: migration - it looks like SELinux enforcing
_does_ require fd labeling (running uninstalled libvirtd from an
unconstrained shell had no problems, but once faked out by doing
 chcon `stat -c %C /usr/sbin/libvirtd` daemon/libvirtd
 run_init $PWD/daemon/libvirtd
to run it with the same context as an init script service, and with
SELinux enforcing, I got a rather confusing failure:
error: Failed to save domain fedora_12 to fed12.img
error: internal error unable to send TAP file handle: No file descriptor supplied via SCM_RIGHTS

This fixes the error message, then I need to figure out a subsequent
patch that does the fsetfilecon() necessary to keep things happy.
It also appears that libvirtd hangs on a failed fd transfer; I don't
know if that needs an independent fix.

* src/qemu/qemu_monitor_text.c (qemuMonitorTextSendFileHandle):
Improve message, since TAP is no longer only client.
2011-03-29 07:12:29 -06:00
..
libvirtd_qemu.aug qemu: fix augeas support for vnc_auto_unix_socket 2011-01-28 15:28:30 -07:00
qemu_audit.c audit: audit use of /dev/net/tun, /dev/tapN, /dev/vhost-net 2011-03-10 08:35:42 -07:00
qemu_audit.h audit: audit use of /dev/net/tun, /dev/tapN, /dev/vhost-net 2011-03-10 08:35:42 -07:00
qemu_bridge_filter.c Remove conn parameter from virReportSystemError 2010-02-09 01:04:54 +01:00
qemu_bridge_filter.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
qemu_capabilities.c maint: prohibit access(,X_OK) 2011-03-24 15:18:44 -06:00
qemu_capabilities.h qemu: Support vram for video of qxl type 2011-03-06 22:00:27 +08:00
qemu_cgroup.c virsh: fix memtune's help message for swap_hard_limit 2011-03-17 16:45:06 -06:00
qemu_cgroup.h audit: prepare qemu for listing vm in cgroup audits 2011-02-24 13:31:05 -07:00
qemu_command.c qemu: fix restoring a compressed save image 2011-03-28 10:26:32 -06:00
qemu_command.h audit: audit use of /dev/net/tun, /dev/tapN, /dev/vhost-net 2011-03-10 08:35:42 -07:00
qemu_conf.c qemu: Implement blkio tunable XML configuration and parsing. 2011-02-08 11:43:45 -07:00
qemu_conf.h Put <stdbool.h> into internal.h so it is available everywhere 2011-02-24 12:04:06 +00:00
qemu_domain.c build: enforce reference count checking 2011-03-24 15:29:18 -06:00
qemu_domain.h Wire up virDomainMigrateSetSpeed into QEMU driver 2011-03-22 15:53:08 +00:00
qemu_driver.c Enhance the streams helper to support plain file I/O 2011-03-29 12:17:28 +01:00
qemu_driver.h Split all QEMU process mangement code into separate file 2011-02-17 12:48:55 +00:00
qemu_hostdev.c Move QEMU hostdev helper code out of the QEMU driver 2010-12-17 13:50:21 +00:00
qemu_hostdev.h Move QEMU hostdev helper code out of the QEMU driver 2010-12-17 13:50:21 +00:00
qemu_hotplug.c Initialization error of qemuCgroupData in Qemu host usb hotplug 2011-03-23 22:10:14 +08:00
qemu_hotplug.h rename qemuDomainDetachSCSIDiskDevice to qemuDomainDetachDiskDevice 2011-03-07 11:28:15 -07:00
qemu_migration.c qemu: support fd: migration with compression 2011-03-28 10:26:33 -06:00
qemu_migration.h qemu: consolidate migration to file code 2011-03-28 10:26:33 -06:00
qemu_monitor_json.c qemu: fallback to HMP drive_add/drive_del 2011-03-22 15:03:58 +01:00
qemu_monitor_json.h qemu: Detect support for HMP passthrough 2011-03-22 15:03:57 +01:00
qemu_monitor_text.c qemu: improve error message on failed fd transfer 2011-03-29 07:12:29 -06:00
qemu_monitor_text.h qemu: consolidate duplicated monitor migration code 2011-03-14 21:57:43 -06:00
qemu_monitor.c build: enforce reference count checking 2011-03-24 15:29:18 -06:00
qemu_monitor.h build: enforce reference count checking 2011-03-24 15:29:18 -06:00
qemu_process.c docs: document recent hook additions 2011-03-28 09:51:04 -06:00
qemu_process.h Split all QEMU process mangement code into separate file 2011-02-17 12:48:55 +00:00
qemu.conf qemu: don't request cgroup ACL access for /dev/net/tun 2011-03-10 08:32:43 -07:00
test_libvirtd_qemu.aug qemu: fix augeas support for vnc_auto_unix_socket 2011-01-28 15:28:30 -07:00
THREADS.txt docs: more on qemu locking patterns 2011-02-02 09:19:31 -07:00