qemu/hw/xen
Stefano Stabellini 01cd90b641 xen: call qemu_set_cloexec instead of fcntl
Use the common utility function, which contains checks on return values
and first calls F_GETFD as recommended by POSIX.1-2001, instead of
manually calling fcntl.

CID: 1374831

Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
CC: anthony.perard@citrix.com
CC: groug@kaod.org
CC: aneesh.kumar@linux.vnet.ibm.com
CC: Eric Blake <eblake@redhat.com>
2017-05-16 11:51:25 -07:00
..
Makefile.objs move xen-common.c to hw/xen/ 2017-04-25 11:04:34 -07:00
trace-events xen: use libxendevice model to restrict operations 2017-04-21 12:40:14 -07:00
xen_backend.c xen: call qemu_set_cloexec instead of fcntl 2017-05-16 11:51:25 -07:00
xen_devconfig.c xen: Rename xen_be_printf to xen_pv_printf 2016-10-28 17:53:50 -07:00
xen_pt_config_init.c Xen: fix converity warning of xen_pt_config_init() 2016-08-12 16:38:18 -07:00
xen_pt_graphics.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
xen_pt_msi.c os-posix: include sys/mman.h 2016-06-16 18:39:03 +02:00
xen_pt.c Xen PCI passthrough: fix passthrough failure when no interrupt pin 2016-08-04 10:42:48 -07:00
xen_pt.h Clean up decorations and whitespace around header guards 2016-07-12 16:20:46 +02:00
xen_pvdev.c xen: create qdev for each backend device 2016-11-22 10:29:39 -08:00
xen-common.c xen: use a better chardev type check 2017-05-04 15:34:41 +04:00
xen-host-pci-device.c util: move declarations out of qemu-common.h 2016-03-22 22:20:17 +01:00
xen-host-pci-device.h Clean up decorations and whitespace around header guards 2016-07-12 16:20:46 +02:00