Re: [Qemu-devel] [PATCH] pci: deassert intx when pci device unrealize

2017-04-24 Thread Marcel Apfelbaum
On 04/25/2017 05:29 AM, Herongguang (Stephen) wrote: 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 Signed-off-by: herongguang --- hw/pci/pci.c | 1 + 1

[Qemu-devel] [PATCH] pci: deassert intx when pci device unrealize

2017-04-24 Thread Herongguang (Stephen)
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 Signed-off-by: herongguang --- hw/pci/pci.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/pci/pci.