From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mukesh Rathor Subject: Re: [RFC PATCH 6/16]: PVH xen: Define pvh guest and header changes.. Date: Thu, 24 Jan 2013 17:56:16 -0800 Message-ID: <20130124175616.62876e3f@mantra.us.oracle.com> References: <20130111175138.26477708@mantra.us.oracle.com> <20130124153431.GF20551@ocelot.phlegethon.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20130124153431.GF20551@ocelot.phlegethon.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Tim Deegan Cc: "Xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Thu, 24 Jan 2013 15:34:31 +0000 Tim Deegan 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.