diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2014-03-03 11:30:05 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2014-03-13 14:42:24 +0100 |
commit | be8d8537668c9be7a8dee6aed94b2b3f9fcd4a9f (patch) | |
tree | dce7a5c063e02a2cee81426212b434ea5af65eaa /hw/core | |
parent | 98563fc3ec44c1becce6f1720ad6b0a82ed101b4 (diff) |
iothread: add I/O thread object
This is a stand-in for Michael Roth's QContext. I expect this to be
replaced once QContext is completed.
The IOThread object is an AioContext event loop thread. This patch adds
the concept of multiple event loop threads, allowing users to define
them.
When SMP guests run on SMP hosts it makes sense to instantiate multiple
IOThreads. This spreads event loop processing across multiple cores.
Note that additional patches are required to actually bind a device to
an IOThread.
[Andreas Färber <afaerber@suse.de> pointed out that the embedded parent
object instance should be called "parent_obj" and have a newline
afterwards. This patch has been changed to reflect this.
-- Stefan]
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/core')
0 files changed, 0 insertions, 0 deletions