]> git.proxmox.com Git - mirror_qemu.git/commit - hw/virtio/virtio.c
hw/virtio: Let virtqueue_map_iovec() use a boolean 'is_write' argument
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Wed, 19 Feb 2020 18:19:53 +0000 (19:19 +0100)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Thu, 20 Feb 2020 13:47:08 +0000 (14:47 +0100)
commit22953364f4f1f8fd27e08a02d480492be6c9960b
tree3399c02bcbd7a96339efcd02332fb3fd98b5931b
parent9842a9cfdddfdc983f2ec09772a896be10c7373e
hw/virtio: Let virtqueue_map_iovec() 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/virtio.c