diff options
author | Herongguang (Stephen) <herongguang.he@huawei.com> | 2017-04-25 10:29:54 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2017-05-18 00:35:15 +0300 |
commit | 3936161f1fd72d1dfa577aaba910819c5e873260 (patch) | |
tree | a32b7a7b29b1875771abcb8571b9205b3e829dc7 /block/qed-cluster.c | |
parent | 66453cff9e5e75344c601cd7674c8ef5fefee8a6 (diff) |
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 'block/qed-cluster.c')
0 files changed, 0 insertions, 0 deletions