Commit f65eadb6 authored by Stefano Stabellini's avatar Stefano Stabellini
Browse files

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: default avatarStefano Stabellini <stefano@aporeto.com>
Reviewed-by: default avatarGreg Kurz <groug@kaod.org>
CC: anthony.perard@citrix.com
CC: jgross@suse.com
parent c1cdd9d5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
#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>

+1 −1
Original line number Diff line number Diff line
@@ -33,7 +33,7 @@
#include "qapi/qmp/qint.h"
#include "qapi/qmp/qstring.h"

#include <xen/io/ring.h>
#include "hw/xen/io/ring.h"
#include <xen/io/usbif.h>

/*
+482 −0

File added.

Preview size limit exceeded, changes collapsed.