From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965312AbXAKH0y (ORCPT ); Thu, 11 Jan 2007 02:26:54 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965317AbXAKH0x (ORCPT ); Thu, 11 Jan 2007 02:26:53 -0500 Received: from moutng.kundenserver.de ([212.227.126.183]:49964 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965312AbXAKH0x convert rfc822-to-8bit (ORCPT ); Thu, 11 Jan 2007 02:26:53 -0500 From: Arnd Bergmann To: kvm-devel@lists.sourceforge.net Subject: Re: [kvm-devel] [RFC] Stable kvm userspace interface Date: Thu, 11 Jan 2007 08:26:28 +0100 User-Agent: KMail/1.9.5 Cc: Avi Kivity , Andrew Morton , linux-kernel , Jeff Garzik References: <45A39A97.5060807@qumranet.com> In-Reply-To: <45A39A97.5060807@qumranet.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT Content-Disposition: inline Message-Id: <200701110826.28535.arnd@arndb.de> X-Provags-ID: kundenserver.de abuse@kundenserver.de login:c48f057754fc1b1a557605ab9fa6da41 X-Provags-ID2: V01U2FsdGVkX19APi2H+p8I+IZ7EOIkkLInyQcCLjeLhCGdJnNH6QSxAFi4X0ooE+Uw5Si5+oD3V6VRF4m6mbiy87/KwQE9KuEglqGgzyY5t6liQLnosR91zA== Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tuesday 09 January 2007 14:37, Avi Kivity wrote: > struct kvm_vcpu_area { >     u32 vcpu_area_size; >     u32 exit_reason; > >     sigset_t sigmask;  // for use during vcpu execution Since Jeff brought up the point of 32 bit compatibility: When this structure is shared between 64 bit kernel and 32 bit user space, you sigmask should be a __u64 in order to guarantee compatibility. Arnd <>< From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: Re: [RFC] Stable kvm userspace interface Date: Thu, 11 Jan 2007 08:26:28 +0100 Message-ID: <200701110826.28535.arnd@arndb.de> References: <45A39A97.5060807@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Cc: Andrew Morton , Jeff Garzik , linux-kernel Return-path: To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org In-Reply-To: <45A39A97.5060807-atKUWr5tajBWk0Htik3J/w@public.gmane.org> Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org On Tuesday 09 January 2007 14:37, Avi Kivity wrote: > struct kvm_vcpu_area { > =A0 =A0 u32 vcpu_area_size; > =A0 =A0 u32 exit_reason; > = > =A0 =A0 sigset_t sigmask; =A0// for use during vcpu execution Since Jeff brought up the point of 32 bit compatibility: When this structure is shared between 64 bit kernel and 32 bit user space, you sigmask should be a __u64 in order to guarantee compatibility. Arnd <>< ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DDE= VDEV