Re: [Qemu-devel] [PATCH v3 6/6] dataplane: replace internal thread with IOThread

2014-02-20 Thread Paolo Bonzini
Il 20/02/2014 13:50, Stefan Hajnoczi ha scritto: Today virtio-blk dataplane uses a 1:1 device-per-thread model. Now that IOThreads have been introduced we can generalize this to N:M devices per threads. This patch drops thread code from dataplane in favor of running inside an IOThread AioContex

[Qemu-devel] [PATCH v3 6/6] dataplane: replace internal thread with IOThread

2014-02-20 Thread Stefan Hajnoczi
Today virtio-blk dataplane uses a 1:1 device-per-thread model. Now that IOThreads have been introduced we can generalize this to N:M devices per threads. This patch drops thread code from dataplane in favor of running inside an IOThread AioContext. As a bonus we solve the case where a guest keep