mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-02 04:15:46 +00:00
qemuDomainSetBlockThreshold: Use 'storage' node name accessor
We need to keep setting the block threshold on the real storage layer per semantics of the API. Use the appropriate accessor. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
4526067bad
commit
3645db2ad0
@ -18682,7 +18682,7 @@ qemuDomainSetBlockThreshold(virDomainPtr dom,
|
|||||||
goto endjob;
|
goto endjob;
|
||||||
}
|
}
|
||||||
|
|
||||||
nodename = g_strdup(src->nodestorage);
|
nodename = g_strdup(qemuBlockStorageSourceGetStorageNodename(src));
|
||||||
|
|
||||||
qemuDomainObjEnterMonitor(vm);
|
qemuDomainObjEnterMonitor(vm);
|
||||||
rc = qemuMonitorSetBlockThreshold(priv->mon, nodename, threshold);
|
rc = qemuMonitorSetBlockThreshold(priv->mon, nodename, threshold);
|
||||||
|
Loading…
Reference in New Issue
Block a user