diff options
author | David Hildenbrand <david@redhat.com> | 2023-09-26 20:57:35 +0200 |
---|---|---|
committer | David Hildenbrand <david@redhat.com> | 2023-10-12 14:15:22 +0200 |
commit | 884a0c20e624275e2dc946c4b8abba9ccbaf4167 (patch) | |
tree | 6d1d5121f5fcc73245dab90c419c5b319bf8002f /ui | |
parent | a45171dba74a376354746e0c83dc15616b42614f (diff) |
virtio-mem: Update state to match bitmap as soon as it's been migrated
It's cleaner and future-proof to just have other state that depends on the
bitmap state to be updated as soon as possible when restoring the bitmap.
So factor out informing RamDiscardListener into a functon and call it in
case of early migration right after we restored the bitmap.
Message-ID: <20230926185738.277351-16-david@redhat.com>
Reviewed-by: Maciej S. Szmigiero <maciej.szmigiero@oracle.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Diffstat (limited to 'ui')
0 files changed, 0 insertions, 0 deletions