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-devel

Re: [Xen-devel] PATCH 0/10: Merge PV framebuffer & console into QEMU

To: Alex Williamson <alex.williamson@xxxxxx>
Subject: Re: [Xen-devel] PATCH 0/10: Merge PV framebuffer & console into QEMU
From: Markus Armbruster <armbru@xxxxxxxxxx>
Date: Fri, 26 Oct 2007 10:16:27 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Delivery-date: Fri, 26 Oct 2007 01:17:14 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1193348482.6545.10.camel@lappy> (Alex Williamson's message of "Thu\, 25 Oct 2007 15\:41\:22 -0600")
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20071024203513.GD10807@xxxxxxxxxx> <1193338595.6665.25.camel@bling> <20071025212313.GA2916@xxxxxxxxxx> <1193348482.6545.10.camel@lappy>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)
Hrrrm, diagnostics omit errno.  Alex, could you retry with the
appended (obvious, but untested) patch applied?


--- tools/ioemu/hw/xenfb.c~     2007-10-26 10:04:43.000000000 +0200
+++ tools/ioemu/hw/xenfb.c      2007-10-26 10:11:09.000000000 +0200
@@ -664,7 +664,8 @@
 {
         fprintf(stderr, "Doing frontend watch on %s\n", dev->otherend);
        if (!xs_watch(dev->xenfb->xsh, dev->otherend, "")) {
-               fprintf(stderr, "Watch for dev failed\n");
+               fprintf(stderr, "Watch for dev failed (%s)\n",
+                       strerror(errno));
                return -1;
        }
 
@@ -680,7 +681,8 @@
 {
        fprintf(stderr, "Doing backend watch on %s\n", dev->nodename);
        if (!xs_watch(dev->xenfb->xsh, dev->nodename, "")) {
-               fprintf(stderr, "Watch for dev failed\n");
+               fprintf(stderr, "Watch for dev failed (%s)\n",
+                       strerror(errno));
                return -1;
        }
 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel