search for: virdomainsetmetadata

Displaying 7 results from an estimated 7 matches for "virdomainsetmetadata".

Did you mean: virdomaingetmetadata
2017 Mar 06
1
Re: domain reinitalization detection
...opening <domain> markup. > In fact I wasn't even able to get any data using that function call since I don't know how to construct valid URI. Do you know any doc or examples explaining that ? Documentation might come handy: http://libvirt.org/html/libvirt-libvirt-domain.html#virDomainSetMetadata http://libvirt.org/html/libvirt-libvirt-domain.html#virDomainGetMetadata or just look into our test suite: http://libvirt.org/git/?p=libvirt.git;a=blob;f=tests/metadatatest.c;h=55dc841254bcfda0742d22580723bf4acac172b4;hb=HEAD Michal --------------------------------------------------------------...
2017 Mar 06
2
domain reinitalization detection
Hello I'm trying to find out how to detect if domain was destroyed and brought up between two time moments, let's call it reads. So far the best approach I could find is to compare domain ID from previous and current read. And this is my first question : is that reliable solution ? Or do you know any better ? And related question is how to resolve virDomainPtr into domain ID ? The
2014 Aug 06
2
Re: username and passwd after create VM from XML dump
On Tue, Aug 5, 2014 at 6:33 PM, Eric Blake <eblake@redhat.com> wrote: > On 08/05/2014 03:02 PM, Yuanzhen Gu wrote: > > Good afternoon guys, > > > > I created the VM from XML dump, > > # virsh create vm4.xml > > > > and # virsh list I can see the VM running, > > and I know the ip address for the VM, > > > > but how can I know the
2017 Mar 06
0
Re: domain reinitalization detection
...opening <domain> markup. > In fact I wasn't even able to get any data using that function call since I don't know how to construct valid URI. Do you know any doc or examples explaining that ? Documentation might come handy: http://libvirt.org/html/libvirt-libvirt-domain.html#virDomainSetMetadata http://libvirt.org/html/libvirt-libvirt-domain.html#virDomainGetMetadata or just look into our test suite: http://libvirt.org/git/?p=libvirt.git;a=blob;f=tests/metadatatest.c;h=55dc841254bcfda0742d22580723bf4acac172b4;hb=HEAD Michal
2014 Aug 06
0
Re: username and passwd after create VM from XML dump
...with dumpXML of a VM, I've tried that original VM's username and passwd via > ssh, but it didn't work. Again, libvirt could care less what passwords your guest OS uses, as passwords are not hardware, so dumpxml is unable to show you that information(well, you COULD use libvirt's virDomainSetMetadata to store custom XML that records that information, and then dumpxml would repeat back the custom XML you associated with the guest - but again, that's something you do as management, and not something libvirt tracks natively). Libguestfs knows how to introspect guest file systems, and may help...
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
2014 Aug 06
2
Re: username and passwd after create VM from XML dump
...e tried that original VM's username and passwd > via > > ssh, but it didn't work. > > Again, libvirt could care less what passwords your guest OS uses, as > passwords are not hardware, so dumpxml is unable to show you that > information(well, you COULD use libvirt's virDomainSetMetadata to store > custom XML that records that information, and then dumpxml would repeat > back the custom XML you associated with the guest - but again, that's > something you do as management, and not something libvirt tracks > natively). Libguestfs knows how to introspect guest file s...