[libvirt] [PATCH 0/2] Prefer virDomainObjListFindByUUID wherever possible

Michal Privoznik mprivozn at redhat.com
Fri Apr 24 08:24:13 UTC 2015

This should go on the top of [1] so that both virDomainObjListFindByUUID and
virDomainObjListFindByName are both O(1). Then, the only function left that is
more time complex is virDomainObjListFindByID. Unfortunately, we can't drop it
completely, but we can use it less.

1: https://www.redhat.com/archives/libvir-list/2015-April/msg01168.html

Michal Privoznik (2):
  uml: s/virDomainObjListFindByID/virDomainObjListFindByUUID/
  libxl: s/virDomainObjListFindByID/virDomainObjListFindByUUID/

 src/libxl/libxl_domain.c | 2 +-
 src/uml/uml_driver.c     | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)


More information about the libvir-list mailing list