qemu-e2k/hw
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
..
9pfs qerror.h: Remove QERR defines that are only used once 2014-04-25 09:19:59 -04:00
acpi acpi: Assert sts array limit on AcpiCpuHotplug_add() 2014-03-18 16:08:43 +02:00
alpha exec: Make stq_*_phys input an AddressSpace 2014-02-11 22:57:12 +10:00
arm pxa2xx: avoid buffer overrun on incoming migration 2014-05-05 22:15:02 +02:00
audio PortioList: Store PortioList in device state 2014-05-05 20:58:33 +02:00
block block: Add errp to bdrv_new() 2014-04-22 12:00:20 +02:00
bt
char char/serial: Fix emptyness handling 2014-04-07 14:51:32 +01:00
core qom: Clean up fragile use of error_is_set() in set() methods 2014-05-05 19:08:49 +02:00
cpu icc_bus: QOM'ify ICC 2013-12-24 18:02:18 +01:00
cris cris: Remove the CRIS PIC glue 2014-02-03 14:04:00 +00:00
display migration/next for 20140505 2014-05-07 14:51:21 +01:00
dma PortioList: Store PortioList in device state 2014-05-05 20:58:33 +02:00
gpio zaurus: fix buffer overrun on invalid state load 2014-05-05 22:15:02 +02:00
i2c Fix grammar in comment 2014-04-18 10:33:36 +04:00
i386 SMBIOS: Build aggregate smbios tables and entry point 2014-05-05 13:14:48 +02:00
ide ahci: fix buffer overrun on invalid state load 2014-05-05 22:15:02 +02:00
input tsc210x: fix buffer overrun on invalid state load 2014-05-05 22:15:02 +02:00
intc migration/next for 20140505 2014-05-07 14:51:21 +01:00
ipack ipack: Move IndustryPack out of hw/char/ 2014-02-14 21:11:53 +01:00
isa PortioList: Store PortioList in device state 2014-05-05 20:58:33 +02:00
lm32 hw/lm32: print error if cpu model is not found 2014-02-04 19:47:39 +01:00
m68k
microblaze xilinx: Delete hw/include/xilinx.h 2014-02-26 14:54:45 +10:00
mips i2c: Rename i2c_bus to I2CBus 2014-02-14 16:22:31 +01:00
misc qom: Clean up fragile use of error_is_set() in set() methods 2014-05-05 19:08:49 +02:00
moxie moxie: fix load_elf() usage 2014-03-05 03:06:46 +01:00
net migration/next for 20140505 2014-05-07 14:51:21 +01:00
nvram vl.c: Extend get_boot_devices_list() to ignore suffixes 2014-03-20 02:40:07 +01:00
openrisc
pci vmstate: s/VMSTATE_INT32_LE/VMSTATE_INT32_POSITIVE_LE/ 2014-05-05 22:15:03 +02:00
pci-bridge pci/shpc: convert SHPC hotplug to use hotplug-handler API 2014-02-10 10:27:00 +02:00
pci-host hw/pci-host/prep: Don't reverse IO accesses on bigendian hosts 2014-04-08 18:37:45 +01:00
pcmcia qom: Add check() argument to object_property_add_link() 2014-03-19 22:23:13 +01:00
ppc PortioList: Store PortioList in device state 2014-05-05 20:58:33 +02:00
s390x s390x/css: Don't save orb in subchannel. 2014-05-07 10:17:35 +02:00
scsi virtio-scsi: fix buffer overrun on invalid state load 2014-05-05 22:15:02 +02:00
sd ssi-sd: fix buffer overrun on invalid state load 2014-05-05 22:15:03 +02:00
sh4 cputlb: Change tlb_flush() argument to CPUState 2014-03-13 19:52:47 +01:00
sparc sun4m: Add Sun CG3 framebuffer initialisation function 2014-02-27 10:01:41 +00:00
sparc64
ssi pl022: fix buffer overun on invalid state load 2014-05-05 22:15:02 +02:00
timer migration/next for 20140505 2014-05-07 14:51:21 +01:00
tpm
unicore32 console: add head to index to qemu consoles. 2014-03-05 09:52:04 +01:00
usb migration/next for 20140505 2014-05-07 14:51:21 +01:00
virtio migration/next for 20140505 2014-05-07 14:51:21 +01:00
watchdog PortioList: Store PortioList in device state 2014-05-05 20:58:33 +02:00
xen qemu-xen: free all the pirqs for msi/msix when driver unload 2014-05-07 16:14:41 +00:00
xtensa hw/xtensa: add support for ML605 and KC705 FPGA board 2014-02-24 04:47:01 +04:00
Makefile.objs hw/9pfs: Include virtio-9p-device.o in build 2014-03-04 09:20:49 +05:30