Re: [PATCH 2/8] test driver: Replaced num by a constant.

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

 



On 15.09.2016 10:27, Tomáš Ryšavý wrote:
> Signed-off-by: Tomáš Ryšavý <tom.rysavy.0@xxxxxxxxx>

The commit message is a bit sparse.

> ---
>  src/test/test_driver.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/test/test_driver.c b/src/test/test_driver.c
> index 53cfa3c..bf2e80a 100644
> --- a/src/test/test_driver.c
> +++ b/src/test/test_driver.c
> @@ -1269,7 +1269,7 @@ testOpenDefault(virConnectPtr conn)
>  
>      /* Numa setup */
>      privconn->numCells = 2;
> -    for (u = 0; u < 2; ++u) {
> +    for (u = 0; u < privconn->numCells; ++u) {
>          privconn->cells[u].numCpus = 8;
>          privconn->cells[u].mem = (u + 1) * 2048 * 1024;
>      }
> 

Michal

--
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]