hotplug: safely iterate bus's sibling list while removing a device
authorMark McLoughlin <markmc@redhat.com>
Thu, 8 Oct 2009 18:58:18 +0000 (19:58 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 15 Oct 2009 14:32:00 +0000 (09:32 -0500)
commit9ad60dd91559e71044c65733a411bd63bea6a3f3
treec20539c14a5a834af2feaa123360e9918d932ccf
parentc74a10f1c7adb91d4418001bb7a57560ea77aaaa
hotplug: safely iterate bus's sibling list while removing a device

Without this, I'm seeing a segfault when unpluging a NIC.

Cc: Gerd Hoffmann <kraxel@redhat.com>
Patchworks-ID: 35519
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/acpi.c