hw/virtio: Let vhost_memory_map() use a boolean 'is_write' argument
commitb897a47450d6058d0acf2fe70ee90ea8fc65cb51
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Wed, 19 Feb 2020 18:18:45 +0000 (19 19:18 +0100)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Thu, 20 Feb 2020 13:47:08 +0000 (20 14:47 +0100)
treec4c626a987dd994adeeebeeabd835c0de05b7720
parent22953364f4f1f8fd27e08a02d480492be6c9960b
hw/virtio: Let vhost_memory_map() use a boolean 'is_write' argument

The 'is_write' argument is either 0 or 1.
Convert it to a boolean type.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
hw/virtio/vhost.c