]> git.ipfire.org Git - thirdparty/libvirt.git/commit
test driver: Deny some operations on inactive domains
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 8 Nov 2016 08:49:22 +0000 (09:49 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 8 Nov 2016 12:59:44 +0000 (13:59 +0100)
commitc6b6e737e876342c8fe19a46f007492fcc6d07bf
tree4be1487344be4528f7e0b37d5664b92966448868
parentf694f3ff6bd8a94d71582adab669b0dcd1f7bfe5
test driver: Deny some operations on inactive domains

Some operations like reboot, save, coreDump, blockStats,
ifaceStats make sense iff domain is running. While it is
technically possible for our test driver to return success
regardless of domain state, we should copy constraints from
other drivers and thus deny these operations over inactive
domains.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/test/test_driver.c