summaryrefslogtreecommitdiff
path: root/hw/xen_console.c
diff options
context:
space:
mode:
authorAnthony PERARD <anthony.perard@citrix.com>2012-06-21 11:43:59 +0000
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>2012-06-21 11:43:59 +0000
commitb41f67197208e7b72ba2207473a74b89a821190a (patch)
tree6866bf59bf89f88c60d97927f635d42b9041013f /hw/xen_console.c
parent93bfef4c6e4b23caea9d51e1099d06433d8835a4 (diff)
downloadqemu-b41f67197208e7b72ba2207473a74b89a821190a.tar.gz
xen: Reorganize includes of Xen headers.
Because xs.h will be remove in future release of Xen, this patch removes the extra includes of this headers. Also, it removes the extra includes of xenctrl.h and xen/io/xenbus.h as there already are in xen_common.h. Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'hw/xen_console.c')
-rw-r--r--hw/xen_console.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/hw/xen_console.c b/hw/xen_console.c
index 3794b1972d..9426d7374f 100644
--- a/hw/xen_console.c
+++ b/hw/xen_console.c
@@ -28,14 +28,13 @@
#include <termios.h>
#include <stdarg.h>
#include <sys/mman.h>
-#include <xs.h>
-#include <xen/io/console.h>
-#include <xenctrl.h>
#include "hw.h"
#include "qemu-char.h"
#include "xen_backend.h"
+#include <xen/io/console.h>
+
struct buffer {
uint8_t *data;
size_t consumed;