xen: import ring.h from xen
commitf65eadb6394340ccf7d23533c7844b6e21c056e9
authorStefano Stabellini <sstabellini@kernel.org>
Tue, 21 Mar 2017 20:51:25 +0000 (21 13:51 -0700)
committerStefano Stabellini <sstabellini@kernel.org>
Fri, 21 Apr 2017 19:41:29 +0000 (21 12:41 -0700)
tree772fd8a08b09aeb6cdf3fe7d42cddaf55ebb8f39
parentc1cdd9d5beb052b072c1f57ea634e3c52e9dc17b
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
hw/block/xen_blkif.h
hw/usb/xen-usb.c
include/hw/xen/io/ring.h [new file with mode: 0644]