aboutsummaryrefslogtreecommitdiff
path: root/pc-bios/multiboot.bin
diff options
context:
space:
mode:
authorMarcel Apfelbaum <marcel.a@redhat.com>2014-01-21 18:37:51 +0200
committerMichael S. Tsirkin <mst@redhat.com>2014-01-26 13:11:45 +0200
commit306077640a652e090779498aadbeb0c605feaacd (patch)
treef8169efccfff4c0d7b2b01508d3c824fcb148f0a /pc-bios/multiboot.bin
parentb8124cecb55b3bc4e7dee0ff34b294942044d74a (diff)
hw/pci: fix error flow in pci multifunction init
Scenario: - There is a non multifunction pci device A on 00:0X.0. - Hot-plug another multifunction pci device B at 00:0X.1. - The operation will fail of course. - Try to hot-plug the B device 2-3 more times, qemu will crash. Reason: The error flow leaves the B's address space into global address spaces list, but the device object is freed. Fixed that. Signed-off-by: Marcel Apfelbaum <marcel.a@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'pc-bios/multiboot.bin')
0 files changed, 0 insertions, 0 deletions