search for: virdomainsaveimagedefinexml

Displaying 5 results from an estimated 5 matches for "virdomainsaveimagedefinexml".

2017 Sep 26
1
virDomainSaveImageDefineXML
Hi: When I make snapshot use virDomainSave,before I resume the snapshot , I use virDomainSaveImageDefineXML change the domain info, like disk path. but I can't change the <devices> , for example detach a disk or interface, Can't tell me what can I change use virDomainSaveImageDefineXML before resume snapshot.
2020 Apr 24
2
domain: how long is new xml in saved file
Hi administrator, I am a cloud compute developer. I need some help from you about libvirt. I have a work to modify a image file which is saved by virDomainSave() or virDomainSaveFlags().&nbsp;So virDomainSaveImageGetXMLDesc() and virDomainSaveImageDefineXML() are APIs I choosed to do. Because I found a sentence: A save file can be inspected or modified slightly with virDomainSaveImageGetXMLDesc()&nbsp;and virDomainSaveImageDefineXML(). But an error is happened when I do like that. &nbsp;libvirt: QEMU Driver error: operation failed: new xml t...
2020 Apr 24
0
Re: domain: how long is new xml in saved file
...ch contains the domain XML and a cookie) and then there is QEMU section (where QEMU saved the guest memory). Because of this, we have to have the check you are hitting in place so that we don't accidentally overwrite the QEMU section. But, what you can do is provide the changed XML not in virDomainSaveImageDefineXML() but provide it to virDomainRestoreFlags() which doesn't check for XML length. Michal
2014 Dec 10
1
How to use blockcopy in libvirt-java
Hi, ALL, I just look for the class and method to use blockcopy in libvirt-java on this page: http://libvirt.org/sources/java/javadoc/ However, I can not find out. Libvirt-java Support blockcopy ? Thanks. Best Regards, Star Guo
2020 Apr 24
2
Re: domain: how long is new xml in saved file
...occurrs to me that given guest typical RAM sizes measuring many 100's of MB, we could easily make the header section have 1 MB of padding, and thus allow essentially arbitrary XML updates without worry about hitting a size limit. > But, what you can do is provide the changed XML not in > virDomainSaveImageDefineXML() but provide it to virDomainRestoreFlags() > which doesn't check for XML length. > > Michal > Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: ht...