From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Otte Subject: Re: [patch 04/12] [PATCH] kvm-s390-ucontrol: export SIE control block to user Date: Fri, 09 Dec 2011 12:54:46 +0100 Message-ID: <4EE1F706.6040506@de.ibm.com> References: <20111209112326.454852716@de.ibm.com> <20111209112751.447335351@de.ibm.com> <614FD809-BDDC-488A-BBB9-3BD9E1A955F9@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Avi Kivity , Marcelo Tossati , borntrae@linux.vnet.ibm.com, heicars2@linux.vnet.ibm.com, mschwid2@linux.vnet.ibm.com, huckc@linux.vnet.ibm.com, KVM , Joachim von Buttlar , Jens Freimann , Constantin Werner , Xiantao Zhang To: Alexander Graf Return-path: Received: from e06smtp12.uk.ibm.com ([195.75.94.108]:34851 "EHLO e06smtp12.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751219Ab1LILzS (ORCPT ); Fri, 9 Dec 2011 06:55:18 -0500 Received: from /spool/local by e06smtp12.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 9 Dec 2011 11:55:16 -0000 Received: from d06av09.portsmouth.uk.ibm.com (d06av09.portsmouth.uk.ibm.com [9.149.37.250]) by d06nrmr1307.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id pB9BtDde2240662 for ; Fri, 9 Dec 2011 11:55:13 GMT Received: from d06av09.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av09.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id pB9BtCFw028779 for ; Fri, 9 Dec 2011 04:55:13 -0700 In-Reply-To: <614FD809-BDDC-488A-BBB9-3BD9E1A955F9@suse.de> Sender: kvm-owner@vger.kernel.org List-ID: On 09.12.2011 12:37, Alexander Graf wrote: >> +#define KVM_S390_SIE_PAGE_OFFSET 1 > > Can we please make these a global number space? I don't want to have any user space code "accidently" call this mmap while it's trying to find out if it can map the PIO page. We already have a global number space for CAPs. I consider a vma with holes in it pretty ugly, and we've got the mechanism for userspace to correctly find out where to find what. I do prefer a contiguous vma and the existing capabilities/queries. Avi?