From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xiao Guangrong Subject: Re: [PATCH v5 02/12] KVM: hide KVM_MEMSLOT_INVALID from userspace Date: Fri, 10 Aug 2012 10:11:28 +0800 Message-ID: <50246DD0.3050704@linux.vnet.ibm.com> References: <5020E423.9080004@linux.vnet.ibm.com> <5020E481.1050203@linux.vnet.ibm.com> <20120809184844.GA20889@amt.cnet> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Avi Kivity , LKML , KVM To: Marcelo Tosatti Return-path: In-Reply-To: <20120809184844.GA20889@amt.cnet> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 08/10/2012 02:48 AM, Marcelo Tosatti wrote: >> +#define KVM_MEMSLOT_INVALID (1UL << 31) >> + >> /* >> * If we support unaligned MMIO, at most one fragment will be split into two: >> */ > > Please document which range is for userspace visible flags, which range > is reserved. Mention that in both headers, point to each other > ("userspace definitions are there" / "internal definitions are there"). > > 16/16 bits for each should be fine. Okay, good to me, will do it in the next version, thank you, Marcelo!