diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2014-03-03 11:30:07 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2014-03-13 14:42:24 +0100 |
commit | 6e4a876b433f78f72724f45ae3f9e26596da1b4d (patch) | |
tree | 9eafebcbf749c6676ada4ae732722ac686739bd0 /thread-pool.c | |
parent | 7d1de46448d0d52183c397d76fbc86cb614ed21b (diff) |
iothread: add "iothread" qdev property type
Add a "iothread" qdev property type so devices can be hooked up to an
IOThread from the comand-line:
qemu -object iothread,id=iothread0 \
-device some-device,x-iothread=iothread0
Note that Paolo Bonzini <pbonzini@redhat.com> has suggested using QOM
links instead. This way the relationship between the objects is
reflected in QOM. There are currently shortcomings of
object_property_add_link() which prevent this use case. I will attempt
to fix them and move to QOM links in a separate series.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'thread-pool.c')
0 files changed, 0 insertions, 0 deletions