virtio-mem: Drop precopy notifier
commitf4578df3992fa0b68a096346bb615b9c9e01128d
authorDavid Hildenbrand <david@redhat.com>
Mon, 11 Oct 2021 17:53:42 +0000 (11 19:53 +0200)
committerJuan Quintela <quintela@redhat.com>
Mon, 1 Nov 2021 21:56:44 +0000 (1 22:56 +0100)
treef1cb59bc45e414c14869eaaeafb72af002fe9999
parentbe39b4cd20695b95a479c941b2bad7d53a6971de
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>
hw/virtio/virtio-mem.c
include/hw/virtio/virtio-mem.h