[libvirt] [PATCH] hyperv: Fix and improve hypervListAllDomains

Michal Privoznik mprivozn at redhat.com
Mon Sep 10 07:25:24 UTC 2012


On 09.09.2012 17:42, Matthias Bolte wrote:
> 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.
> ---
> 
> I could no runtime-test this because I've have trouble getting my
> Hyper-V setup working again.
> 
>  src/hyperv/hyperv_driver.c |   22 +++++++++++++---------
>  1 files changed, 13 insertions(+), 9 deletions(-)
> 

ACK

Michal




More information about the libvir-list mailing list