qemu-e2k/hw/xen
Zhenzhong Duan c976437c7d qemu-xen: free all the pirqs for msi/msix when driver unload
Pirqs are not freed when driver unload, then new pirqs are allocated when
driver reload. This could exhaust pirqs if do it in a loop.

This patch fixes the bug by freeing pirqs when ENABLE bit is cleared in
msi/msix control reg.

There is also other way of fixing it such as reuse pirqs between driver reload,
but this way is better.
Xen-devel: http://marc.info/?l=xen-devel&m=136800120304275&w=2

Signed-off-by: Zhenzhong Duan <zhenzhong.duan@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
2014-05-07 16:14:41 +00:00
..
Makefile.objs
xen_apic.c apic: QOM'ify APIC 2013-12-24 18:02:18 +01:00
xen_backend.c
xen_devconfig.c
xen_platform.c Call pci_piix3_xen_ide_unplug from unplug_disks 2014-02-20 17:28:08 +00:00
xen_pt_config_init.c qemu-xen: free all the pirqs for msi/msix when driver unload 2014-05-07 16:14:41 +00:00
xen_pt_msi.c qemu-xen: free all the pirqs for msi/msix when driver unload 2014-05-07 16:14:41 +00:00
xen_pt.c xen_pt: Fix passthrough of device with ROM. 2014-01-17 15:29:33 +00:00
xen_pt.h
xen_pvdevice.c xen-pvdevice: make device-id property compulsory 2013-12-01 18:25:48 +00:00
xen-host-pci-device.c
xen-host-pci-device.h