All the supported QEMU versions should have iothread support on the virtio-scsi controllers if they are compiled in. Signed-off-by: Ján Tomko <jtomko@xxxxxxxxxx> --- src/qemu/qemu_process.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c index aaf51e019a..f8ce822dda 100644 --- a/src/qemu/qemu_process.c +++ b/src/qemu/qemu_process.c @@ -5304,8 +5304,6 @@ static int qemuProcessStartValidateIOThreads(virDomainObj *vm, virQEMUCaps *qemuCaps) { - size_t i; - if (vm->def->niothreadids > 0 && !virQEMUCapsGet(qemuCaps, QEMU_CAPS_OBJECT_IOTHREAD)) { virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s", @@ -5313,20 +5311,6 @@ qemuProcessStartValidateIOThreads(virDomainObj *vm, return -1; } - for (i = 0; i < vm->def->ncontrollers; i++) { - virDomainControllerDef *cont = vm->def->controllers[i]; - - if (cont->type == VIR_DOMAIN_CONTROLLER_TYPE_SCSI && - cont->model == VIR_DOMAIN_CONTROLLER_MODEL_SCSI_VIRTIO_SCSI && - cont->iothread > 0 && - !virQEMUCapsGet(qemuCaps, QEMU_CAPS_VIRTIO_SCSI_IOTHREAD)) { - virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s", - _("IOThreads for virtio-scsi not supported for " - "this QEMU")); - return -1; - } - } - return 0; } -- 2.37.1