mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-24 11:29:10 +00:00
bf7313e3b7
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. |
||
---|---|---|
.. | ||
evtchn | ||
interface | ||
xenbus | ||
xenstore | ||
blkif.h | ||
error.h | ||
evtchn.h | ||
features.c | ||
features.h | ||
gnttab.c | ||
gnttab.h | ||
hvm.h | ||
hypervisor.h | ||
privcmd.h | ||
xen_intr.h | ||
xen_msi.h | ||
xen_pv.h | ||
xen-os.h |