qemu-e2k/hw
Steve Sistare 0f1db069b6 cpus: check running not RUN_STATE_RUNNING
When a vm transitions from running to suspended, runstate notifiers are
not called, so the notifiers still think the vm is running.  Hence, when
we call vm_start to restore the suspended state, we call vm_state_notify
with running=1.  However, some notifiers check for RUN_STATE_RUNNING.
They must check the running boolean instead.

No functional change.

Signed-off-by: Steve Sistare <steven.sistare@oracle.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Link: https://lore.kernel.org/r/1704312341-66640-4-git-send-email-steven.sistare@oracle.com
Signed-off-by: Peter Xu <peterx@redhat.com>
2024-01-04 09:52:42 +08:00
..
9pfs
acpi hw/acpi: propagate vcpu hotplug after switch to modern interface 2023-12-25 11:34:55 -05:00
adc
alpha
arm * Add compat machines for QEMU 9.0 2023-12-20 09:40:16 -05:00
audio
avr
block virtio-blk: Fix potential nullpointer read access in virtio_blk_data_plane_destroy 2023-12-25 11:01:01 +03:00
char
core qdev: add IOThreadVirtQueueMappingList property type 2023-12-21 22:49:28 +01:00
cpu
cris
cxl
display Fix bugs when VM shutdown with virtio-gpu unplugged 2023-12-26 04:51:07 -05:00
dma
gpio
hppa
hyperv
i2c
i386 * Add compat machines for QEMU 9.0 2023-12-20 09:40:16 -05:00
ide
input
intc hw/intc/arm_gicv3: Include missing 'qemu/error-report.h' header 2023-12-19 17:57:44 +00:00
ipack
ipmi
isa
loongarch
m68k next-cube.c: move machine MemoryRegions into NeXTState 2023-12-22 14:08:26 +01:00
mem
microblaze
mips
misc * Add compat machines for QEMU 9.0 2023-12-20 09:40:16 -05:00
net
nios2
nubus
nvme
nvram
openrisc
pci
pci-bridge
pci-host
pcmcia
ppc * Add compat machines for QEMU 9.0 2023-12-20 09:40:16 -05:00
rdma
remote
riscv
rtc
rx
s390x * Add compat machines for QEMU 9.0 2023-12-20 09:40:16 -05:00
scsi vhost-scsi: fix usage of error_reportf_err() 2023-12-26 04:51:02 -05:00
sd
sensor
sh4
smbios
sparc
sparc64
ssi
timer
tpm
tricore
ufs hw/ufs: avoid generating the same ID string for different LU devices 2023-12-05 13:57:18 +09:00
usb cpus: check running not RUN_STATE_RUNNING 2024-01-04 09:52:42 +08:00
vfio vfio: Introduce a helper function to initialize VFIODevice 2023-12-19 19:03:38 +01:00
virtio vdpa: move memory listener to vhost_vdpa_shared 2023-12-26 04:51:07 -05:00
watchdog
xen cpus: check running not RUN_STATE_RUNNING 2024-01-04 09:52:42 +08:00
xenpv
xtensa
Kconfig
meson.build