mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-04-26 15:14:42 +00:00
qemuDomainNamespaceSetupDisk: initialize npaths
Introduced by commit d3db304. Reported-by: John Ferlan <jferlan@redhat.com>
This commit is contained in:
parent
1e98d450f2
commit
e2ad8e5993
@ -10034,7 +10034,7 @@ qemuDomainNamespaceSetupDisk(virDomainObjPtr vm,
|
|||||||
{
|
{
|
||||||
virStorageSourcePtr next;
|
virStorageSourcePtr next;
|
||||||
char **paths = NULL;
|
char **paths = NULL;
|
||||||
size_t npaths;
|
size_t npaths = 0;
|
||||||
int ret = -1;
|
int ret = -1;
|
||||||
|
|
||||||
if (!qemuDomainNamespaceEnabled(vm, QEMU_DOMAIN_NS_MOUNT))
|
if (!qemuDomainNamespaceEnabled(vm, QEMU_DOMAIN_NS_MOUNT))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user