From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: [PATCH 2/3] KVM: X86: Allow userspace to disable ioport intercept Date: Fri, 11 May 2018 11:43:59 -0400 Message-ID: <20180511154359.GC26700@char.us.oracle.com> References: <1523943962-25415-1-git-send-email-wanpengli@tencent.com> <1523943962-25415-3-git-send-email-wanpengli@tencent.com> <20180511154246.GH27459@char.us.oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org, Paolo Bonzini , Radim =?utf-8?B?S3LEjW3DocWZ?= , Tim Shearer , Liran Alon To: Wanpeng Li Return-path: Content-Disposition: inline In-Reply-To: <20180511154246.GH27459@char.us.oracle.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On Fri, May 11, 2018 at 11:42:46AM -0400, Konrad Rzeszutek Wilk wrote: > On Mon, Apr 16, 2018 at 10:46:01PM -0700, Wanpeng Li wrote: > > From: Wanpeng Li > >=20 > > Allow to disable ioport intercept by userspace. > >=20 > > Cc: Paolo Bonzini > > Cc: Radim Kr=C4=8Dm=C3=A1=C5=99 > > Cc: Tim Shearer > > Cc: Liran Alon > > Signed-off-by: Wanpeng Li > > --- > > Documentation/virtual/kvm/api.txt | 11 +++++++++++ > > arch/x86/include/asm/kvm_host.h | 2 ++ > > arch/x86/kvm/x86.c | 5 +++++ > > include/uapi/linux/kvm.h | 1 + > > 4 files changed, 19 insertions(+) > >=20 > > diff --git a/Documentation/virtual/kvm/api.txt b/Documentation/virtua= l/kvm/api.txt > > index 1c7958b..3d0488e 100644 > > --- a/Documentation/virtual/kvm/api.txt > > +++ b/Documentation/virtual/kvm/api.txt > > @@ -4378,6 +4378,17 @@ all such vmexits. > > =20 > > Do not enable KVM_FEATURE_PV_UNHALT if you disable HLT exits. > > =20 > > +7.14 KVM_CAP_IOPORT_DISABLE_INTERCEPT > > + > > +Architectures: x86 And to be exact: Intel only..