From: Vitaly Kuznetsov In-Reply-To: <20200727135603.GA39559@redhat.com> References: <20200720211359.GF502563@redhat.com> <20200727135603.GA39559@redhat.com> Date: Mon, 27 Jul 2020 18:09:32 +0200 Message-ID: <87ft9dlz2b.fsf@vitty.brq.redhat.com> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Virtio-fs] [PATCH v4] kvm, x86: Exit to user space in case page fault error List-Id: Development discussions about virtio-fs List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Vivek Goyal , kvm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: virtio-fs-list , pbonzini@redhat.com, sean.j.christopherson@intel.com Vivek Goyal writes: > On Mon, Jul 20, 2020 at 05:13:59PM -0400, Vivek Goyal wrote: >> Page fault error handling behavior in kvm seems little inconsistent when >> page fault reports error. If we are doing fault synchronously >> then we capture error (-EFAULT) returned by __gfn_to_pfn_memslot() and >> exit to user space and qemu reports error, "error: kvm run failed Bad address". > > Hi Vitaly, > > A gentle reminder. How does this patch look now? > Sorry, I even reviewd it but never replied. It looks good to me! Reviewed-by: Vitaly Kuznetsov -- Vitaly