[PATCH 01/48] qemu: Drop misleading comment for qemuDomainQueryWakeupSuspendSupport()

Ján Tomko jtomko at redhat.com
Tue Nov 8 08:47:45 UTC 2022


On a Tuesday in 2022, Michal Privoznik wrote:
>The was an attempt to document the retvals for
>qemuDomainQueryWakeupSuspendSupport(). However, it's misleading
>because in reality, the function can return nothing but 0 or -1,
>but the comment implies retval of 1 too.
>
>Since the set of possible return values complies with our
>unwritten rule (0 for success, -1 for error), there's no real
>value in having the comment and as such can be dropped.
>
>Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
>---
> src/qemu/qemu_driver.c | 1 -
> 1 file changed, 1 deletion(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano


More information about the libvir-list mailing list