Re: [PATCH v3 2/3] virtio-pci: Use ioeventfd for virtqueue notify

2010-11-16 Thread Stefan Hajnoczi
On Tue, Nov 16, 2010 at 4:02 PM, Michael S. Tsirkin wrote: > On Fri, Nov 12, 2010 at 01:24:28PM +, Stefan Hajnoczi wrote: >> Virtqueue notify is currently handled synchronously in userspace virtio.   >> This >> prevents the vcpu from executing guest code while hardware emulation code >> handle

Re: [PATCH v3 2/3] virtio-pci: Use ioeventfd for virtqueue notify

2010-11-16 Thread Michael S. Tsirkin
On Fri, Nov 12, 2010 at 01:24:28PM +, Stefan Hajnoczi wrote: > Virtqueue notify is currently handled synchronously in userspace virtio. This > prevents the vcpu from executing guest code while hardware emulation code > handles the notify. > > On systems that support KVM, the ioeventfd mechani

[PATCH v3 2/3] virtio-pci: Use ioeventfd for virtqueue notify

2010-11-12 Thread Stefan Hajnoczi
Virtqueue notify is currently handled synchronously in userspace virtio. This prevents the vcpu from executing guest code while hardware emulation code handles the notify. On systems that support KVM, the ioeventfd mechanism can be used to make virtqueue notify a lightweight exit by deferring har