[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



> -----Original Message-----
> From: Ian Campbell [mailto:Ian.Campbell@xxxxxxxxxx]
> Sent: Friday, August 17, 2012 9:48 PM
> To: Wangzhenguo
> Cc: Yangxiaowei; Yechuan; Hongtao; xen-devel@xxxxxxxxxxxxx; Ian Jackson
> Subject: 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.
Thanks Ian.
I'm sorry, I promise to compile/test my 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

 


Rackspace

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