Skip to content
Commit ade9c1aa authored by Xu, Anthony's avatar Xu, Anthony Committed by Paolo Bonzini
Browse files

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: default avatarAnthony Xu <anthony.xu@intel.com>

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

Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 08329701
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment