RE: [PATCH 0/3] KVM: VMX: Allow to disable ioport intercept per-VM by userspace

2018-05-14 Thread Tim Shearer
> From: Wanpeng Li > Sent: Friday, May 11, 2018 9:03 PM > > Yeah, both you and Liran give the original idea. :) Tim and Liran, any > review for the patchset? > > +Architectures: x86 > +Parameters: args[0] defines whether ioport intercept Agree with Konrad that the

RE: [PATCH 0/3] KVM: VMX: Allow to disable ioport intercept per-VM by userspace

2018-05-14 Thread Tim Shearer
> From: Wanpeng Li > Sent: Friday, May 11, 2018 9:03 PM > > Yeah, both you and Liran give the original idea. :) Tim and Liran, any > review for the patchset? > > +Architectures: x86 > +Parameters: args[0] defines whether ioport intercept Agree with Konrad that the flexibility of specifying

Re: [PATCH 0/3] KVM: VMX: Allow to disable ioport intercept per-VM by userspace

2018-05-11 Thread Wanpeng Li
2018-05-11 23:40 GMT+08:00 Konrad Rzeszutek Wilk : > On Mon, Apr 16, 2018 at 10:45:59PM -0700, Wanpeng Li wrote: >> Tim Shearer reported that "There is a guest which is running a packet >> forwarding app based on the DPDK (dpdk.org). The packet receive routine >> writes to

Re: [PATCH 0/3] KVM: VMX: Allow to disable ioport intercept per-VM by userspace

2018-05-11 Thread Wanpeng Li
2018-05-11 23:40 GMT+08:00 Konrad Rzeszutek Wilk : > On Mon, Apr 16, 2018 at 10:45:59PM -0700, Wanpeng Li wrote: >> Tim Shearer reported that "There is a guest which is running a packet >> forwarding app based on the DPDK (dpdk.org). The packet receive routine >> writes to 0xc070 using glibc's

Re: [PATCH 0/3] KVM: VMX: Allow to disable ioport intercept per-VM by userspace

2018-05-11 Thread Konrad Rzeszutek Wilk
On Mon, Apr 16, 2018 at 10:45:59PM -0700, Wanpeng Li wrote: > Tim Shearer reported that "There is a guest which is running a packet > forwarding app based on the DPDK (dpdk.org). The packet receive routine > writes to 0xc070 using glibc's "outw_p" function which does an additional > write to I/O

Re: [PATCH 0/3] KVM: VMX: Allow to disable ioport intercept per-VM by userspace

2018-05-11 Thread Konrad Rzeszutek Wilk
On Mon, Apr 16, 2018 at 10:45:59PM -0700, Wanpeng Li wrote: > Tim Shearer reported that "There is a guest which is running a packet > forwarding app based on the DPDK (dpdk.org). The packet receive routine > writes to 0xc070 using glibc's "outw_p" function which does an additional > write to I/O

Re: [PATCH 0/3] KVM: VMX: Allow to disable ioport intercept per-VM by userspace

2018-05-08 Thread Paolo Bonzini
On 08/05/2018 09:55, Wanpeng Li wrote: > 2018-04-17 13:45 GMT+08:00 Wanpeng Li : >> Tim Shearer reported that "There is a guest which is running a packet >> forwarding app based on the DPDK (dpdk.org). The packet receive routine >> writes to 0xc070 using glibc's "outw_p"

Re: [PATCH 0/3] KVM: VMX: Allow to disable ioport intercept per-VM by userspace

2018-05-08 Thread Paolo Bonzini
On 08/05/2018 09:55, Wanpeng Li wrote: > 2018-04-17 13:45 GMT+08:00 Wanpeng Li : >> Tim Shearer reported that "There is a guest which is running a packet >> forwarding app based on the DPDK (dpdk.org). The packet receive routine >> writes to 0xc070 using glibc's "outw_p" function which does an

Re: [PATCH 0/3] KVM: VMX: Allow to disable ioport intercept per-VM by userspace

2018-05-08 Thread Wanpeng Li
2018-04-17 13:45 GMT+08:00 Wanpeng Li : > Tim Shearer reported that "There is a guest which is running a packet > forwarding app based on the DPDK (dpdk.org). The packet receive routine > writes to 0xc070 using glibc's "outw_p" function which does an additional > write to I/O

Re: [PATCH 0/3] KVM: VMX: Allow to disable ioport intercept per-VM by userspace

2018-05-08 Thread Wanpeng Li
2018-04-17 13:45 GMT+08:00 Wanpeng Li : > Tim Shearer reported that "There is a guest which is running a packet > forwarding app based on the DPDK (dpdk.org). The packet receive routine > writes to 0xc070 using glibc's "outw_p" function which does an additional > write to I/O port 0x80. It does

[PATCH 0/3] KVM: VMX: Allow to disable ioport intercept per-VM by userspace

2018-04-16 Thread Wanpeng Li
Tim Shearer reported that "There is a guest which is running a packet forwarding app based on the DPDK (dpdk.org). The packet receive routine writes to 0xc070 using glibc's "outw_p" function which does an additional write to I/O port 0x80. It does this write for every packet that's received,

[PATCH 0/3] KVM: VMX: Allow to disable ioport intercept per-VM by userspace

2018-04-16 Thread Wanpeng Li
Tim Shearer reported that "There is a guest which is running a packet forwarding app based on the DPDK (dpdk.org). The packet receive routine writes to 0xc070 using glibc's "outw_p" function which does an additional write to I/O port 0x80. It does this write for every packet that's received,