exec: fix early return from ram_block_add

Enterprise / Virtualization / QEMU - Paolo Bonzini [redhat.com] - 15 March 2016 12:23 UTC

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

39c350e exec: fix early return from ram_block_add
exec.c | 2 ++
1 file changed, 2 insertions(+)

Upstream: git.qemu.org


  • Share