WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-3.1-testing] fbfront: Clear ring contents on save/r

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-3.1-testing] fbfront: Clear ring contents on save/restore. Otherwise in some cases
From: "Xen patchbot-3.1-testing" <patchbot-3.1-testing@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 21 Feb 2008 07:11:39 -0800
Delivery-date: Fri, 22 Feb 2008 07:35:12 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1203344990 0
# Node ID 69dd582e3850e96c00d5b212e163f6ee6bf80ff7
# Parent  f1574ad9f7027d4278c758be534d0d113d143b1e
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>
linux-2.6.18-xen changeset:   415:90fbf541d772e9df4e7a4be3ed667d9bac5412c0
linux-2.6.18-xen date:        Mon Feb 11 10:19:25 2008 +0000
---
 linux-2.6-xen-sparse/drivers/xen/fbfront/xenkbd.c |    2 ++
 1 files changed, 2 insertions(+)

diff -r f1574ad9f702 -r 69dd582e3850 
linux-2.6-xen-sparse/drivers/xen/fbfront/xenkbd.c
--- a/linux-2.6-xen-sparse/drivers/xen/fbfront/xenkbd.c Mon Feb 18 14:26:38 
2008 +0000
+++ b/linux-2.6-xen-sparse/drivers/xen/fbfront/xenkbd.c Mon Feb 18 14:29:50 
2008 +0000
@@ -183,6 +183,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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-3.1-testing] fbfront: Clear ring contents on save/restore. Otherwise in some cases, Xen patchbot-3.1-testing <=