summaryrefslogtreecommitdiff
path: root/src/qemu/qemu_command.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/qemu/qemu_command.c')
-rw-r--r--src/qemu/qemu_command.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c
index 58a0484b33..dcad449413 100644
--- a/src/qemu/qemu_command.c
+++ b/src/qemu/qemu_command.c
@@ -7305,6 +7305,24 @@ qemuBuildIOThreadCommandLine(virCommand *cmd,
NULL) < 0)
return -1;
+ if (iothread->set_poll_max_ns &&
+ virJSONValueObjectAdd(&props,
+ "U:poll-max-ns", iothread->poll_max_ns,
+ NULL) < 0)
+ return -1;
+
+ if (iothread->set_poll_grow &&
+ virJSONValueObjectAdd(&props,
+ "U:poll-grow", iothread->poll_grow,
+ NULL) < 0)
+ return -1;
+
+ if (iothread->set_poll_shrink &&
+ virJSONValueObjectAdd(&props,
+ "U:poll-shrink", iothread->poll_shrink,
+ NULL) < 0)
+ return -1;
+
if (qemuBuildObjectCommandlineFromJSON(cmd, props, qemuCaps) < 0)
return -1;
}