[libvirt] [PATCH] Use VIR_ERR_OPERATION_INVALID when appropriated

Daniel P. Berrange berrange at redhat.com
Mon Jan 17 12:02:13 UTC 2011


On Sun, Jan 16, 2011 at 12:04:46AM +0100, Matthias Bolte wrote:
> VIR_ERR_OPERATION_INVALID means that the operation is not valid
> for the current state of the involved object.
> ---
>  src/esx/esx_driver.c        |    1 -
>  src/lxc/lxc_driver.c        |    2 +-
>  src/network/bridge_driver.c |    2 +-
>  src/opennebula/one_driver.c |    2 +-
>  src/openvz/openvz_driver.c  |    2 +-
>  src/qemu/qemu_driver.c      |    4 ++--
>  src/test/test_driver.c      |   34 +++++++++++++++++-----------------
>  src/uml/uml_driver.c        |   10 +++++-----
>  src/vmware/vmware_driver.c  |    2 +-
>  9 files changed, 29 insertions(+), 30 deletions(-)

ACK

Daniel




More information about the libvir-list mailing list