Re: [RFC] Life-cycle Management of the domain take2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Saori Fukuta wrote:
Why I did not use virDomainGetXMLDesc and virDomainDefineXML was some elements
ware lost in current XML.
For example, there is no "vncpasswd", "cpus", "localtime" in XML configuration
with virDomainGetXMLDesc. So when I set the "vncpasswd" the "vncpasswd" will
disappear after I define the XML configuration.

It sounds to me like the real solution would be to either fix virDomainGetXMLDesc to return these missing fields, or add another call to get them, or (for the password) to store it elsewhere.

How about loading the original config XML and the XML from the running domain (virDomainGetXMLDesc), and then updating the config XML with only certain fields from the running domain?

Rich.

--
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street,
Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in England and Wales
under Company Registration No. 03798903

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]