Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
src/qemu/qemu_driver.c | 12 ------------
1 file changed, 12 deletions(-)
diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
index 1e7f17b750..e7b0acd46f 100644
--- a/src/qemu/qemu_driver.c
+++ b/src/qemu/qemu_driver.c
@@ -19809,18 +19809,6 @@ qemuDomainSetBlockThreshold(virDomainPtr dom,
goto endjob;
}
- if (!virQEMUCapsGet(priv->qemuCaps, QEMU_CAPS_BLOCKDEV) &&
- !src->nodestorage &&
- qemuBlockNodeNamesDetect(driver, vm, VIR_ASYNC_JOB_NONE) < 0)
- goto endjob;
-
- if (!src->nodestorage) {
- virReportError(VIR_ERR_OPERATION_UNSUPPORTED,
- _("threshold currently can't be set for block device
'%s'"),
- dev);
- goto endjob;
- }
-
nodename = g_strdup(src->nodestorage);
qemuDomainObjEnterMonitor(driver, vm);
--
2.36.1