mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 19:32:19 +00:00
qemu: Always assume support for QEMU_CAPS_IOTHREAD_POLLING
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 <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
4e9923da92
commit
8a5645d3f7
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user