]> git.ipfire.org Git - thirdparty/libvirt.git/commit
parallels: report proper error in Create/Destroy/Suspend e.t.c.
authorDmitry Guryanov <dguryanov@parallels.com>
Mon, 1 Dec 2014 15:39:01 +0000 (18:39 +0300)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 9 Dec 2014 18:42:04 +0000 (19:42 +0100)
commitab8715506facc6a6d1e08b16b32f58a4c7bcfdcb
treeaa015d63d9b1e6beb9927a2382fd235c433881f5
parentb56c07a6a18595a5ecb7339cafc485b47bba71ac
parallels: report proper error in Create/Destroy/Suspend e.t.c.

If we want to perform some operation and domain state is not suitable
for that operation, we should report error VIR_ERR_OPERATION_INVALID.

Signed-off-by: Dmitry Guryanov <dguryanov@parallels.com>
src/parallels/parallels_sdk.c
src/parallels/parallels_sdk.h