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
..
2014-04-22 12:00:20 +02:00
2014-04-07 14:51:32 +01:00
2013-12-24 18:02:18 +01:00
2014-02-03 14:04:00 +00:00
2014-05-07 14:51:21 +01:00
2014-04-18 10:33:36 +04:00
2014-05-07 14:51:21 +01:00
2014-02-14 16:22:31 +01:00
2014-03-05 03:06:46 +01:00
2014-05-07 14:51:21 +01:00
2013-09-03 12:31:07 -05:00
2014-05-07 14:51:21 +01:00
2013-08-22 19:10:27 +02:00
2014-05-07 14:51:21 +01:00
2014-05-07 14:51:21 +01:00