qemu/pci: reset device registers on bus reset
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 16 Sep 2009 10:41:09 +0000 (13:41 +0300)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 5 Oct 2009 14:32:51 +0000 (09:32 -0500)
commita8a13462ea859bb001efbb885c7a7fd9fd844a58
tree01613896ddd2c20b71d0fdc2c0eea69ec201111e
parent2605ea7a1b395337599a8fab6ce539cafebaaf37
qemu/pci: reset device registers on bus reset

Reset BARs and a couple of other registers on bus reset, as per PCI
spec.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/pci.c