Let address_space_rw() calls pass a boolean 'is_write' argument
commit1ccda935d4fcc82a4371dc23d660197b0a6b6951
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Wed, 19 Feb 2020 19:14:26 +0000 (19 20:14 +0100)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Thu, 20 Feb 2020 13:47:08 +0000 (20 14:47 +0100)
treeddbd0053b78e82f3fc720309ced539330c6d372f
parentae5883abec539e63f0cf7bf7aa5f44c9b62568e2
Let address_space_rw() calls pass a boolean 'is_write' argument

Since its introduction in commit ac1970fbe8, address_space_rw()
takes a boolean 'is_write' argument. Fix the codebase by using
an explicit boolean type.

This commit was produced with the included Coccinelle script
scripts/coccinelle/exec_rw_const.

Inspired-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
exec.c
hw/net/dp8393x.c
hw/net/i82596.c
hw/net/lasi_i82596.c
scripts/coccinelle/exec_rw_const.cocci
target/i386/hvf/vmx.h
target/i386/hvf/x86_mmu.c