qemu-e2k/include/hw/xen
Anthony PERARD d297e533a5 xen: Fix ring.h header
The xen_[rw]?mb() macros defined in ring.h can't be used and the fact
that there are gated behind __XEN_INTERFACE_VERSION__ means that it
needs to be defined somewhere. QEMU doesn't implement interfaces with
the Xen hypervisor so defining __XEN_INTERFACE_VERSION__ is pointless.
This leads to:
    include/hw/xen/io/ring.h:47:5: error: "__XEN_INTERFACE_VERSION__"
        is not defined, evaluates to 0 [-Werror=undef]

Cleanup ring.h. The xen_*mb() macros are already defined in xenctrl.h
which is included in xen_common.h.

Reported-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20190704153605.4140-1-anthony.perard@citrix.com>
[aperard: Adding the comment proposed upstream]
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
2019-08-27 14:18:28 +01:00
..
interface xen: Fix ring.h header 2019-08-27 14:18:28 +01:00
start_info.h Clean up ill-advised or unusual header guards 2019-05-13 08:58:55 +02:00
xen_common.h Include qemu/queue.h slightly less 2019-08-16 13:31:52 +02:00
xen_pvdev.h xen: re-name XenDevice to XenLegacyDevice... 2019-01-14 13:45:40 +00:00
xen-backend.h xen: add a mechanism to automatically create XenDevice-s... 2019-01-14 13:45:40 +00:00
xen-block.h xen: automatically create XenBlockDevice-s 2019-01-14 13:45:40 +00:00
xen-bus-helper.h xen: add xenstore watcher infrastructure 2019-01-14 13:45:40 +00:00
xen-bus.h xen-bus / xen-block: add support for event channel polling 2019-06-24 10:42:29 +01:00
xen-legacy-backend.h Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
xen.h Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00