summaryrefslogtreecommitdiffstats
path: root/hw/sh4/sh_pci.c
diff options
context:
space:
mode:
authorHerongguang (Stephen)2017-04-25 04:29:54 +0200
committerMichael S. Tsirkin2017-05-17 23:35:15 +0200
commit3936161f1fd72d1dfa577aaba910819c5e873260 (patch)
treea32b7a7b29b1875771abcb8571b9205b3e829dc7 /hw/sh4/sh_pci.c
parentvirtio: allow broken device to notify guest (diff)
downloadqemu-3936161f1fd72d1dfa577aaba910819c5e873260.tar.gz
qemu-3936161f1fd72d1dfa577aaba910819c5e873260.tar.xz
qemu-3936161f1fd72d1dfa577aaba910819c5e873260.zip
pci: deassert intx when pci device unrealize
If a pci device is not reset by VM (by writing into config space) and unplugged by VM, after that when VM reboots, qemu may assert: pcibus_reset: Assertion `bus->irq_count[i] == 0' failed Cc: qemu-stable@nongnu.org Signed-off-by: herongguang <herongguang.he@huawei.com> Reviewed-by: Marcel Apfelbaum <marcel@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/sh4/sh_pci.c')
0 files changed, 0 insertions, 0 deletions