iothread polling mode and the corresponding properties were added in
qemu-2.9 ( 0d9d86fb4df4882b ). We can always assume that qemu supports
them.

Signed-off-by: Peter Krempa <pkre...@redhat.com>
---
 src/qemu/qemu_driver.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
index fcec445f14..f43d95adcb 100644
--- a/src/qemu/qemu_driver.c
+++ b/src/qemu/qemu_driver.c
@@ -5055,12 +5055,6 @@ qemuDomainHotplugModIOThread(virDomainObj *vm,
     qemuDomainObjPrivate *priv = vm->privateData;
     int rc;

-    if (!virQEMUCapsGet(priv->qemuCaps, QEMU_CAPS_IOTHREAD_POLLING)) {
-        virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
-                       _("IOThreads polling is not supported for this QEMU"));
-        return -1;
-    }
-
     qemuDomainObjEnterMonitor(vm);

     rc = qemuMonitorSetIOThread(priv->mon, &iothread);
-- 
2.39.2

Reply via email to