[PATCH 0/2] Prefer virDomainObjListFindByUUID wherever possible

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
2.0.5

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]