diff options
| author | David Hildenbrand <david@redhat.com> | 2021-10-11 19:53:42 +0200 |
|---|---|---|
| committer | Juan Quintela <quintela@redhat.com> | 2021-11-01 22:56:44 +0100 |
| commit | f4578df3992fa0b68a096346bb615b9c9e01128d (patch) | |
| tree | f1cb59bc45e414c14869eaaeafb72af002fe9999 /include/hw/virtio/virtio-mem.h | |
| parent | be39b4cd20695b95a479c941b2bad7d53a6971de (diff) | |
| download | focaccia-qemu-f4578df3992fa0b68a096346bb615b9c9e01128d.tar.gz focaccia-qemu-f4578df3992fa0b68a096346bb615b9c9e01128d.zip | |
virtio-mem: Drop precopy notifier
Migration code now properly handles RAMBlocks which are indirectly managed by a RamDiscardManager. No need for manual handling via the free page optimization interface, let's get rid of it. Acked-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Peter Xu <peterx@redhat.com> Signed-off-by: David Hildenbrand <david@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to '')
| -rw-r--r-- | include/hw/virtio/virtio-mem.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/hw/virtio/virtio-mem.h b/include/hw/virtio/virtio-mem.h index 9a6e348fa2..a5dd6a493b 100644 --- a/include/hw/virtio/virtio-mem.h +++ b/include/hw/virtio/virtio-mem.h @@ -65,9 +65,6 @@ struct VirtIOMEM { /* notifiers to notify when "size" changes */ NotifierList size_change_notifiers; - /* don't migrate unplugged memory */ - NotifierWithReturn precopy_notifier; - /* listeners to notify on plug/unplug activity. */ QLIST_HEAD(, RamDiscardListener) rdl_list; }; |