Re: [PATCH V6 6/6] kvm: add fast mmio capabilitiy

2015-09-15 Thread Paolo Bonzini
On 15/09/2015 18:44, Cornelia Huck wrote: >> > Can you explain why? If there is any non-zero valid length, "wildcard >> > length" (represented by zero) would also make sense. > What is a wildcard match supposed to mean in this case? The datamatch > field contains the queue index for the device s

Re: [PATCH V6 6/6] kvm: add fast mmio capabilitiy

2015-09-15 Thread Cornelia Huck
On Tue, 15 Sep 2015 18:29:49 +0200 Paolo Bonzini wrote: > On 15/09/2015 18:13, Cornelia Huck wrote: > > On Tue, 15 Sep 2015 17:07:55 +0200 > > Paolo Bonzini wrote: > > > >> On 15/09/2015 08:41, Jason Wang wrote: > >>> +With KVM_CAP_FAST_MMIO, a zero length mmio eventfd is allowed for > >>> +ker

Re: [PATCH V6 6/6] kvm: add fast mmio capabilitiy

2015-09-15 Thread Paolo Bonzini
On 15/09/2015 18:13, Cornelia Huck wrote: > On Tue, 15 Sep 2015 17:07:55 +0200 > Paolo Bonzini wrote: > >> On 15/09/2015 08:41, Jason Wang wrote: >>> +With KVM_CAP_FAST_MMIO, a zero length mmio eventfd is allowed for >>> +kernel to ignore the length of guest write and get a possible faster >>>

Re: [PATCH V6 6/6] kvm: add fast mmio capabilitiy

2015-09-15 Thread Cornelia Huck
On Tue, 15 Sep 2015 17:07:55 +0200 Paolo Bonzini wrote: > On 15/09/2015 08:41, Jason Wang wrote: > > +With KVM_CAP_FAST_MMIO, a zero length mmio eventfd is allowed for > > +kernel to ignore the length of guest write and get a possible faster > > +response. Note the speedup may only work on some s

Re: [PATCH V6 6/6] kvm: add fast mmio capabilitiy

2015-09-15 Thread Paolo Bonzini
On 15/09/2015 08:41, Jason Wang wrote: > +With KVM_CAP_FAST_MMIO, a zero length mmio eventfd is allowed for > +kernel to ignore the length of guest write and get a possible faster > +response. Note the speedup may only work on some specific > +architectures and setups. Otherwise, it's as fast as