pci: Use of qemu_put_ram_ptr in pci_add_option_rom.
authorJohn Baboval <john.baboval@virtualcomputer.com>
Tue, 22 Mar 2011 14:52:09 +0000 (14:52 +0000)
committerAlexander Graf <agraf@suse.de>
Sun, 8 May 2011 08:10:01 +0000 (10:10 +0200)
commit753e0bab19a11bede74c7677ce6938a09c84dedd
tree74f0c377a3968a87d38a3df24da571cd246a0164
parent9ee9d5b031da09bed019695599bbf46d562330fb
pci: Use of qemu_put_ram_ptr in pci_add_option_rom.

Prevent a deadlock caused by leaving a map cache bucket locked by the
preceding qemu_get_ram_ptr() call.

Signed-off-By: John Baboval <john.baboval@virtualcomputer.com>
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/pci.c