]> git.proxmox.com Git - mirror_qemu.git/commit
migration/ram: Factor out check for advised postcopy
authorDavid Hildenbrand <david@redhat.com>
Tue, 17 Jan 2023 11:22:46 +0000 (12:22 +0100)
committerJuan Quintela <quintela@redhat.com>
Mon, 6 Feb 2023 18:22:56 +0000 (19:22 +0100)
commit80fe315c384153af957ee94d43d08b90ad1d5ef7
treefee3d8aead49158a2420aa3626065f88cd3a8043
parent508f7988fd221f1f66c3f8a025c8a2dadac0af01
migration/ram: Factor out check for advised postcopy

Let's factor out this check, to be used in virtio-mem context next.

While at it, fix a spelling error in a related comment.

Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>S
Signed-off-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
include/migration/misc.h
migration/migration.c
migration/ram.c