[Libvir] [PATCH] Miscellaneous cleanups for virNodeGetFreeMemory and virNodeGetCellsFreeMemory

Richard W.M. Jones rjones at redhat.com
Wed Nov 14 11:20:19 UTC 2007


(1) Add documentation to the hvsupport page for virNodeGetFreeMemory

(2) Fix documentation on the hvsupport page to show that the two new 
functions aren't supported in the QEMU, KVM or remote cases yet.

(3) Add DEBUG() calls to both new functions.

(4) xen_internal.c functions may now support a connection argument to 
virXenError / virXenErrorFunc.  I have modified this file so that where 
the connection is known, it is passed.  Because of the way virterror 
works, errors should always be attached to a connection if at all 
possible, otherwise there is no sane way to turn non-connection errors 
into exceptions in language bindings, and also error handling in 
threaded code won't work.

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-free-cells-tidy-up.patch
Type: text/x-patch
Size: 20882 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20071114/c1d30eaa/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/20071114/c1d30eaa/attachment-0003.bin>


More information about the libvir-list mailing list