[libvirt] [PATCH 1/4] test_driver: implement virDomainAddIOThread

Erik Skultety eskultet at redhat.com
Thu Jul 25 13:54:29 UTC 2019


On Tue, Jul 23, 2019 at 12:17:54PM +0200, Ilias Stamatis wrote:
> Signed-off-by: Ilias Stamatis <stamatis.iliass at gmail.com>
> ---
...

> +
> +    if (VIR_ALLOC(iothrid) < 0)
> +        goto cleanup;
> +
> +    iothrid->iothread_id = iothread_id;
> +
> +    if (VIR_APPEND_ELEMENT_COPY(def->iothreadids, def->niothreadids, iothrid) < 0)
> +        goto cleanup;

virDomainIOThreadIDAdd could be used ^here,

Reviewed-by: Erik Skultety <eskultet at redhat.com>




More information about the libvir-list mailing list