diff options
| author | Stefan Hajnoczi <stefanha@redhat.com> | 2017-12-07 20:13:17 +0000 |
|---|---|---|
| committer | Stefan Hajnoczi <stefanha@redhat.com> | 2017-12-19 10:25:09 +0000 |
| commit | 882e9b89af7c1086d97cee11b2437337e756fa00 (patch) | |
| tree | bc35d10a532c75a8b002ed935a6d371acb216a01 /hw/core/qdev-properties-system.c | |
| parent | d02d8dde0c0fe3d77a31046e104a55f2e6c50bf6 (diff) | |
| download | focaccia-qemu-882e9b89af7c1086d97cee11b2437337e756fa00.tar.gz focaccia-qemu-882e9b89af7c1086d97cee11b2437337e756fa00.zip | |
blockdev: add x-blockdev-set-iothread force boolean
When a node is already associated with a BlockBackend the x-blockdev-set-iothread command refuses to set the IOThread. This is to prevent accidentally changing the IOThread when the nodes are in use. When the nodes are created with -drive they automatically get a BlockBackend. In that case we know nothing is using them yet and it's safe to set the IOThread. Add a force boolean to override the check. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-id: 20171207201320.19284-4-stefanha@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/core/qdev-properties-system.c')
0 files changed, 0 insertions, 0 deletions