From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jan Beulich" Subject: RE: [PATCH 1/9] Add cpu idle pwr mgmt to xen Date: Wed, 30 Apr 2008 11:25:06 +0100 Message-ID: <48186522.76E4.0078.0@novell.com> References: <48183A3F.76E4.0078.0@novell.com> <4818597B.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Kevin Tian Cc: xen-devel@lists.xensource.com, Keir Fraser , Gang Wei List-Id: xen-devel@lists.xenproject.org >>> "Tian, Kevin" 30.04.08 11:42 >>> >What do you mean by partly copying things? For a 32-on-64 guest, >all pointers from guest are 32-bit and compat_handler_okay already >ensures compat pointers validity. Only native structure may have=20 >64-bit pointer field, which is checked by common guest_handle_okay >if from a 64bit guest, or is trusted by increasing addr limitation if >from compat layer... VCPUOP_register_runstate_memory_area is an example of this. Jan