Re: [Qemu-devel] [PATCH 1/5] virtio-pci: use ioeventfd even when KVM is disabled

2017-06-28 Thread Stefan Hajnoczi
On Tue, Jun 27, 2017 at 01:07:35PM +0200, Kevin Wolf wrote: > Am 27.06.2017 um 10:43 hat Fam Zheng geschrieben: > > On Thu, 06/15 17:38, Stefan Hajnoczi wrote: > > > Old kvm.ko versions only supported a tiny number of ioeventfds so > > > virtio-pci avoids ioeventfds when kvm_has_many_ioeventfds() r

Re: [Qemu-devel] [PATCH 1/5] virtio-pci: use ioeventfd even when KVM is disabled

2017-06-27 Thread Kevin Wolf
Am 27.06.2017 um 10:43 hat Fam Zheng geschrieben: > On Thu, 06/15 17:38, Stefan Hajnoczi wrote: > > Old kvm.ko versions only supported a tiny number of ioeventfds so > > virtio-pci avoids ioeventfds when kvm_has_many_ioeventfds() returns 0. > > > > Do not check kvm_has_many_ioeventfds() when KVM i

Re: [Qemu-devel] [PATCH 1/5] virtio-pci: use ioeventfd even when KVM is disabled

2017-06-27 Thread Fam Zheng
On Thu, 06/15 17:38, Stefan Hajnoczi wrote: > Old kvm.ko versions only supported a tiny number of ioeventfds so > virtio-pci avoids ioeventfds when kvm_has_many_ioeventfds() returns 0. > > Do not check kvm_has_many_ioeventfds() when KVM is disabled since it > always returns 0. Since commit 8c56c1

Re: [Qemu-devel] [PATCH 1/5] virtio-pci: use ioeventfd even when KVM is disabled

2017-06-19 Thread Stefan Hajnoczi
On Fri, Jun 16, 2017 at 05:12:18PM +0300, Michael S. Tsirkin wrote: > On Thu, Jun 15, 2017 at 05:38:09PM +0100, Stefan Hajnoczi wrote: > > Old kvm.ko versions only supported a tiny number of ioeventfds so > > virtio-pci avoids ioeventfds when kvm_has_many_ioeventfds() returns 0. > > > > Do not che

Re: [Qemu-devel] [PATCH 1/5] virtio-pci: use ioeventfd even when KVM is disabled

2017-06-16 Thread Michael S. Tsirkin
On Thu, Jun 15, 2017 at 05:38:09PM +0100, Stefan Hajnoczi wrote: > Old kvm.ko versions only supported a tiny number of ioeventfds so > virtio-pci avoids ioeventfds when kvm_has_many_ioeventfds() returns 0. > > Do not check kvm_has_many_ioeventfds() when KVM is disabled since it > always returns 0.

Re: [Qemu-devel] [PATCH 1/5] virtio-pci: use ioeventfd even when KVM is disabled

2017-06-16 Thread Stefan Hajnoczi
On Fri, Jun 16, 2017 at 06:26:01AM +0300, Michael S. Tsirkin wrote: > On Thu, Jun 15, 2017 at 05:38:09PM +0100, Stefan Hajnoczi wrote: > > Old kvm.ko versions only supported a tiny number of ioeventfds so > > virtio-pci avoids ioeventfds when kvm_has_many_ioeventfds() returns 0. > > > > Do not che

Re: [Qemu-devel] [PATCH 1/5] virtio-pci: use ioeventfd even when KVM is disabled

2017-06-15 Thread Michael S. Tsirkin
On Thu, Jun 15, 2017 at 05:38:09PM +0100, Stefan Hajnoczi wrote: > Old kvm.ko versions only supported a tiny number of ioeventfds so > virtio-pci avoids ioeventfds when kvm_has_many_ioeventfds() returns 0. > > Do not check kvm_has_many_ioeventfds() when KVM is disabled since it > always returns 0.

[Qemu-devel] [PATCH 1/5] virtio-pci: use ioeventfd even when KVM is disabled

2017-06-15 Thread Stefan Hajnoczi
Old kvm.ko versions only supported a tiny number of ioeventfds so virtio-pci avoids ioeventfds when kvm_has_many_ioeventfds() returns 0. Do not check kvm_has_many_ioeventfds() when KVM is disabled since it always returns 0. Since commit 8c56c1a592b5092d91da8d8943c1d6462a6f ("memory: emulate i