qemu-trivial
[Top][All Lists]
Advanced

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

Re: [PATCH v2] Fix parameter type in vhost migration log path


From: Eric Blake
Subject: Re: [PATCH v2] Fix parameter type in vhost migration log path
Date: Thu, 7 May 2020 17:01:32 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0

On 5/7/20 4:37 PM, Raphael Norwitz wrote:
The ‘enable’ parameter to the vhost_migraion_log() function is given as

typo: migration

Presumably, the maintainer can fix this rather than needing you to send a v3...

an int, but "true"/"false" values are passed in wherever it is invoked.
Inside the function itself it is only ever compared with bool values.
Therefore the parameter value itself should be changed to bool.

Signed-off-by: Raphael Norwitz <address@hidden>
---
  hw/virtio/vhost.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]