mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-11 16:00:50 -07:00
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> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| meson.build | ||
| trace-events | ||
| trace.h | ||
| xen-backend.c | ||
| xen-bus-helper.c | ||
| xen-bus.c | ||
| xen-host-pci-device.c | ||
| xen-host-pci-device.h | ||
| xen-hvm-common.c | ||
| xen-legacy-backend.c | ||
| xen-mapcache.c | ||
| xen-operations.c | ||
| xen_devconfig.c | ||
| xen_pt.c | ||
| xen_pt.h | ||
| xen_pt_config_init.c | ||
| xen_pt_graphics.c | ||
| xen_pt_load_rom.c | ||
| xen_pt_msi.c | ||
| xen_pt_stub.c | ||
| xen_pvdev.c | ||