Re: [PATCH 2/3] KVM: X86: Allow userspace to disable ioport intercept

2018-05-15 Thread Wanpeng Li
2018-05-16 5:56 GMT+08:00 Jim Mattson : > I'd prefer to let the kvm module have the final say as to whether or > not to allow userspace to do this. I have an IRC discussion with Paolo, it seems that he didn't like the original idea of the patchset. Regards, Wanpeng Li > >

Re: [PATCH 2/3] KVM: X86: Allow userspace to disable ioport intercept

2018-05-15 Thread Wanpeng Li
2018-05-16 5:56 GMT+08:00 Jim Mattson : > I'd prefer to let the kvm module have the final say as to whether or > not to allow userspace to do this. I have an IRC discussion with Paolo, it seems that he didn't like the original idea of the patchset. Regards, Wanpeng Li > > On Fri, May 11, 2018

Re: [PATCH 2/3] KVM: X86: Allow userspace to disable ioport intercept

2018-05-15 Thread Jim Mattson
I'd prefer to let the kvm module have the final say as to whether or not to allow userspace to do this. On Fri, May 11, 2018 at 8:43 AM, Konrad Rzeszutek Wilk wrote: > On Fri, May 11, 2018 at 11:42:46AM -0400, Konrad Rzeszutek Wilk wrote: >> On Mon, Apr 16, 2018 at

Re: [PATCH 2/3] KVM: X86: Allow userspace to disable ioport intercept

2018-05-15 Thread Jim Mattson
I'd prefer to let the kvm module have the final say as to whether or not to allow userspace to do this. On Fri, May 11, 2018 at 8:43 AM, Konrad Rzeszutek Wilk wrote: > 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

Re: [PATCH 2/3] KVM: X86: Allow userspace to disable ioport intercept

2018-05-11 Thread Konrad Rzeszutek Wilk
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 > > > > Allow to disable ioport intercept by userspace. > > > > Cc: Paolo Bonzini > > Cc: Radim

Re: [PATCH 2/3] KVM: X86: Allow userspace to disable ioport intercept

2018-05-11 Thread Konrad Rzeszutek Wilk
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 > > > > Allow to disable ioport intercept by userspace. > > > > Cc: Paolo Bonzini > > Cc: Radim Krčmář > > Cc: Tim Shearer > > Cc: Liran

Re: [PATCH 2/3] KVM: X86: Allow userspace to disable ioport intercept

2018-05-11 Thread Konrad Rzeszutek Wilk
On Mon, Apr 16, 2018 at 10:46:01PM -0700, Wanpeng Li wrote: > From: Wanpeng Li > > Allow to disable ioport intercept by userspace. > > Cc: Paolo Bonzini > Cc: Radim Krčmář > Cc: Tim Shearer > Cc: Liran

Re: [PATCH 2/3] KVM: X86: Allow userspace to disable ioport intercept

2018-05-11 Thread Konrad Rzeszutek Wilk
On Mon, Apr 16, 2018 at 10:46:01PM -0700, Wanpeng Li wrote: > From: Wanpeng Li > > Allow to disable ioport intercept by userspace. > > Cc: Paolo Bonzini > Cc: Radim Krčmář > Cc: Tim Shearer > Cc: Liran Alon > Signed-off-by: Wanpeng Li > --- > Documentation/virtual/kvm/api.txt | 11

[PATCH 2/3] KVM: X86: Allow userspace to disable ioport intercept

2018-04-16 Thread Wanpeng Li
From: Wanpeng Li Allow to disable ioport intercept by userspace. Cc: Paolo Bonzini Cc: Radim Krčmář Cc: Tim Shearer Cc: Liran Alon Signed-off-by: Wanpeng Li

[PATCH 2/3] KVM: X86: Allow userspace to disable ioport intercept

2018-04-16 Thread Wanpeng Li
From: Wanpeng Li Allow to disable ioport intercept by userspace. Cc: Paolo Bonzini Cc: Radim Krčmář 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