Browse Source

Merge remote-tracking branch 'sstabellini/compile-xs' into staging

* sstabellini/compile-xs:
  xenstore: Use <xenstore.h>
  xen: Reorganize includes of Xen headers.
pull/92/head
Anthony Liguori 14 years ago
parent
commit
3978f4612e
  1. 2
      configure
  2. 6
      hw/xen_backend.c
  3. 6
      hw/xen_common.h
  4. 5
      hw/xen_console.c
  5. 6
      hw/xen_disk.c
  6. 7
      hw/xen_nic.c
  7. 13
      hw/xenfb.c

2
configure

@ -1388,7 +1388,7 @@ EOF
elif (
cat > $TMPC <<EOF
#include <xenctrl.h>
#include <xs.h>
#include <xenstore.h>
#include <stdint.h>
#include <xen/hvm/hvm_info_table.h>
#if !defined(HVM_MAX_VCPUS)

6
hw/xen_backend.c

@ -34,15 +34,13 @@
#include <sys/mman.h>
#include <sys/signal.h>
#include <xs.h>
#include <xenctrl.h>
#include <xen/grant_table.h>
#include "hw.h"
#include "qemu-char.h"
#include "qemu-log.h"
#include "xen_backend.h"
#include <xen/grant_table.h>
/* ------------------------------------------------------------- */
/* public */

6
hw/xen_common.h

@ -7,7 +7,11 @@
#include <inttypes.h>
#include <xenctrl.h>
#include <xs.h>
#if CONFIG_XEN_CTRL_INTERFACE_VERSION < 420
# include <xs.h>
#else
# include <xenstore.h>
#endif
#include <xen/io/xenbus.h>
#include "hw.h"

5
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;

6
hw/xen_disk.c

@ -35,14 +35,10 @@
#include <sys/mman.h>
#include <sys/uio.h>
#include <xs.h>
#include <xenctrl.h>
#include <xen/io/xenbus.h>
#include "hw.h"
#include "qemu-char.h"
#include "xen_blkif.h"
#include "xen_backend.h"
#include "xen_blkif.h"
#include "blockdev.h"
/* ------------------------------------------------------------- */

7
hw/xen_nic.c

@ -35,11 +35,6 @@
#include <sys/mman.h>
#include <sys/wait.h>
#include <xs.h>
#include <xenctrl.h>
#include <xen/io/xenbus.h>
#include <xen/io/netif.h>
#include "hw.h"
#include "net.h"
#include "net/checksum.h"
@ -47,6 +42,8 @@
#include "qemu-char.h"
#include "xen_backend.h"
#include <xen/io/netif.h>
/* ------------------------------------------------------------- */
struct XenNetDev {

13
hw/xenfb.c

@ -35,19 +35,16 @@
#include <string.h>
#include <time.h>
#include <xs.h>
#include <xenctrl.h>
#include <xen/event_channel.h>
#include <xen/io/xenbus.h>
#include <xen/io/fbif.h>
#include <xen/io/kbdif.h>
#include <xen/io/protocols.h>
#include "hw.h"
#include "console.h"
#include "qemu-char.h"
#include "xen_backend.h"
#include <xen/event_channel.h>
#include <xen/io/fbif.h>
#include <xen/io/kbdif.h>
#include <xen/io/protocols.h>
#ifndef BTN_LEFT
#define BTN_LEFT 0x110 /* from <linux/input.h> */
#endif

Loading…
Cancel
Save