[Libvirt-cim] [PATCH 0/2] Implementation of a linked list helper

Eduardo Lima (Etrunko) eblima at linux.vnet.ibm.com
Tue Jan 17 19:24:20 UTC 2012


From: "Eduardo Lima (Etrunko)" <eblima at br.ibm.com>

This series provides a generic linked list implementation for libxkutil that is
based on the one originally developed for the libvirt domain events support
recently integrated upstream.

As test case I ported the ComputerSystemIndication provider code to use this
list implementation. In the near future it will be also used by the event loop
that I am currently working on to allow systems with libvirt older than 0.9.0
to make use of the same feature.

Other possible use cases would be to port the code of libxkutil/*_parsing* to
also use the list implementation instead of static arrays.

--
Eduardo de Barros Lima
Software Engineer, Open Virtualization
Linux Technology Center - IBM/Brazil
eblima at br.ibm.com

Eduardo Lima (Etrunko) (2):
  libxkutil: Linked list helper
  CSI: Use list helper implementation

 libxkutil/Makefile.am               |   48 +++++--
 libxkutil/list_util.c               |  231 +++++++++++++++++++++++++++++++++++
 libxkutil/list_util.h               |   76 ++++++++++++
 src/Virt_ComputerSystemIndication.c |   95 ++++-----------
 4 files changed, 367 insertions(+), 83 deletions(-)
 create mode 100644 libxkutil/list_util.c
 create mode 100644 libxkutil/list_util.h

-- 
1.7.7.5




More information about the Libvirt-cim mailing list