Re: [libvirt] [PATCH] test driver: Deny some operations on inactive domains

2016-11-09 Thread Martin Kletzander
On Tue, Nov 08, 2016 at 09:53:20AM +0100, Michal Privoznik wrote: 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

[libvirt] [PATCH] test driver: Deny some operations on inactive domains

2016-11-08 Thread Michal Privoznik
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