]> git.proxmox.com Git - mirror_qemu.git/commit - memory.c
memory: avoid unnecessary coalesced_io_del operations
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 28 Nov 2018 16:29:45 +0000 (17:29 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 11 Jan 2019 12:57:24 +0000 (13:57 +0100)
commit1f7af8042903a5eeb2f707efff34175162f75664
tree7b84f453086f1bf4196091fef03cc0daa1010795
parent909bf76302fc0d9329c4995dac9f8c30b68da864
memory: avoid unnecessary coalesced_io_del operations

Store whether the FlatRange has had any coalesced I/O ranges applied,
and if not avoid calling coalesced_io_del.  This is useful in preparation
for the next patch, which will call coalesced_io_del when rendering
memory regions.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
memory.c