diff options
| author | Stefan Hajnoczi | 2014-03-03 11:30:07 +0100 |
|---|---|---|
| committer | Stefan Hajnoczi | 2014-03-13 14:42:24 +0100 |
| commit | 6e4a876b433f78f72724f45ae3f9e26596da1b4d (patch) | |
| tree | 9eafebcbf749c6676ada4ae732722ac686739bd0 /include/exec/memory-internal.h | |
| parent | qdev: make get_pointer() handle temporary strings (diff) | |
| download | qemu-6e4a876b433f78f72724f45ae3f9e26596da1b4d.tar.gz qemu-6e4a876b433f78f72724f45ae3f9e26596da1b4d.tar.xz qemu-6e4a876b433f78f72724f45ae3f9e26596da1b4d.zip | |
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 'include/exec/memory-internal.h')
0 files changed, 0 insertions, 0 deletions
