On 06/09/2014 07:59 AM, Stefan Hajnoczi wrote: > This document explains how IOThreads and the main loop are related, > especially how to write code that can run in an IOThread. Currently on > virtio-blk-data-plane uses these techniques. The next obvious target is > virtio-scsi; there has also been work on virtio-net. > > Signed-off-by: Stefan Hajnoczi <stefa...@redhat.com> > --- > docs/multiple-iothreads.txt | 124 > ++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 124 insertions(+) > create mode 100644 docs/multiple-iothreads.txt > > diff --git a/docs/multiple-iothreads.txt b/docs/multiple-iothreads.txt > new file mode 100644 > index 0000000..f2b008d > --- /dev/null > +++ b/docs/multiple-iothreads.txt > @@ -0,0 +1,124 @@ > +This document explains the IOThread feature and how to write code that runs > +outside the QEMU global mutex.
Pre-existing epidemic in this directory, but should you assert copyright and a license? > + > +The main loop and IOThreads > +--------------------------- > +QEMU is an event-driven program that can do several things at once using an > +event loop. The VNC server and the QMP monitor are both processed from the > +same event loop which monitors their file descriptors until they become s/loop/loop,/ -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature