diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2018-11-28 17:28:45 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-01-11 13:57:24 +0100 |
commit | 3ac7d43a6fbb5d4a3d01fc9a055c218030af3727 (patch) | |
tree | 8b7797d4607c57ff4b831a24b080d7504e7840ac /backends/cryptodev-vhost.c | |
parent | 1f7af8042903a5eeb2f707efff34175162f75664 (diff) |
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 'backends/cryptodev-vhost.c')
0 files changed, 0 insertions, 0 deletions