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

Re: [Xen-devel] [RFC PATCH 6/16]: PVH xen: Define pvh guest and header changes..



On Thu, 24 Jan 2013 15:34:31 +0000
Tim Deegan <tim@xxxxxxx> wrote:

> At 17:51 -0800 on 11 Jan (1357926698), Mukesh Rathor wrote:
> > diff -r fadb3f2f5d97 -r 5af39353f3f9
> > xen/include/asm-x86/guest_access.h ---
> > a/xen/include/asm-x86/guest_access.h        Fri Jan 11 16:25:27
> > 2013 -0800 +++ b/xen/include/asm-x86/guest_access.h Fri Jan
> > 11 16:27:46 2013 -0800 @@ -14,27 +14,27 @@ 
> >  /* Raw access functions: no type checking. */
> >  #define raw_copy_to_guest(dst, src, len)        \
> > +    (is_hvm_or_pvh_vcpu(current) ?                     \
> >       copy_to_user_hvm((dst), (src), (len)) :    \
> >       __copy_to_user((dst), (src), (len)))
> >  #define __raw_copy_from_guest(dst, src, len)    \
> > -    (is_hvm_vcpu(current) ?                     \
> > +    (is_hvm_or_pvh_vcpu(current) ?                     \
> >       copy_from_user_hvm((dst), (src), (len)) :  \
> >       __copy_from_user((dst), (src), (len)))
> >  #define __raw_clear_guest(dst,  len)            \
> > -    (is_hvm_vcpu(current) ?                     \
> > +    (is_hvm_or_pvh_vcpu(current) ?                     \
> >       clear_user_hvm((dst), (len)) :             \
> >       clear_user((dst), (len)))
> 
> Please don't mess up these nicely aligned backslashes. :)

Ooopsy!! My bad. Fixed.

_______________________________________________
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®.