From: Marcelo Tosatti Subject: Re: [PATCH] KVM: Fix page-crossing MMIO Date: Thu, 19 Apr 2012 20:35:27 -0300 Message-ID: <20120419233527.GB26845@amt.cnet> References: <1334766167-25162-1-git-send-email-avi@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org To: Avi Kivity Return-path: Received: from mx1.redhat.com ([209.132.183.28]:46401 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753860Ab2DSXjZ (ORCPT ); Thu, 19 Apr 2012 19:39:25 -0400 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q3JNdOUd027460 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 19 Apr 2012 19:39:25 -0400 Content-Disposition: inline In-Reply-To: <1334766167-25162-1-git-send-email-avi@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Wed, Apr 18, 2012 at 07:22:47PM +0300, Avi Kivity wrote: > MMIO that are split across a page boundary are currently broken - the > code does not expect to be aborted by the exit to userspace for the > first MMIO fragment. > > This patch fixes the problem by generalizing the current code for handling > 16-byte MMIOs to handle a number of "fragments", and changes the MMIO > code to create those fragments. > > Signed-off-by: Avi Kivity Applied, thanks.