summaryrefslogtreecommitdiffstats
path: root/hw/block/xen_blkif.h
diff options
context:
space:
mode:
authorStefano Stabellini2017-03-21 21:51:25 +0100
committerStefano Stabellini2017-04-21 21:41:29 +0200
commitf65eadb6394340ccf7d23533c7844b6e21c056e9 (patch)
tree772fd8a08b09aeb6cdf3fe7d42cddaf55ebb8f39 /hw/block/xen_blkif.h
parentconfigure: use pkg-config for obtaining xen version (diff)
downloadqemu-f65eadb6394340ccf7d23533c7844b6e21c056e9.tar.gz
qemu-f65eadb6394340ccf7d23533c7844b6e21c056e9.tar.xz
qemu-f65eadb6394340ccf7d23533c7844b6e21c056e9.zip
xen: import ring.h from xen
Do not use the ring.h header installed on the system. Instead, import the header into the QEMU codebase. This avoids problems when QEMU is built against a Xen version too old to provide all the ring macros. Signed-off-by: Stefano Stabellini <stefano@aporeto.com> Reviewed-by: Greg Kurz <groug@kaod.org> CC: anthony.perard@citrix.com CC: jgross@suse.com
Diffstat (limited to 'hw/block/xen_blkif.h')
-rw-r--r--hw/block/xen_blkif.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/block/xen_blkif.h b/hw/block/xen_blkif.h
index 3300b6fc0a..3e6e1ea365 100644
--- a/hw/block/xen_blkif.h
+++ b/hw/block/xen_blkif.h
@@ -1,7 +1,7 @@
#ifndef XEN_BLKIF_H
#define XEN_BLKIF_H
-#include <xen/io/ring.h>
+#include "hw/xen/io/ring.h"
#include <xen/io/blkif.h>
#include <xen/io/protocols.h>