[libvirt] [PATCH] Update hellolibvirt to demo virGetLastErrorMessage()

Eric Blake eblake at redhat.com
Fri May 10 17:47:20 UTC 2013


On 05/10/2013 11:44 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> Update the hellolibvirt example program to demonstrate use of
> the virGetLastErrorMessage() API for quick error reporting
> 
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
>  examples/hellolibvirt/hellolibvirt.c | 64 ++++++++----------------------------
>  1 file changed, 14 insertions(+), 50 deletions(-)

Sooo much easier to use :)

ACK.

-- 
Eric Blake   eblake 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: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130510/a65c3fce/attachment-0001.sig>


More information about the libvir-list mailing list