summary refs log tree commit diff stats
path: root/scripts/xml-preprocess.py
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2023-09-26 20:57:35 +0200
committerDavid Hildenbrand <david@redhat.com>2023-10-12 14:15:22 +0200
commit884a0c20e624275e2dc946c4b8abba9ccbaf4167 (patch)
tree6d1d5121f5fcc73245dab90c419c5b319bf8002f /scripts/xml-preprocess.py
parenta45171dba74a376354746e0c83dc15616b42614f (diff)
downloadfocaccia-qemu-884a0c20e624275e2dc946c4b8abba9ccbaf4167.tar.gz
focaccia-qemu-884a0c20e624275e2dc946c4b8abba9ccbaf4167.zip
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 'scripts/xml-preprocess.py')
0 files changed, 0 insertions, 0 deletions