[libvirt] [PATCH] qemu: Don't use NULL path from qemuDomainGetHostdevPath

Michal Privoznik mprivozn at redhat.com
Thu Jan 9 16:24:27 UTC 2020


On 1/9/20 3:50 PM, Jiri Denemark wrote:
> Commit v5.10.0-290-g3a4787a301 refactored qemuDomainGetHostdevPath to
> return a single path rather than an array of paths. When the function is
> called on a missing device, it will now return NULL in @path rather than
> a NULL array with zero items and the callers need to be adapted
> properly.
> 
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
>   src/qemu/qemu_cgroup.c | 32 ++++++++++++++++++--------------
>   src/qemu/qemu_domain.c |  9 +++++----
>   2 files changed, 23 insertions(+), 18 deletions(-)

Why do I have the feeling that I've seen this patch somewhere? ;-)

Reviewed-by: Michal Privoznik <mprivozn at redhat.com>

Michal




More information about the libvir-list mailing list