On Sun, 2014-11-09 at 09:22 +0800, Anh Dinh wrote: > Thanks, > > > I've found out the reason it page-faulting is because I used malloc() > to allocate the output buffer, which turns out to allocate lazily. > Therefore the hypervisor page-fault because the memory is still > waiting to be mapped by the kernel. > > > I simply touched all the allocated memory, and it works fine now.
It might work, but unless it is using hypercall buffers and XEN_GUEST_HANDLE then it is still subtly broken. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel