[libvirt] [PATCH 2/3] Don't pass virConnectPtr in nwfilter 'struct domUpdateCBStruct'
Eric Blake
eblake at redhat.com
Thu Oct 3 14:08:08 UTC 2013
On 10/03/2013 07:06 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
>
> The nwfilter driver only needs a reference to its private
> state object, not a full virConnectPtr. Update the domUpdateCBStruct
> struct to have a 'void *opaque' field instead of a virConnectPtr.
>
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
> src/conf/nwfilter_conf.c | 14 +++++++++++---
> src/conf/nwfilter_conf.h | 4 ++--
> src/nwfilter/nwfilter_dhcpsnoop.c | 12 ++++++------
> src/nwfilter/nwfilter_driver.c | 5 +++--
> src/nwfilter/nwfilter_gentech_driver.c | 32 ++++++++++++++++----------------
> src/nwfilter/nwfilter_gentech_driver.h | 10 +++++-----
> src/nwfilter/nwfilter_learnipaddr.c | 6 +++---
> 7 files changed, 46 insertions(+), 37 deletions(-)
>
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/20131003/2655a013/attachment-0001.sig>
More information about the libvir-list
mailing list