[Libvirt-cim] [PATCH] Make NetworkPool use libvirt's virtual network API
Kaitlin Rupert
kaitlin at linux.vnet.ibm.com
Thu Jan 3 20:47:26 UTC 2008
Dan Smith wrote:
> # HG changeset patch
> # User Dan Smith <danms at us.ibm.com>
> # Date 1199377368 28800
> # Node ID 3a838dfd165b5f721687a2bb0b2e03bb0c8192b7
> # Parent 84b72fff34f65ad578d70fcc67b141510e34e24e
> Make NetworkPool use libvirt's virtual network API
>
I ran into one issue testing, but it seems like it might be a libvirt issue.
I was testing with a defined guest and saw the following debug output:
No bridge, taking default of `xenbr0'
Virt_DevicePool.c(224): Network `default' has bridge `virbr0'
libvir: Network error : invalid network pointer in virNetworkFree
It looks like virNetworkFree() doesn't handle NULL pointers. I think
most of the other libvirt functions do though.
Otherwise, this patch looks good.
--
Kaitlin Rupert
IBM Linux Technology Center
karupert at us.ibm.com
More information about the Libvirt-cim
mailing list