From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Haxby Subject: Xen 3.4.x and request-abs-pointer Date: Mon, 05 Jul 2010 16:22:48 +0100 Message-ID: <4C31F8C8.8090800@oracle.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------080706000303080103010901" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------080706000303080103010901 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit A little while ago Jeremy Fitzhardinge was having some problem with absolute pointers. This turned out to be a very simple fix in qemu-xen: wait for the frontend to be connected before connecting the backend. I've attached that original patch, if there's going to be a xen-3.4.4 it would be nice if this was included. jch --------------080706000303080103010901 Content-Type: text/plain; name="patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="patch" commit 805ed3b20492d2f4bb465bfda65cedd286e23209 Author: Ian Jackson Date: Fri May 21 15:46:55 2010 +0100 Wait for frontend state Connected before connecting the backend The frontend of the framebuffer set a value (request-abs-pointer) and go to the state Connected. The backend must read this value only when the frontend has the state Connected. From: Anthony PERARD Tested-by: Jeremy Fitzhardinge diff --git a/hw/xen_backend.c b/hw/xen_backend.c index 76d07ec..31ed7b0 100644 --- a/hw/xen_backend.c +++ b/hw/xen_backend.c @@ -411,8 +411,7 @@ static int xen_be_try_connect(struct XenDevice *xendev) { int rc = 0; - if (xendev->fe_state != XenbusStateInitialised && - xendev->fe_state != XenbusStateConnected) { + if (xendev->fe_state != XenbusStateConnected) { if (xendev->ops->flags & DEVOPS_FLAG_IGNORE_STATE) { xen_be_printf(xendev, 2, "frontend not ready, ignoring\n"); } else { --------------080706000303080103010901 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------080706000303080103010901--