mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-21 20:15:17 +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;
|
||||
}
|
||||
|
||||
nodename = g_strdup(src->nodestorage);
|
||||
nodename = g_strdup(qemuBlockStorageSourceGetStorageNodename(src));
|
||||
|
||||
qemuDomainObjEnterMonitor(vm);
|
||||
rc = qemuMonitorSetBlockThreshold(priv->mon, nodename, threshold);
|
||||
|
Loading…
x
Reference in New Issue
Block a user