search for: running_mod

Displaying 1 result from an estimated 1 matches for "running_mod".

Did you mean: running_mode
2012 Jun 20
1
update virDomainDef with xml config
...eportError(VIR_ERR_OPERATION_INVALID, "%s", _("cannot change persistent config of a transient domain")); goto endjob; } if (!(persistentDef = virDomainObjGetPersistentDef(driver->caps, vm))) goto endjob; sa_assert(persistentDef); persistentDef->running_mode = opt; ret = virDomainSaveConfig(driver->configDir, persistentDef); ret = 0; endjob: if (qemuDomainObjEndJob(driver, vm) == 0) vm = NULL; cleanup: if (vm) virDomainObjUnlock(vm); return ret; } xuanmao_001 -------------- next part -------------- An HTML attachment was s...