[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] The hypercall will fail and return EFAULT when the page becomes COW by forking process in linux
On Thu, 2012-08-09 at 07:56 +0100, Wangzhenguo wrote:
> # HG changeset patch
> # Parent a5dfd924fcdb173a154dad9f37073c1de1302065
> libxc: Add VM_DONTCOPY flag of the VMA of the hypercall buffer, to avoid the
> hypercall buffer becoming COW on hypercall.
When I came to commit this I got:
xc_linux_osdep.c: In function âlinux_privcmd_alloc_hypercall_bufferâ:
xc_linux_osdep.c:101: error: âptrâ undeclared (first use in this function)
xc_linux_osdep.c:101: error: (Each undeclared identifier is reported only once
xc_linux_osdep.c:101: error: for each function it appears in.)
I've fixed this up for you this time but please be more careful in
future and compile/test your patches.
I also tweaked the wording of your comments a little bit, I hope that's
ok.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|