commit | 39c350ee12e733070e63d64a21bd42607366ea99 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Wed Mar 09 18:14:01 2016 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue Mar 15 18:23:33 2016 +0100 |
tree | a012cac68570005ddea9023903e562d8b15bb731 | |
parent | e1fb6471999939539ecfb21b41cbbb24047fa4dc [diff] |
exec: fix early return from ram_block_add After reporting an error, ram_block_add was going on with the registration of the RAMBlock. The visible effect is that it unlocked the ramlist mutex twice. Fixes: 528f46af6ecd1e300db18684969104d4067b867b Reviewed-by: Fam Zheng <famz@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>