]> git.proxmox.com Git - mirror_qemu.git/commit
migration: Add pss.postcopy_requested status
authorPeter Xu <peterx@redhat.com>
Thu, 31 Mar 2022 15:08:41 +0000 (11:08 -0400)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Thu, 21 Apr 2022 18:36:46 +0000 (19:36 +0100)
commitea2faf0c35f0f9d1f3d7c9c88637b9014575e02b
tree106cc161d76b631696502c5d92508b7275250314
parent7f692ec79a211d187a4edefa01396bd8ea2d02ef
migration: Add pss.postcopy_requested status

This boolean flag shows whether the current page during migration is triggered
by postcopy or not.  Then in ram_save_host_page() and deeper stack we'll be
able to have a reference on the priority of this page.

Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20220331150857.74406-4-peterx@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
migration/ram.c