diff options
| author | Stefan Hajnoczi <stefanha@redhat.com> | 2014-06-10 09:03:20 +0200 |
|---|---|---|
| committer | Stefan Hajnoczi <stefanha@redhat.com> | 2014-07-01 09:15:02 +0200 |
| commit | 467b3f33e9b094bf6db5a4d6e6905f077edca0fb (patch) | |
| tree | 3e5be336e72e526481b81651c5aaa7b564d3f395 /hw/core/qdev-properties-system.c | |
| parent | 32a877e4059ad7fd428bdd31d3e954fed72fa21b (diff) | |
| download | focaccia-qemu-467b3f33e9b094bf6db5a4d6e6905f077edca0fb.tar.gz focaccia-qemu-467b3f33e9b094bf6db5a4d6e6905f077edca0fb.zip | |
virtio-blk: replace x-iothread with iothread link property
Up until now -device virtio-blk-pci,x-iothread=<id> was used to assign an IOThread. This was a temporary solution while we cleaned up QOM link properties. This patch switches over to a QOM link property since it is now possible to restrict the setter to unrealized instances and automatically unref the IOThread when the virtio-blk-pci device is freed. Since the "iothread" property is a QOM property and not a qdev property, we must alias it explicitly for virtio-blk-pci, as well as CCW and s390-virtio. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/core/qdev-properties-system.c')
0 files changed, 0 insertions, 0 deletions