[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 01/25] memory: Do not update coalesced IO range in th
From: |
Paolo Bonzini |
Subject: |
[Qemu-devel] [PULL 01/25] memory: Do not update coalesced IO range in the case of NOP |
Date: |
Sat, 9 Mar 2019 08:47:54 +0100 |
From: Jagannathan Raman <address@hidden>
Do not add/del coalesced IO ranges in the case where the
same FlatRanges are present in both old and new FlatViews
Fixes: 3ac7d43a6fbb ("memory: update coalesced_range on transaction_commit")
Signed-off-by: Jagannathan Raman <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
---
memory.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/memory.c b/memory.c
index 61d66e4..e49369d 100644
--- a/memory.c
+++ b/memory.c
@@ -932,9 +932,7 @@ static void address_space_update_topology_pass(AddressSpace
*as,
} else if (frold && frnew && flatrange_equal(frold, frnew)) {
/* In both and unchanged (except logging may have changed) */
- if (!adding) {
- flat_range_coalesced_io_del(frold, as);
- } else {
+ if (adding) {
MEMORY_LISTENER_UPDATE_REGION(frnew, as, Forward, region_nop);
if (frnew->dirty_log_mask & ~frold->dirty_log_mask) {
MEMORY_LISTENER_UPDATE_REGION(frnew, as, Forward,
log_start,
@@ -946,7 +944,6 @@ static void address_space_update_topology_pass(AddressSpace
*as,
frold->dirty_log_mask,
frnew->dirty_log_mask);
}
- flat_range_coalesced_io_add(frnew, as);
}
++iold;
--
1.8.3.1
- [Qemu-devel] [PULL 00/25] Misc patches for QEMU 4.0 soft freeze, Paolo Bonzini, 2019/03/09
- [Qemu-devel] [PULL 01/25] memory: Do not update coalesced IO range in the case of NOP,
Paolo Bonzini <=
- [Qemu-devel] [PULL 03/25] hw/i386/pc: run the multiboot loader before the PVH loader, Paolo Bonzini, 2019/03/09
- [Qemu-devel] [PULL 02/25] vfio-pci: enable by default, Paolo Bonzini, 2019/03/09
- [Qemu-devel] [PULL 04/25] block/iscsi: Restrict Linux-specific code, Paolo Bonzini, 2019/03/09
- [Qemu-devel] [PULL 08/25] i386: extended the cpuid_level when Intel PT is enabled, Paolo Bonzini, 2019/03/09
- [Qemu-devel] [PULL 07/25] target-i386: add kvm stubs to user-mode emulators, Paolo Bonzini, 2019/03/09
- [Qemu-devel] [PULL 14/25] build: remove unnecessary assignments from Makefile.target, Paolo Bonzini, 2019/03/09
- [Qemu-devel] [PULL 12/25] update copyright notice, Paolo Bonzini, 2019/03/09
- [Qemu-devel] [PULL 19/25] scsi-disk: Fix crash if request is invaild or disk is no medium, Paolo Bonzini, 2019/03/09
- [Qemu-devel] [PULL 11/25] lsi: check if SIGP bit is already set in Wait reselect, Paolo Bonzini, 2019/03/09
- [Qemu-devel] [PULL 20/25] lsi: use ldn_le_p()/stn_le_p(), Paolo Bonzini, 2019/03/09