From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [PATCH] Check use I/O bitmap first before unconditional I/O exit Date: Wed, 8 Jan 2014 19:01:48 -0200 Message-ID: <20140108210147.GA20624@amt.cnet> References: <1388436989-8597-1-git-send-email-zzhsuny@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: gleb@redhat.com, pbonzini@redhat.com, hpa@zytor.com, kvm@vger.kernel.org To: Zhihui Zhang Return-path: Received: from mx1.redhat.com ([209.132.183.28]:41747 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757210AbaAHVSc (ORCPT ); Wed, 8 Jan 2014 16:18:32 -0500 Content-Disposition: inline In-Reply-To: <1388436989-8597-1-git-send-email-zzhsuny@gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: On Mon, Dec 30, 2013 at 03:56:29PM -0500, Zhihui Zhang wrote: > According to Table C-1 of Intel SDM 3C, a VM exit happens on an I/O instruction when > "use I/O bitmaps" VM-execution control was 0 _and_ the "unconditional I/O exiting" > VM-execution control was 1. So we can't just check "unconditional I/O exiting" alone. > This patch was improved by suggestion from Jan Kiszka. > > Signed-off-by: Zhihui Zhang Applied, thanks.