summary refs log tree commit diff stats
path: root/hw/pci.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2010-10-25 07:46:47 +0200
committerMichael S. Tsirkin <mst@redhat.com>2010-10-27 19:01:59 +0200
commit6bde6aaac6f2af14557ef65f5eb053cb135ca173 (patch)
tree4dfc51485e7b1e40587ff9ec520a5479bb068f35 /hw/pci.c
parentac0cdda347abee6c1aa8a08a7441fc52c6d7badc (diff)
downloadfocaccia-qemu-6bde6aaac6f2af14557ef65f5eb053cb135ca173.tar.gz
focaccia-qemu-6bde6aaac6f2af14557ef65f5eb053cb135ca173.zip
pcie: clean up hot plug notification
Simplify logic for hotplug notification, by tracking state of the
logical interrupt condition.  We then simply use this variable to make
the interrupt decision, according to spec.

API is made cleaner as we no longer force users to pass in
old slot control value.

Includes fixes by Isaku Yamahata.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Diffstat (limited to 'hw/pci.c')
0 files changed, 0 insertions, 0 deletions