[libvirt] PATCH: Generic internal API for domain XML parser/formatter
Daniel Berrange
berrange at redhat.com
Wed Jun 25 10:14:54 UTC 2008
On Wed, Jun 25, 2008 at 11:58:10AM +0200, Gerd Hoffmann wrote:
> Daniel P. Berrange wrote:
> >> IMHO it is a fundamental design flaw that dumpxml gives different
> >> results depending on whenever the domain is running or not. Hard to fix
> >> by now though :-(
> >
> > Actually there is another way to access the info - pass the flag
> > VIR_DOMAIN_XML_INACTIVE to the DumpXML method to explicitly request
> > the inactive XML.
>
> Oh, good. Has virsh a switch for that?
Not yet - it also doesn't actually work fully with current libvirt - this
is something I'm fixed with the re-factoring of the XML parsing patches
so that all drivers honour this flag fully.
Daniel
--
|: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
More information about the libvir-list
mailing list