]> git.proxmox.com Git - qemu.git/commit
acpi: explicitly account for >1 device per slot
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 15 Apr 2012 09:00:52 +0000 (12:00 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 15 Apr 2012 09:17:23 +0000 (12:17 +0300)
commit54bfa546a0b5af335128ef5c477f8af9834df498
treebf9af539c14f94d22ae575f1f16f255e6497cce1
parent9290f364c1f0c0a5a2ee8e03607f4804455c0d0e
acpi: explicitly account for >1 device per slot

Slot present bit is cleared apparently for each device. Hotplug and non
hotplug devices should not mix normally, and we only set the bit when we
add a device so it should all work out, but it's more robust to
explicitly account for more than one device per slot.

Acked-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/acpi_piix4.c