From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCHv2 6/6] KVM: VMX: handle IO when emulation is due to #GP in real mode. Date: Sat, 22 Dec 2012 11:06:39 +0000 (UTC) Message-ID: References: <1356015467-32607-1-git-send-email-gleb@redhat.com> <1356015467-32607-7-git-send-email-gleb@redhat.com> <1356017141.10845.33.camel@ul30vt.home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from plane.gmane.org ([80.91.229.3]:57362 "EHLO plane.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750853Ab2LVLJy (ORCPT ); Sat, 22 Dec 2012 06:09:54 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TmMxw-0000Ji-QA for kvm@vger.kernel.org; Sat, 22 Dec 2012 12:10:05 +0100 Received: from 93-172-35-137.bb.netvision.net.il ([93.172.35.137]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 22 Dec 2012 12:10:04 +0100 Received: from avi.kivity by 93-172-35-137.bb.netvision.net.il with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 22 Dec 2012 12:10:04 +0100 Sender: kvm-owner@vger.kernel.org List-ID: Alex Williamson redhat.com> writes: > Thanks for finding the right fix Gleb. This originally came about from > an experiment in lazily mapping assigned device MMIO BARs. That's > something I think might still have value for conserving memory slots, > but now I have to be aware of this bug. That makes me wonder if we need > to expose a capability for the fix. I could also just avoid the lazy > path if a device includes a ROM, but it's still difficult to know how > long such a workaround is required. Thanks, Just backport the fix to all stable kernels and you're done. (posting from gmane so cc: list lost)