[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [linux-2.6.18-xen] fbfront: Clear ring contents on save/restore. Otherwise in some cases
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1202725165 0 # Node ID 90fbf541d772e9df4e7a4be3ed667d9bac5412c0 # Parent 7128fe32720e088f61424480ef3c465edb3a8a37 fbfront: Clear ring contents on save/restore. Otherwise in some cases a restored domain loses mouse and keyboard. Signed-off-by: Kazuhiro Suzuki <kaz@xxxxxxxxxxxxxx> --- drivers/xen/fbfront/xenkbd.c | 2 ++ 1 files changed, 2 insertions(+) diff -r 7128fe32720e -r 90fbf541d772 drivers/xen/fbfront/xenkbd.c --- a/drivers/xen/fbfront/xenkbd.c Mon Feb 11 10:08:57 2008 +0000 +++ b/drivers/xen/fbfront/xenkbd.c Mon Feb 11 10:19:25 2008 +0000 @@ -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-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |