freebsd-nq/sys/xen
Roger Pau Monné bf7313e3b7 xen: implement the privcmd user-space device
This device is only attached to priviledged domains, and allows the
toolstack to interact with Xen. The two functions of the privcmd
interface is to allow the execution of hypercalls from user-space, and
the mapping of foreign domain memory.

Sponsored by: Citrix Systems R&D

i386/include/xen/hypercall.h:
amd64/include/xen/hypercall.h:
 - Introduce a function to make generic hypercalls into Xen.

xen/interface/xen.h:
xen/interface/memory.h:
 - Import the new hypercall XENMEM_add_to_physmap_range used by
   auto-translated guests to map memory from foreign domains.

dev/xen/privcmd/privcmd.c:
 - This device has the following functions:
   - Allow user-space applications to make hypercalls into Xen.
   - Allow user-space applications to map memory from foreign domains,
     this is accomplished using the newly introduced hypercall
     (XENMEM_add_to_physmap_range).

xen/privcmd.h:
 - Public ioctl interface for the privcmd device.

x86/xen/hvm.c:
 - Remove declaration of hypercall_page, now it's declared in
   hypercall.h.

conf/files:
 - Add the privcmd device to the build process.
2014-10-22 17:07:20 +00:00
..
evtchn xen: import a proper event channel user-space device 2014-10-22 16:57:11 +00:00
interface xen: implement the privcmd user-space device 2014-10-22 17:07:20 +00:00
xenbus
xenstore xen: convert the xenstore user-space char device to a newbus device 2014-09-30 17:31:04 +00:00
blkif.h
error.h xen: add a Xen to BSD error translation 2014-10-22 16:58:52 +00:00
evtchn.h
features.c
features.h
gnttab.c xen: unify gnttab initialization for PVHVM and PVH 2014-06-16 08:48:42 +00:00
gnttab.h xen: unify gnttab initialization for PVHVM and PVH 2014-06-16 08:48:42 +00:00
hvm.h
hypervisor.h
privcmd.h xen: implement the privcmd user-space device 2014-10-22 17:07:20 +00:00
xen_intr.h xen: allow to register event channels without handlers 2014-10-22 16:51:52 +00:00
xen_msi.h msi: add Xen MSI implementation 2014-09-30 16:46:45 +00:00
xen_pv.h xen: add missing files 2014-06-16 08:54:04 +00:00
xen-os.h Make this compile with gcc. 2014-04-05 22:43:18 +00:00