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