]> git.proxmox.com Git - mirror_qemu.git/commit - memory.c
clear pending status before calling memory commit
authorXu, Anthony <anthony.xu@intel.com>
Wed, 22 Mar 2017 17:53:35 +0000 (17:53 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 24 Mar 2017 10:48:48 +0000 (11:48 +0100)
commitade9c1aac5292ff698fa550adebe794c37d86cc9
tree6184eae6a097d68d98d6a92f71dcfec837001958
parent08329701199449bde497570dcfdb9c86062baf20
clear pending status before calling memory commit

clear pending status before calling memory commit.
Otherwise when memory_region_finalize is called,
memory_region_transaction_depth is 0 and
memory_region_update_pending is true.
That's wrong.

Signed-off -by: Anthony Xu <anthony.xu@intel.com>

Message-Id: <4712D8F4B26E034E80552F30A67BE0B1A2E3D5@ORSMSX112.amr.corp.intel.com>

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
memory.c