libvirt/src/qemu
Eric Blake d533a98ed6 virFileResolveLink: fix return value
virFileResolveLink was returning a positive value on error,
thus confusing callers that assumed failure was < 0.  The
confusion is further evidenced by callers that would have
ended up calling virReportSystemError with a negative value
instead of a valid errno.

Fixes Red Hat BZ #591363.

* src/util/util.c (virFileResolveLink): Live up to documentation.
* src/qemu/qemu_security_dac.c
(qemuSecurityDACRestoreSecurityFileLabel): Adjust callers.
* src/security/security_selinux.c
(SELinuxRestoreSecurityFileLabel): Likewise.
* src/storage/storage_backend_disk.c
(virStorageBackendDiskDeleteVol): Likewise.
2010-05-17 14:48:27 -06:00
..
libvirtd_qemu.aug Add configuration option to turn off dynamic permissions management 2010-01-21 14:00:16 +00: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_conf.c Fix a qemuDomainPCIAddressSetFree memory leak 2010-04-29 09:16:14 -04:00
qemu_conf.h Fix CDROM media change for QEMU when using -device syntax 2010-04-15 18:09:42 +01:00
qemu_driver.c qemu: Report cmdline output if VM dies early 2010-05-17 10:15:53 -04:00
qemu_driver.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
qemu_monitor_json.c Add support for NIC hotplug using netdev_add in QEMU 2010-05-14 09:16:36 -04:00
qemu_monitor_json.h Add support for NIC hotplug using netdev_add in QEMU 2010-05-14 09:16:36 -04:00
qemu_monitor_text.c Add support for NIC hotplug using netdev_add in QEMU 2010-05-14 09:16:36 -04:00
qemu_monitor_text.h Add support for NIC hotplug using netdev_add in QEMU 2010-05-14 09:16:36 -04:00
qemu_monitor.c Add support for NIC hotplug using netdev_add in QEMU 2010-05-14 09:16:36 -04:00
qemu_monitor.h Add support for NIC hotplug using netdev_add in QEMU 2010-05-14 09:16:36 -04:00
qemu_security_dac.c virFileResolveLink: fix return value 2010-05-17 14:48:27 -06:00
qemu_security_dac.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
qemu_security_stacked.c Don't reset user/group/security label on shared filesystems during migrate 2010-05-14 09:21:24 -04:00
qemu_security_stacked.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
qemu.conf Add configuration option to turn off dynamic permissions management 2010-01-21 14:00:16 +00:00
test_libvirtd_qemu.aug Add configuration option to turn off dynamic permissions management 2010-01-21 14:00:16 +00:00
THREADS.txt Release driver and domain lock when running monitor commands 2009-11-10 13:27:18 +00:00