diff options
author | Paolo Bonzini | 2018-11-28 17:28:45 +0100 |
---|---|---|
committer | Paolo Bonzini | 2019-01-11 13:57:24 +0100 |
commit | 3ac7d43a6fbb5d4a3d01fc9a055c218030af3727 (patch) | |
tree | 8b7797d4607c57ff4b831a24b080d7504e7840ac /hw/display/virtio-gpu-3d.c | |
parent | memory: avoid unnecessary coalesced_io_del operations (diff) | |
download | qemu-3ac7d43a6fbb5d4a3d01fc9a055c218030af3727.tar.gz qemu-3ac7d43a6fbb5d4a3d01fc9a055c218030af3727.tar.xz qemu-3ac7d43a6fbb5d4a3d01fc9a055c218030af3727.zip |
memory: update coalesced_range on transaction_commit
The e1000 driver calls memory_region_add_coalescing but
kvm_coalesce_mmio_region is never called for those regions. The bug
dates back to the introduction of the memory region API; to fix it,
delete and re-add coalesced MMIO ranges when building the FlatViews.
Because coalesced MMIO regions apply to all address spaces, the
has_coalesced_range flag has to be changed into an int.
Fixes: 093bc2cd885e ("Hierarchical memory region API")
Reported-by: Atsushi Nemoto <atsushi.nemoto@sord.co.jp>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/display/virtio-gpu-3d.c')
0 files changed, 0 insertions, 0 deletions