search for: qemuddomainsetcustomopt

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

2012 Jun 20
1
update virDomainDef with xml config
...ry size or cpu number then apply it with virtManager. the xml config was changed. but there is no field in the xml what I added. I guest the virDomainDef member in virDomainObjPtr wasn't update. I have no idea, can you give me some ideas? thanks! here is my code in qemu_driver.c: static int qemudDomainSetCustomOptions(virDomainPtr dom, char *opt) { struct qemud_driver *driver = dom->conn->privateData; virDomainObjPtr vm; virDomainDefPtr persistentDef = NULL; int ret = -1; qemuDriverLock(driver); vm = virDomainFindByUUID(&driver->domains, dom->uuid); qemuDriverU...