tools/libs/evtchn: Add support for restricting a handle
authorRoss Lagerwall <ross.lagerwall@citrix.com>
Wed, 18 Oct 2017 13:42:32 +0000 (14:42 +0100)
committerWei Liu <wei.liu2@citrix.com>
Fri, 27 Oct 2017 14:06:39 +0000 (15:06 +0100)
commit6b6500b3cbaa06e7097f84f4851275f456cdd2ca
tree2f7f48a4083be06ef480a47881bc8cadaa38e725
parentd525519bedbcb3fb7b9cc297e352a35124681850
tools/libs/evtchn: Add support for restricting a handle

Implement support for restricting evtchn handles to a particular domain
on Linux by calling the IOCTL_EVTCHN_RESTRICT_DOMID ioctl (support added
in Linux v4.8).

Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Release-acked-by: Julien Grall <julien.grall@linaro.org>
13 files changed:
tools/include/xen-sys/Linux/evtchn.h
tools/libs/evtchn/Makefile
tools/libs/evtchn/core.c
tools/libs/evtchn/freebsd.c
tools/libs/evtchn/include/xenevtchn.h
tools/libs/evtchn/libxenevtchn.map
tools/libs/evtchn/linux.c
tools/libs/evtchn/minios.c
tools/libs/evtchn/netbsd.c
tools/libs/evtchn/private.h
tools/libs/evtchn/solaris.c
tools/libvchan/init.c
tools/libvchan/libxenvchan.h