summaryrefslogtreecommitdiffstats
path: root/hw/arm
diff options
context:
space:
mode:
authorPeter Xu2022-01-19 09:09:18 +0100
committerJuan Quintela2022-01-28 15:38:23 +0100
commita1fe28df7547120bc3ac8bc4c3d1565d4cf7905e (patch)
tree6a6d1a744b0a3e8ab395ed090f68263458acf10d /hw/arm
parentmigration: Enable UFFD_FEATURE_THREAD_ID even without blocktime feat (diff)
downloadqemu-a1fe28df7547120bc3ac8bc4c3d1565d4cf7905e.tar.gz
qemu-a1fe28df7547120bc3ac8bc4c3d1565d4cf7905e.tar.xz
qemu-a1fe28df7547120bc3ac8bc4c3d1565d4cf7905e.zip
migration: Add postcopy_has_request()
Add a helper to detect whether postcopy has pending request. Since at it, cleanup the code a bit, e.g. in unqueue_page() we shouldn't need to check it again on queue empty because we're the only one (besides cleanup code, which should never run during this process) that will take a request off the list, so the request list can only grow but not shrink under the hood. Signed-off-by: Peter Xu <peterx@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'hw/arm')
0 files changed, 0 insertions, 0 deletions