aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/qapi/source.py
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2023-09-05 16:50:01 +0200
committerKevin Wolf <kwolf@redhat.com>2023-09-08 17:03:09 +0200
commit8686a689e5bc205bdba0e647c269b86756cbc504 (patch)
tree08f94b74dedb65a9c60b13316b857f8823b4e8c0 /scripts/qapi/source.py
parentblock: Make more BlockDriver definitions static (diff)
downloadqemu-8686a689e5bc205bdba0e647c269b86756cbc504.tar.xz
qemu-8686a689e5bc205bdba0e647c269b86756cbc504.zip
vmstate: Mark VMStateInfo.get/put() coroutine_mixed_fn
Migration code can run both in coroutine context (the usual case) and non-coroutine context (at least savevm/loadvm for snapshots). This also affects the VMState callbacks, and devices must consider this. Change the callback definition in VMStateInfo to be explicit about it. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Message-ID: <20230905145002.46391-2-kwolf@redhat.com> Acked-by: Peter Xu <peterx@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scripts/qapi/source.py')
0 files changed, 0 insertions, 0 deletions