qemu-e2k/hw/xen
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
..
Kconfig
meson.build
trace-events
trace.h
xen_devconfig.c
xen_pt_config_init.c
xen_pt_graphics.c
xen_pt_load_rom.c
xen_pt_msi.c
xen_pt_stub.c
xen_pt.c
xen_pt.h
xen_pvdev.c
xen-backend.c hw/xen: do not repeatedly try to create a failing backend device 2023-11-07 08:54:20 +00:00
xen-bus-helper.c
xen-bus.c hw/i386/pc: support '-nic' for xen-net-device 2023-11-07 08:54:20 +00:00
xen-host-pci-device.c
xen-host-pci-device.h
xen-hvm-common.c cpus: check running not RUN_STATE_RUNNING 2024-01-04 09:52:42 +08:00
xen-legacy-backend.c hw/xen: update Xen console to XenDevice model 2023-11-07 08:54:20 +00:00
xen-mapcache.c
xen-operations.c