[libvirt] [PATCH] esx: Fetch snapshot info directly for filtering
Michal Privoznik
mprivozn at redhat.com
Tue Jul 12 16:20:02 UTC 2016
On 12.07.2016 05:20, Tomáš Golembiovský wrote:
> When fetching domains with virConnectListAllDomains() and when filtering
> by snapshot existence is requested the ESX driver first lists all the
> domains and then check one-by-one for snapshot existence. This process
> takes unnecessarily long time.
>
> To significantly improve the time necessary to finish the query we can
> request the snapshot related info directly when querying the list of
> domains from VMware.
>
> Signed-off-by: Tomáš Golembiovský <tgolembi at redhat.com>
> ---
> src/esx/esx_driver.c | 22 +++++++++++++++++++---
> 1 file changed, 19 insertions(+), 3 deletions(-)
>
ACKed andp pushed.
Congratulations on your first libvirt contribution!
Michal
More information about the libvir-list
mailing list