]> git.ipfire.org Git - thirdparty/libvirt.git/commit
lxc: Check domain is active/inactive as required by operation
authorJiri Denemark <jdenemar@redhat.com>
Mon, 3 May 2010 12:04:44 +0000 (14:04 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 4 May 2010 11:36:56 +0000 (13:36 +0200)
commiteca81e08be2ca7fa322b91983e4aa65664341c47
treef094686350256e50cb8564517d2d16dae14e107b
parentb94b72b45798f11ca860bab2954edcdaf3bdc22d
lxc: Check domain is active/inactive as required by operation

Report VIR_ERR_OPERATION_INVALID when operation which requires running
domain is called on inactive domain and vice versa.
src/lxc/lxc_driver.c