qemu-irix/hw
Ian Campbell c1345a8878 xen: Switch to libxengnttab interface for compat shims.
In Xen 4.7 we are refactoring parts libxenctrl into a number of
separate libraries which will provide backward and forward API and ABI
compatiblity.

One such library will be libxengnttab which provides access to grant
tables.

In preparation for this switch the compatibility layer in xen_common.h
(which support building with older versions of Xen) to use what will
be the new library API. This means that the gnttab shim will disappear
for versions of Xen which include libxengnttab.

To simplify things for the <= 4.0.0 support we wrap the int fd in a
malloc(sizeof int) such that the handle is always a pointer. This
leads to less typedef headaches and the need for
XC_HANDLER_INITIAL_VALUE etc for these interfaces.

Note that this patch does not add any support for actually using
libxengnttab, it just adjusts the existing shims.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Reviewed-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
2016-01-26 17:19:28 +00:00
..
9pfs 9pfs: use error_report() instead of fprintf(stderr) 2016-01-22 15:12:17 +01:00
acpi trivial patches for 2016-01-11 2016-01-11 12:56:58 +00:00
alpha isa: Clean up error handling around isa_bus_new() 2016-01-13 11:58:59 +01:00
arm hw/arm/virt: Add always-on property to the virt board timer 2016-01-21 14:15:07 +00:00
audio
block xen: Switch to libxengnttab interface for compat shims. 2016-01-26 17:19:28 +00:00
bt
char xen: Switch to libxengnttab interface for compat shims. 2016-01-26 17:19:28 +00:00
core fdc: Add fallback option 2016-01-25 14:35:23 -05:00
cpu
cris
display Xen 2016/01/21 2016-01-21 17:21:08 +00:00
dma hw/dma/xilinx_axidma: remove dead code 2016-01-11 15:52:18 +00:00
gpio omap: Don't use hw_error() in device init() methods 2016-01-13 11:58:58 +01:00
i2c omap: Don't use hw_error() in device init() methods 2016-01-13 11:58:58 +01:00
i386 fdc: add drive type qapi enum 2016-01-25 14:35:23 -05:00
ide ide: Correct the CHS 'cyls_max' limit to be 65535 2016-01-25 14:34:40 -05:00
input
intc arm_gic: Update ID registers based on revision 2016-01-21 14:15:08 +00:00
ipack
ipmi fpu: Replace int32 typedef with int32_t 2016-01-22 15:09:21 +00:00
isa isa: Clean up inappropriate hw_error() 2016-01-13 15:15:57 +01:00
lm32
m68k hw: Don't use hw_error() for machine initialization errors 2016-01-13 11:58:58 +01:00
mem nvdimm: implement NVDIMM device abstract 2015-12-22 18:39:20 +02:00
microblaze ssi: Move ssi.h into a separate directory 2016-01-21 14:15:03 +00:00
mips mips: Clean up includes 2016-01-23 14:30:04 +00:00
misc fpu: Replace uint32 typedef with uint32_t 2016-01-22 15:09:21 +00:00
moxie
net xen: Switch to libxengnttab interface for compat shims. 2016-01-26 17:19:28 +00:00
nvram
openrisc
pci
pci-bridge hw/pxb: introduce pxb-pcie expander for PCIe machines 2015-12-22 17:45:13 +02:00
pci-host isa: Clean up error handling around isa_bus_new() 2016-01-13 11:58:59 +01:00
pcmcia
ppc fpu: Replace uint32 typedef with uint32_t 2016-01-22 15:09:21 +00:00
s390x Error reporting patches for 2016-01-13 2016-01-14 13:07:38 +00:00
scsi SCSI device: fix to incomplete QOMify 2016-01-15 18:58:01 +01:00
sd ssi: Move ssi.h into a separate directory 2016-01-21 14:15:03 +00:00
sh4 SH PCI Host: convert to realize() 2016-01-11 11:39:28 +03:00
smbios Use error_fatal to simplify obvious fatal errors 2016-01-13 11:58:58 +01:00
sparc
sparc64 target-sparc: Convert to VMStateDescription 2016-01-16 12:01:23 +00:00
ssi xilinx_spips: Separate the state struct into a header 2016-01-21 14:15:03 +00:00
timer arm_mptimer: Don't use hw_error() in realize() method 2016-01-13 11:58:58 +01:00
tpm qemu-char: delete send_all/recv_all helper methods 2016-01-15 18:58:01 +01:00
tricore
unicore32 hw: Don't use hw_error() for machine initialization errors 2016-01-13 11:58:58 +01:00
usb error: Use error_prepend() where it makes obvious sense 2016-01-13 15:16:17 +01:00
vfio vfio/pci: Lazy PBA emulation 2016-01-19 11:33:42 -07:00
virtio VirtFS update: 2016-01-12 17:37:22 +00:00
watchdog
xen xen: Switch to libxengnttab interface for compat shims. 2016-01-26 17:19:28 +00:00
xenpv
xtensa
Makefile.objs Add a base IPMI interface 2015-12-22 18:39:19 +02:00