diff options
author | Raphael Norwitz <raphael.s.norwitz@gmail.com> | 2020-05-07 17:37:58 -0400 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2020-06-09 18:46:41 +0200 |
commit | 705f7f2fce25e774e19f6853cd92ebaf909958f3 (patch) | |
tree | 2501e9cbf39a865871f56fc48f77de47a622def4 /chardev | |
parent | 49ee11555262a256afec592dfed7c5902d5eefd2 (diff) | |
download | qemu-705f7f2fce25e774e19f6853cd92ebaf909958f3.zip qemu-705f7f2fce25e774e19f6853cd92ebaf909958f3.tar.gz qemu-705f7f2fce25e774e19f6853cd92ebaf909958f3.tar.bz2 |
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>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <CAFubqFtqNZw=Y-ar3N=3zTQi6LkKg_G-7W7OOHHbE7Y1fV7HAQ@mail.gmail.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'chardev')
0 files changed, 0 insertions, 0 deletions