Files
qemu/hw/usb
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
..
2021-11-02 15:55:14 +00:00
2023-08-31 19:47:43 +02:00
2020-09-18 14:12:32 -04:00
2021-01-22 14:51:35 +01:00
2022-01-13 10:22:37 +01:00
2022-10-31 20:37:58 +00:00
2022-11-08 11:13:48 +01:00
2022-11-08 11:13:48 +01:00
2023-08-31 19:47:43 +02:00
2013-02-19 12:30:05 +01:00
2021-02-17 14:29:12 +01:00
2023-08-31 19:47:43 +02:00
2023-08-31 19:47:43 +02:00
2021-03-15 17:00:58 +01:00
2023-08-31 19:47:43 +02:00