On 04/03/13 10:15, Stefan Hajnoczi wrote:
From: Paolo Bonzini pbonz...@redhat.com
During the review of the dataplane code, the EventPoll API morphed itself
(not concidentially) into something very very similar to an AioContext.
Thus, it is trivial to convert virtio-blk-dataplane to use
Il 08/03/2013 09:37, Christian Borntraeger ha scritto:
+if (assign) {
+int r = event_notifier_init(notifier, 0);
+
+if (r 0) {
+return r;
+}
+virtio_queue_set_guest_notifier_fd_handler(vq, true, with_irqfd);
Perhaps you can simply hard-code
On Fri, 08 Mar 2013 10:22:36 +0100
Paolo Bonzini pbonz...@redhat.com wrote:
Il 08/03/2013 09:37, Christian Borntraeger ha scritto:
+if (assign) {
+int r = event_notifier_init(notifier, 0);
+
+if (r 0) {
+return r;
+}
+
Il 08/03/2013 13:44, Cornelia Huck ha scritto:
Perhaps you can simply hard-code with_irqfd to false in this call to
virtio_queue_set_guest_notifier_fd_handler and the one below? Then the
guest notifier will be emulated in userspace and processed via
vdev-binding-notify.
Well,
From: Paolo Bonzini pbonz...@redhat.com
During the review of the dataplane code, the EventPoll API morphed itself
(not concidentially) into something very very similar to an AioContext.
Thus, it is trivial to convert virtio-blk-dataplane to use AioContext,
and a first baby step towards letting