include: update Xen public headers to Xen 4.17.2 release... in order to advertise the XEN_HVM_CPUID_UPCALL_VECTOR feature,which will come in a subsequent commit.Signed-off-by: David Woodhouse <d
include: update Xen public headers to Xen 4.17.2 release... in order to advertise the XEN_HVM_CPUID_UPCALL_VECTOR feature,which will come in a subsequent commit.Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>Acked-by: Paul Durrant <paul@xen.org>
show more ...
include: import Xen public headers to hw/xen/interfaceThere's already a partial set here; update them and pull in a morecomplete set.To start with, define __XEN_TOOLS__ in hw/xen/xen.h to ensure
include: import Xen public headers to hw/xen/interfaceThere's already a partial set here; update them and pull in a morecomplete set.To start with, define __XEN_TOOLS__ in hw/xen/xen.h to ensure that anyinternal definitions needed by Xen toolstack libraries are presentregardless of the order in which the headers are included. A reckoningwill come later, once we make the PV backends work in emulation anduntangle the headers for Xen-native vs. generic parts.Signed-off-by: Joao Martins <joao.m.martins@oracle.com>[dwmw2: Update to Xen public headers from 4.16.2 release, add some in io/, define __XEN_TOOLS__ in hw/xen/xen.h, move to hw/xen/interface/]Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>Reviewed-by: Paul Durrant <paul@xen.org>
xen: remove GNUC checkQEMU requires Clang or GCC, that define and support __GNUC__ extensionsSigned-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>Acked-by: Stefano Stabellini <sstabelli
xen: remove GNUC checkQEMU requires Clang or GCC, that define and support __GNUC__ extensionsSigned-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>Acked-by: Stefano Stabellini <sstabellini@kernel.org>Message-Id: <20201210134752.780923-11-marcandre.lureau@redhat.com>Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
global: Squash 'the the''the' has a tendency to double up; squash them back down.Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>Reviewed-by: Alex Bennée <alex.bennee@linaro.org>Revi
global: Squash 'the the''the' has a tendency to double up; squash them back down.Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>Reviewed-by: Alex Bennée <alex.bennee@linaro.org>Reviewed-by: Laurent Vivier <laurent@vivier.eu>Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>Message-Id: <20191104185202.102504-1-dgilbert@redhat.com>[lv: removed disas/libvixl/vixl/invalset.h change]Signed-off-by: Laurent Vivier <laurent@vivier.eu>
xen: Fix ring.h headerThe xen_[rw]?mb() macros defined in ring.h can't be used and the factthat there are gated behind __XEN_INTERFACE_VERSION__ means that itneeds to be defined somewhere. QEMU d
xen: Fix ring.h headerThe xen_[rw]?mb() macros defined in ring.h can't be used and the factthat there are gated behind __XEN_INTERFACE_VERSION__ means that itneeds to be defined somewhere. QEMU doesn't implement interfaces withthe 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.hwhich 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>
xen: Import other xen/io/*.hA Xen public header have been imported into QEMU (byf65eadb639 "xen: import ring.h from xen"), but there are other headerthat depends on ring.h which come from the sys
xen: Import other xen/io/*.hA Xen public header have been imported into QEMU (byf65eadb639 "xen: import ring.h from xen"), but there are other headerthat depends on ring.h which come from the system when building QEMU.This patch resolves the issue of having headers from the systemimporting a different copie of ring.h.This patch is prompt by the build issue described in the previouspatch: 'Revert xen/io/ring.h of "Clean up a few header guard symbols"'ring.h and the new imported headers are moved to"include/hw/xen/interface" as those describe interfaces with a guest.The imported headers are cleaned up a bit while importing them: somepart of the file that QEMU doesn't use are removed (descriptionof how to make hypercall in grant_table.h have been removed).Other cleanup:- xen-mapcache.c and xen-legacy-backend.c don't need grant_table.h.- xenfb.c doesn't need event_channel.h.Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>Reviewed-by: Paul Durrant <paul.durrant@citrix.com>Message-Id: <20190621105441.3025-3-anthony.perard@citrix.com>