]> git.ipfire.org Git - thirdparty/libvirt.git/commit
hyperv: Fix and improve hypervListAllDomains
authorMatthias Bolte <matthias.bolte@googlemail.com>
Sun, 9 Sep 2012 15:39:40 +0000 (17:39 +0200)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Sat, 29 Sep 2012 19:06:46 +0000 (21:06 +0200)
commit9e9ea3ead9825bd1dc2c17cea4abc8c4165591d0
treef145556c7a96153521102e39ef290e75733835c1
parent5fc663d8bedc082585941e1453229cdcf5fe2880
hyperv: Fix and improve hypervListAllDomains

Use MATCH for all flags checks.

hypervMsvmComputerSystemToDomain expects the domain pointer to the
initialized to NULL.

All items in doms up to the count-th one are valid, no need to double
check before freeing them.
src/hyperv/hyperv_driver.c