From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH v3 6/6] KVM: introduce readonly memslot Date: Mon, 18 Jun 2012 12:50:10 +0300 Message-ID: <4FDEF9D2.3000909@redhat.com> References: <4FD6ADA6.40008@linux.vnet.ibm.com> <4FD6AE3B.9020508@linux.vnet.ibm.com> <20120616021150.GA3870@amt.cnet> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Xiao Guangrong , LKML , KVM To: Marcelo Tosatti Return-path: In-Reply-To: <20120616021150.GA3870@amt.cnet> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 06/16/2012 05:11 AM, Marcelo Tosatti wrote: > > Can you introduce a separate exit reason, say KVM_EXIT_READ_FAULT, with > information about the fault? I think you mean WRITE_FAULT. But what's wrong with the normal mmio exit? > > Then perform this exit only if userspace allows it by explicit enable, > and by default have the exit_read_fault handler jump to the mmio > handler. I don't get this. -- error compiling committee.c: too many arguments to function