diff options
| author | Xu, Anthony | 2017-03-22 18:53:35 +0100 |
|---|---|---|
| committer | Paolo Bonzini | 2017-03-24 11:48:48 +0100 |
| commit | ade9c1aac5292ff698fa550adebe794c37d86cc9 (patch) | |
| tree | 6184eae6a097d68d98d6a92f71dcfec837001958 /block/commit.c | |
| parent | qom: Fix regression with 'qom-type' (diff) | |
| download | qemu-ade9c1aac5292ff698fa550adebe794c37d86cc9.tar.gz qemu-ade9c1aac5292ff698fa550adebe794c37d86cc9.tar.xz qemu-ade9c1aac5292ff698fa550adebe794c37d86cc9.zip | |
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>
Diffstat (limited to 'block/commit.c')
0 files changed, 0 insertions, 0 deletions
