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