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

Re: [Xen-devel] xc_altp2m_set_vcpu_enable_notify fail

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?

2016-05-17 20:05 GMT+08:00 Big Strong <fangtuo90@xxxxxxxxx>:
I just set the domid to DOMID_SELF to pass the check, but another problem is how to assign the gfn used to store #ve infomation. As I'm doing all the things in user space, directly assign a new physical page seems impossible. While LKM can do that with kmalloc and virt_to_phys, it cannot call user space functions of libxc. Is there a libxc function to translate the virtual address of malloc() to physical address?

Xen-devel mailing list



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