mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 14:15:28 +00:00
vboxDumpNetwork: rename to vboxDumpNetworks
Free up 'vboxDumpNetwork' for dumping single network. Signed-off-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
64db711dd9
commit
8880b8723b
@ -3695,7 +3695,7 @@ vboxDumpSharedFolders(virDomainDefPtr def, vboxDriverPtr data, IMachine *machine
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
vboxDumpNetwork(virDomainDefPtr def, vboxDriverPtr data, IMachine *machine, PRUint32 networkAdapterCount)
|
vboxDumpNetworks(virDomainDefPtr def, vboxDriverPtr data, IMachine *machine, PRUint32 networkAdapterCount)
|
||||||
{
|
{
|
||||||
PRUint32 netAdpIncCnt = 0;
|
PRUint32 netAdpIncCnt = 0;
|
||||||
size_t i = 0;
|
size_t i = 0;
|
||||||
@ -4188,7 +4188,7 @@ static char *vboxDomainGetXMLDesc(virDomainPtr dom, unsigned int flags)
|
|||||||
|
|
||||||
if (vboxDumpSharedFolders(def, data, machine) < 0)
|
if (vboxDumpSharedFolders(def, data, machine) < 0)
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
vboxDumpNetwork(def, data, machine, networkAdapterCount);
|
vboxDumpNetworks(def, data, machine, networkAdapterCount);
|
||||||
vboxDumpAudio(def, data, machine);
|
vboxDumpAudio(def, data, machine);
|
||||||
|
|
||||||
if (vboxDumpSerial(def, data, machine, serialPortCount) < 0)
|
if (vboxDumpSerial(def, data, machine, serialPortCount) < 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user