diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c index 2c8bcde10b..1ea3dcf8f7 100644 --- a/src/qemu/qemu_driver.c +++ b/src/qemu/qemu_driver.c @@ -7357,7 +7357,7 @@ static char * ignore the VIR_DOMAIN_XML_UPDATE_CPU flag. */ if (virDomainObjIsActive(vm) && - !(flags & VIR_DOMAIN_DEF_FORMAT_INACTIVE)) + !(flags & VIR_DOMAIN_XML_INACTIVE)) flags &= ~VIR_DOMAIN_XML_UPDATE_CPU; ret = qemuDomainFormatXML(driver, vm, flags);