[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH]Fix a restored domain cannot use mouse and keyboard
Hi all, I found a bug that a restored domain could not use mouse and keyboard, when the mouse is moved while saving the domain. The following patch fixes it. Thanks. KAZ Signed-off-by: Kazuhiro Suzuki <kaz@xxxxxxxxxxxxxx> diff -r 5c61cd349b20 drivers/xen/fbfront/xenkbd.c --- a/drivers/xen/fbfront/xenkbd.c Thu Feb 07 10:33:19 2008 +0000 +++ b/drivers/xen/fbfront/xenkbd.c Fri Feb 08 17:27:49 2008 +0900 @@ -193,6 +193,8 @@ static int xenkbd_resume(struct xenbus_d struct xenkbd_info *info = dev->dev.driver_data; xenkbd_disconnect_backend(info); + info->page->in_cons = info->page->in_prod = 0; + info->page->out_cons = info->page->out_prod = 0; return xenkbd_connect_backend(dev, info); } _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |