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. |
||
---|---|---|
.. | ||
arch-arm/hvm | ||
arch-x86 | ||
foreign | ||
hvm | ||
io | ||
xsm | ||
acm_ops.h | ||
acm.h | ||
arch-arm.h | ||
arch-powerpc.h | ||
arch-x86_32.h | ||
arch-x86_64.h | ||
callback.h | ||
COPYING | ||
dom0_ops.h | ||
domctl.h | ||
elfnote.h | ||
elfstructs.h | ||
event_channel.h | ||
features.h | ||
grant_table.h | ||
kexec.h | ||
libelf.h | ||
mem_event.h | ||
memory.h | ||
nmi.h | ||
physdev.h | ||
platform.h | ||
sched.h | ||
sysctl.h | ||
tmem.h | ||
trace.h | ||
vcpu.h | ||
version.h | ||
xen-compat.h | ||
xen.h | ||
xencomm.h | ||
xenoprof.h |