sysemu: Let VMChangeStateHandler take boolean 'running' argument
commit538f049704e9b7a07eeaf326af772fdd30d89576
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Mon, 11 Jan 2021 15:20:20 +0000 (11 16:20 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Tue, 9 Mar 2021 22:13:57 +0000 (9 23:13 +0100)
treea526a5fe441343bfa49001357e65ae9028e9a7e4
parent0a38950931af0088449a6f224809acd0214d9d27
sysemu: Let VMChangeStateHandler take boolean 'running' argument

The 'running' argument from VMChangeStateHandler does not require
other value than 0 / 1. Make it a plain boolean.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Message-Id: <20210111152020.1422021-3-philmd@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
41 files changed:
accel/xen/xen-all.c
audio/audio.c
block/block-backend.c
gdbstub.c
hw/block/pflash_cfi01.c
hw/block/virtio-blk.c
hw/display/qxl.c
hw/i386/kvm/clock.c
hw/i386/kvm/i8254.c
hw/i386/kvmvapic.c
hw/i386/xen/xen-hvm.c
hw/ide/core.c
hw/intc/arm_gicv3_its_kvm.c
hw/intc/arm_gicv3_kvm.c
hw/intc/spapr_xive_kvm.c
hw/misc/mac_via.c
hw/net/e1000e_core.c
hw/nvram/spapr_nvram.c
hw/ppc/ppc.c
hw/ppc/ppc_booke.c
hw/s390x/tod-kvm.c
hw/scsi/scsi-bus.c
hw/usb/hcd-ehci.c
hw/usb/host-libusb.c
hw/usb/redirect.c
hw/vfio/migration.c
hw/virtio/virtio-rng.c
hw/virtio/virtio.c
include/sysemu/runstate.h
net/net.c
softmmu/memory.c
softmmu/runstate.c
target/arm/kvm.c
target/arm/kvm_arm.h
target/i386/kvm/kvm.c
target/i386/sev.c
target/i386/whpx/whpx-all.c
target/mips/kvm.c
target/ppc/cpu-qom.h
ui/gtk.c
ui/spice-core.c