[PATCH] Input: xen-kbdfront - free grant table entry in xenkbd_disconnect_backend

2014-10-15 Thread hansechang
From: Chang Huaixin xenkbd_disconnect_backend doesn't free grant table entry. This bug affects live migration. xenkbd_disconnect_backend uses gnttab_end_foreign_access_ref to handle grant table entry which doesn't really free an entry. Thus every time we do xenkbd_resume, grant table entry incr

[PATCH] Input: xen-kbdfront - free grant table entry in xenkbd_disconnect_backend

2014-10-11 Thread hansechang
From: Chang Huaixin xenkbd_disconnect_backend doesn't free grant table entry. This bug affects live migration. xenkbd_disconnect_backend uses gnttab_end_foreign_access_ref to handle grant table entry which doesn't really free an entry. Thus every time we do xenkbd_resume, grant table entry incr

[PATCH] bugfix: free grant table entry in xenkbd_disconnect_backend

2014-10-08 Thread hansechang
From: Chang Huaixin This bug affects live migration. xenkdb_disconnect_backend uses gnttab_end_foreign_access_ref to handle grant table entry which doesn't really free an entry. Thus every time we do xenkbd_resume, grant table entry increses by one. Every 512 times we do xenkdb_resume, grant ta