pcie/slot: fix hotplug event
commit1553d4f1fc6b7455234de93d105e7b46bc7a0844
authorIsaku Yamahata <yamahata@valinux.co.jp>
Fri, 5 Aug 2011 09:22:03 +0000 (5 18:22 +0900)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 24 Aug 2011 12:52:54 +0000 (24 15:52 +0300)
treed53d6846915e9c4afd74eb9dcdc404179234c48b
parente8906f3529a452276375ab8e7b8598751bc33b01
pcie/slot: fix hotplug event

When slot status register is cleared, PCIDevice::exp.hpev_notify
needs to be cleared.
Otherwise, PCIDevice::exp.hpev_notify is never set to false resulting
in no more hot plug event once it's raised.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pcie.c