libvirt/src/qemu
Laine Stump 2ad04f7853 Change virFileOperation to return -errno (ie < 0) on error.
virFileOperation previously returned 0 on success, or the value of
errno on failure. Although there are other functions in libvirt that
use this convention, the preferred (and more common) convention is to
return 0 on success and -errno (or simply -1 in some cases) on
failure. This way the check for failure is always (ret < 0).

* src/util/util.c - change virFileOperation and virFileOperationNoFork to
                    return -errno on failure.

* src/storage/storage_backend.c, src/qemu/qemu_driver.c
  - change the hook functions passed to virFileOperation to return
    -errno on failure.
2010-07-21 14:32:35 -04:00
..
libvirtd_qemu.aug Disable all disk probing in QEMU driver & add config option to re-enable 2010-07-19 18:25:13 +01: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 Re-arrange PCI device address assignment to match QEMU's default 2010-07-21 11:35:21 +01:00
qemu_conf.h Explicitly represent balloon device in XML and handle PCI address 2010-07-21 11:33:11 +01:00
qemu_driver.c Change virFileOperation to return -errno (ie < 0) on error. 2010-07-21 14:32:35 -04:00
qemu_driver.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
qemu_monitor_json.c Fix potential crash in QEMU monitor JSON impl 2010-07-12 18:34:18 +01:00
qemu_monitor_json.h Fix migration in text mode and shared storage migration in json mode 2010-06-25 14:40:06 +01:00
qemu_monitor_text.c Fix migration in text mode and shared storage migration in json mode 2010-06-25 14:40:06 +01:00
qemu_monitor_text.h Fix migration in text mode and shared storage migration in json mode 2010-06-25 14:40:06 +01:00
qemu_monitor.c Avoid invoking the qemu monitor destroy callback if the constructor fails 2010-06-30 13:48:15 +01:00
qemu_monitor.h Fix migration in text mode and shared storage migration in json mode 2010-06-25 14:40:06 +01:00
qemu_security_dac.c Disable all disk probing in QEMU driver & add config option to re-enable 2010-07-19 18:25:13 +01:00
qemu_security_dac.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
qemu_security_stacked.c Pass security driver object into all security driver callbacks 2010-07-19 18:25:13 +01:00
qemu_security_stacked.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
qemu.conf Disable all disk probing in QEMU driver & add config option to re-enable 2010-07-19 18:25:13 +01:00
test_libvirtd_qemu.aug Disable all disk probing in QEMU driver & add config option to re-enable 2010-07-19 18:25:13 +01:00
THREADS.txt Release driver and domain lock when running monitor commands 2009-11-10 13:27:18 +00:00