Re: [Qemu-devel] [PATCH 1/2] memory: Replace has_coalesced_range with add/del flags

2019-08-19 Thread Peter Xu
On Mon, Aug 19, 2019 at 04:30:45PM +0200, Paolo Bonzini wrote: > On 17/08/19 11:32, Peter Xu wrote: > > The previous has_coalesced_range counter has a problem in that it only > > works for additions of coalesced mmio ranges but not deletions. The > > reason is that has_coalesced_range information

Re: [Qemu-devel] [PATCH 1/2] memory: Replace has_coalesced_range with add/del flags

2019-08-19 Thread Paolo Bonzini
On 17/08/19 11:32, Peter Xu wrote: > The previous has_coalesced_range counter has a problem in that it only > works for additions of coalesced mmio ranges but not deletions. The > reason is that has_coalesced_range information can be lost when the > FlatView updates the topology again when the upd

[Qemu-devel] [PATCH 1/2] memory: Replace has_coalesced_range with add/del flags

2019-08-17 Thread Peter Xu
The previous has_coalesced_range counter has a problem in that it only works for additions of coalesced mmio ranges but not deletions. The reason is that has_coalesced_range information can be lost when the FlatView updates the topology again when the updated region is not covering the coalesced r