mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
qemuDomainDiskBackingStoreGetName: Remove unused argument
Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
794d7d97d8
commit
4a19b7b832
@ -11631,7 +11631,6 @@ qemuDomainDiskLookupByNodename(virDomainDefPtr def,
|
|||||||
*/
|
*/
|
||||||
char *
|
char *
|
||||||
qemuDomainDiskBackingStoreGetName(virDomainDiskDefPtr disk,
|
qemuDomainDiskBackingStoreGetName(virDomainDiskDefPtr disk,
|
||||||
virStorageSourcePtr src G_GNUC_UNUSED,
|
|
||||||
unsigned int idx)
|
unsigned int idx)
|
||||||
{
|
{
|
||||||
char *ret = NULL;
|
char *ret = NULL;
|
||||||
|
@ -973,7 +973,6 @@ virDomainDiskDefPtr qemuDomainDiskLookupByNodename(virDomainDefPtr def,
|
|||||||
unsigned int *idx);
|
unsigned int *idx);
|
||||||
|
|
||||||
char *qemuDomainDiskBackingStoreGetName(virDomainDiskDefPtr disk,
|
char *qemuDomainDiskBackingStoreGetName(virDomainDiskDefPtr disk,
|
||||||
virStorageSourcePtr src,
|
|
||||||
unsigned int idx);
|
unsigned int idx);
|
||||||
|
|
||||||
virStorageSourcePtr qemuDomainGetStorageSourceByDevstr(const char *devstr,
|
virStorageSourcePtr qemuDomainGetStorageSourceByDevstr(const char *devstr,
|
||||||
|
@ -1514,7 +1514,7 @@ qemuProcessHandleBlockThreshold(qemuMonitorPtr mon G_GNUC_UNUSED,
|
|||||||
if (virStorageSourceIsLocalStorage(src))
|
if (virStorageSourceIsLocalStorage(src))
|
||||||
path = src->path;
|
path = src->path;
|
||||||
|
|
||||||
if ((dev = qemuDomainDiskBackingStoreGetName(disk, src, idx)))
|
if ((dev = qemuDomainDiskBackingStoreGetName(disk, idx)))
|
||||||
event = virDomainEventBlockThresholdNewFromObj(vm, dev, path,
|
event = virDomainEventBlockThresholdNewFromObj(vm, dev, path,
|
||||||
threshold, excess);
|
threshold, excess);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user