• D
    Centralize error reporting for URI parsing/formatting problems · 1f66c18f
    Daniel P. Berrange 提交于
    Move error reporting out of the callers, into virURIParse
    and virURIFormat, to get consistency.
    
    * include/libvirt/virterror.h, src/util/virterror.c: Add VIR_FROM_URI
    * src/util/viruri.c, src/util/viruri.h: Add error reporting
    * src/esx/esx_driver.c, src/libvirt.c, src/libxl/libxl_driver.c,
      src/lxc/lxc_driver.c, src/openvz/openvz_driver.c,
      src/qemu/qemu_driver.c, src/qemu/qemu_migration.c,
      src/remote/remote_driver.c, src/uml/uml_driver.c,
      src/vbox/vbox_tmpl.c, src/vmx/vmx.c, src/xen/xen_driver.c,
      src/xen/xend_internal.c, tests/viruritest.c: Remove error
      reporting
    Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
    1f66c18f
xen_driver.c 65.5 KB