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/
Home Products Support Community News


[Xen-devel] [PATCH 3 of 3] [QEMU remote] xenfbfront headers

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH 3 of 3] [QEMU remote] xenfbfront headers
From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Date: Thu, 11 Sep 2008 16:27:37 +0100
Delivery-date: Thu, 11 Sep 2008 08:27:53 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird (X11/20080505)
Adding xenfb_* functions to qemu-xen.h and importing this header
wherever the xenfbfront functions are used (xenstore.c and cirrus_vga.c)

Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>

 hw/cirrus_vga.c |    1 +
 qemu-xen.h      |    6 ++++++
 xenstore.c      |    1 +
 3 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/hw/cirrus_vga.c b/hw/cirrus_vga.c
index c03a5a6..8e1bbc3 100644
--- a/hw/cirrus_vga.c
+++ b/hw/cirrus_vga.c
@@ -31,6 +31,7 @@
 #include "pci.h"
 #include "console.h"
 #include "vga_int.h"
+#include "qemu-xen.h"
 #include "exec-all.h"
diff --git a/qemu-xen.h b/qemu-xen.h
index 2598c15..536b583 100644
--- a/qemu-xen.h
+++ b/qemu-xen.h
@@ -72,4 +72,10 @@ int xenstore_unsubscribe_from_hotplug_status(struct 
xs_handle *handle,
 int xenstore_vm_write(int domid, char *key, char *val);
 char *xenstore_vm_read(int domid, char *key, unsigned int *len);
+/* xenfbfront.c */
+int xenfb_pv_display_init(DisplayState *ds);
+int xenfb_pv_display_start(void *vram_start);
+int xenfb_connect_vkbd(const char *path);
+int xenfb_connect_vfb(const char *path);
 #endif /*QEMU_XEN_H*/
diff --git a/xenstore.c b/xenstore.c
index 99792c4..0d5727e 100644
--- a/xenstore.c
+++ b/xenstore.c
@@ -28,6 +28,7 @@
 #include "hw.h"
 #include "pci.h"
 #include "qemu-timer.h"
+#include "qemu-xen.h"
 struct xs_handle *xsh = NULL;
 static char *media_filename[MAX_DRIVES+1];

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH 3 of 3] [QEMU remote] xenfbfront headers, Stefano Stabellini <=