[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] xc_altp2m_set_vcpu_enable_notify fail



On Tue, May 17, 2016 at 8:43 PM, Big Strong <fangtuo90@xxxxxxxxx> wrote:
> Should the VMFUNC and #VE must run in kernel mode? I.E. as a linux kernel
> module or windows driver? if it is, how to invoke hypercall from the domU
> kernel, by ioctl(fd, IOCTL_PRIVCMD_HYPERCALL, hypercall) or directly issue
> 0x82 interrupt?

The idea with #VE is that it converts the EPT violation to a specific
in-guest interrupt. Interrupts are handled by the kernel, so you will
need a kernel module that is handling that interrupt. Also, you can
take a look at the xen-privcmd kernel module in the Linux kernel to
get an idea on how to issue hypercalls.

Tamas

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.