Re: [Qemu-devel] [PATCH v2] vhost: Fix aborting if KVM does not support eventfds

2015-11-25 Thread Pavel Fedin
Hello! > > Or better yet, actually implement host notifiers > > in userspace - should not be that hard to do, just > > do write into eventfd. > > I sent this RFC patch a while back: Thank you very much, but Paolo already pointed it out for me, and i have picked it up: https://lists.gnu.org/ar

Re: [Qemu-devel] [PATCH v2] vhost: Fix aborting if KVM does not support eventfds

2015-11-25 Thread Stefan Hajnoczi
On Wed, Nov 18, 2015 at 11:25:32PM +0200, Michael S. Tsirkin wrote: > On Tue, Nov 17, 2015 at 10:17:37AM +0300, Pavel Fedin wrote: > > If you happen to have a stock kernel of old version, like 3.x, > > On ARM > > > and you > > attempt to enable vhost by setting vhost=on, qemu aborts with error: >

Re: [Qemu-devel] [PATCH v2] vhost: Fix aborting if KVM does not support eventfds

2015-11-18 Thread Michael S. Tsirkin
On Tue, Nov 17, 2015 at 10:17:37AM +0300, Pavel Fedin wrote: > If you happen to have a stock kernel of old version, like 3.x, On ARM > and you > attempt to enable vhost by setting vhost=on, qemu aborts with error: > kvm_mem_ioeventfd_add: error adding ioeventfd: Function not implemented > > This

[Qemu-devel] [PATCH v2] vhost: Fix aborting if KVM does not support eventfds

2015-11-16 Thread Pavel Fedin
If you happen to have a stock kernel of old version, like 3.x, and you attempt to enable vhost by setting vhost=on, qemu aborts with error: kvm_mem_ioeventfd_add: error adding ioeventfd: Function not implemented This patch adds capability check, so that vhost gets disabled instead. A warning is d