]> Git Repo - qemu.git/commit
Fix parameter type in vhost migration log path
authorRaphael Norwitz <[email protected]>
Thu, 7 May 2020 21:37:58 +0000 (17:37 -0400)
committerMichael S. Tsirkin <[email protected]>
Fri, 12 Jun 2020 14:17:06 +0000 (10:17 -0400)
commit62925fd2b8b778539607b321216cd54897ddb63a
treed43e22ea85b9a5f025355f79de9e35be10f81b1e
parent32905fc95c0a082f4cb28b8076e0160b3c62c7f8
Fix parameter type in vhost migration log path

The ‘enable’ parameter to the vhost_migration_log() function is given as
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 <[email protected]>
Message-Id: <CAFubqFtqNZw=Y-ar3N=3zTQi6LkKg_G-7W7OOHHbE7Y1fV7HAQ@mail.gmail.com>
Reviewed-by: Eric Blake <[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
hw/virtio/vhost.c
This page took 0.024834 seconds and 4 git commands to generate.