summaryrefslogtreecommitdiffstats
path: root/migration.c
diff options
context:
space:
mode:
authorZhenzhong Duan2014-05-07 15:41:48 +0200
committerStefano Stabellini2014-05-07 18:14:41 +0200
commitc976437c7dba9c7444fb41df45468968aaa326ad (patch)
tree7702267d658e721ce56838d8c3b216ffd65b40a4 /migration.c
parentexec: Limit translation limiting in address_space_translate to xen (diff)
downloadqemu-c976437c7dba9c7444fb41df45468968aaa326ad.tar.gz
qemu-c976437c7dba9c7444fb41df45468968aaa326ad.tar.xz
qemu-c976437c7dba9c7444fb41df45468968aaa326ad.zip
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>
Diffstat (limited to 'migration.c')
0 files changed, 0 insertions, 0 deletions