]> git.ipfire.org Git - thirdparty/qemu.git/commit
memory: Refactor memory_region_clear_coalescing
authorPeter Xu <peterx@redhat.com>
Tue, 20 Aug 2019 14:13:27 +0000 (22:13 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 21 Aug 2019 14:31:58 +0000 (16:31 +0200)
commit9c1aa1c235c770d84462d482460a96e957e95b9c
treeb9ff3bafe7bcb6152a2923339e1e157c832fcfb4
parentc5b35f03c3fcb8c8e0c6efc50f3a9e70dc028c00
memory: Refactor memory_region_clear_coalescing

Removing the update variable and quit earlier if the memory region has
no coalesced range.  This prepares for the next patch.

Fixes: 3ac7d43a6fbb5d4a3
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20190820141328.10009-4-peterx@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
memory.c