[libvirt] [PATCH 0/5] Make virDomainObjListFindByName run in O(1)

Michal Privoznik mprivozn at redhat.com
Fri Apr 24 11:27:39 UTC 2015


On 23.04.2015 19:14, Michal Privoznik wrote:
> As discussed here:
> 
> https://www.redhat.com/archives/libvir-list/2015-April/msg01135.html
> 
> Michal Privoznik (5):
>   virDomainObjListAddLocked: s/false/NULL/ for @oldDef
>   virDomainObjListNew: Use virObjectFreeHashData
>   Introduce virDomainObjEndAPI
>   virDomainObjListFindByName: Return referenced object
>   virDomainObjList: Introduce yet another hash table
> 
>  src/bhyve/bhyve_driver.c         |  3 +-
>  src/conf/domain_conf.c           | 83 +++++++++++++++++++++++------------
>  src/conf/domain_conf.h           |  2 +
>  src/libvirt_private.syms         |  1 +
>  src/libxl/libxl_driver.c         | 10 ++---
>  src/lxc/lxc_driver.c             |  3 +-
>  src/openvz/openvz_driver.c       | 11 +++--
>  src/parallels/parallels_driver.c |  3 +-
>  src/qemu/qemu_domain.c           |  7 +--
>  src/qemu/qemu_driver.c           | 14 ++----
>  src/test/test_driver.c           | 93 +++++++++++++---------------------------
>  src/uml/uml_driver.c             | 15 +++----
>  12 files changed, 110 insertions(+), 135 deletions(-)
> 

Thanks for all the reviews. I've pushed this.

Michal




More information about the libvir-list mailing list