summary refs log tree commit diff stats
path: root/scripts/qemu.py
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2017-09-11 19:49:31 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2017-09-19 14:09:33 +0200
commitf357f564be0bd45245b3ccfbbe20ace08fe83ca8 (patch)
treeeff69e932c7294f7dd1635e5705c9112377354e2 /scripts/qemu.py
parent2747e7167214f23b255b64654815aeb3f74b1296 (diff)
downloadfocaccia-qemu-f357f564be0bd45245b3ccfbbe20ace08fe83ca8.tar.gz
focaccia-qemu-f357f564be0bd45245b3ccfbbe20ace08fe83ca8.zip
kvm: we never have overlapping slots in kvm_set_phys_mem()
The way flatview handles memory sections, we will never have overlapping
memory sections in kvm.

address_space_update_topology_pass() will make sure that we will only
get called for

a) an existing memory section for which we only update parameters
(log_start, log_stop).
b) an existing memory section we want to delete (region_del)
c) a brand new memory section we want to add (region_add)

We cannot have overlapping memory sections in kvm as we will first remove
the overlapping sections and then add the ones without conflicts.

Therefore we can remove the complexity for handling prefix and suffix
slots.

Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20170911174933.20789-5-david@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/qemu.py')
0 files changed, 0 insertions, 0 deletions