[Libvir] [PATCH] Add virConnectGetHostname and virConnectGetURI calls, virsh commands, and some related fixes
Richard W.M. Jones
rjones at redhat.com
Tue Jun 26 12:21:35 UTC 2007
Daniel Veillard wrote:
> On Tue, Jun 26, 2007 at 11:09:21AM +0100, Richard W.M. Jones wrote:
>> I haven't updated the Python bindings, but will do so next.
>
> it's probable that those 2 calles will be handled automatically
> since the arg is a known structure and the return value is a string.
> It's a matter of rebuilding the API xml with the new headers once applied
> and let the generator do its job.
Rather obscurely, docs/apibuild.py was having trouble parsing
remote_internal.c, which was causing the API XML files not to build,
which was causing the Python API not to build correctly either.
Attached patch corrects that, corrects a bug in python/Makefile.am
(libvirt.py not being rebuilt), and rearranges python/Makefile.am to
make it a bit easier to understand.
So now it does build Python bindings for getHostname and getURI.
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libvirt-hostname-uri-python-20070626.patch
Type: text/x-patch
Size: 3038 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070626/54e6471a/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070626/54e6471a/attachment-0003.bin>
More information about the libvir-list
mailing list