aboutsummaryrefslogtreecommitdiff
path: root/qemu-nbd.c
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2020-06-26 09:22:47 +0200
committerMichael S. Tsirkin <mst@redhat.com>2020-07-03 07:57:04 -0400
commit0bc7806c5a670fa0bd160caf07489a5106a67d55 (patch)
treeb2dc4633af2ee77b06d0542a90e6f4e95f69f482 /qemu-nbd.c
parent43e5495027c5b784d23bd0cd9e5a4308a43b9603 (diff)
downloadqemu-0bc7806c5a670fa0bd160caf07489a5106a67d55.zip
qemu-0bc7806c5a670fa0bd160caf07489a5106a67d55.tar.gz
qemu-0bc7806c5a670fa0bd160caf07489a5106a67d55.tar.bz2
virtio-mem: Exclude unplugged memory during migration
The content of unplugged memory is undefined and should not be migrated, ever. Exclude all unplugged memory during precopy using the precopy notifier infrastructure introduced for free page hinting in virtio-balloon. Unplugged memory is marked as "not dirty", meaning it won't be considered for migration. Cc: "Michael S. Tsirkin" <mst@redhat.com> Cc: "Dr. David Alan Gilbert" <dgilbert@redhat.com> Signed-off-by: David Hildenbrand <david@redhat.com> Message-Id: <20200626072248.78761-21-david@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'qemu-nbd.c')
0 files changed, 0 insertions, 0 deletions