[libvirt] [PATCH] docs: improve documents for domxml-from-native and domxml-to-native commands

Eric Blake eblake at redhat.com
Tue Dec 20 21:11:28 UTC 2011

On 12/20/2011 03:59 AM, ajia at redhat.com wrote:
> From: Alex Jia <ajia at redhat.com>

Again a long subject line; shortened to:

docs: improve virsh domxml-*-native command docs

> * tools/virsh.pod: improve virsh man page for domxml-from-native and 
> domxml-to-native commands.
> Signed-off-by: Alex Jia <ajia at redhat.com>
> ---
>  tools/virsh.pod |    8 ++++++--
>  1 files changed, 6 insertions(+), 2 deletions(-)

Someday, I'd like an API that allows introspection; something like:

int virConnectDomainXMLNativeFormats(virConnectPtr conn, char **names,
int *nnames, unsigned int flags)

where nnames of 0 queries the number of formats, and otherwise tells the
size of *names on input and tells how many entries in *names were
allocated on output.

But until then, your fix is appropriate.  ACK and pushed.

Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20111220/8f306fa6/attachment-0001.sig>

More information about the libvir-list mailing list