summaryrefslogtreecommitdiffstats
path: root/monitor/misc.c
diff options
context:
space:
mode:
authorRaphael Norwitz2020-05-07 23:37:58 +0200
committerMichael S. Tsirkin2020-06-12 16:17:06 +0200
commit62925fd2b8b778539607b321216cd54897ddb63a (patch)
treed43e22ea85b9a5f025355f79de9e35be10f81b1e /monitor/misc.c
parentacpi: ged: rename event memory region (diff)
downloadqemu-62925fd2b8b778539607b321216cd54897ddb63a.tar.gz
qemu-62925fd2b8b778539607b321216cd54897ddb63a.tar.xz
qemu-62925fd2b8b778539607b321216cd54897ddb63a.zip
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 <raphael.norwitz@nutanix.com> Message-Id: <CAFubqFtqNZw=Y-ar3N=3zTQi6LkKg_G-7W7OOHHbE7Y1fV7HAQ@mail.gmail.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'monitor/misc.c')
0 files changed, 0 insertions, 0 deletions