On Tue, Apr 17, 2018 at 10:13:31PM +0000, Clementine Hayat wrote:
Signed-off-by: Clementine Hayat <clem(a)lse.epita.fr>
---
src/lxc/lxc_driver.c | 60 +++++++++-----------------------------------
1 file changed, 12 insertions(+), 48 deletions(-)
lxcDomainMemoryStats can also use it:
src/lxc/lxc_driver.c:5169: if (!virDomainObjIsActive(vm)) {
src/lxc/lxc_driver.c-5170- virReportError(VIR_ERR_OPERATION_INVALID,
"%s",
src/lxc/lxc_driver.c-5171- _("domain is not active"));
src/lxc/lxc_driver.c-5172- goto endjob;
src/lxc/lxc_driver.c-5173- }
It's not a one-to-one replacement, but 'active' and 'running' are
close
enough.
Jano