mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 12:35:17 +00:00
parallels: Fix false error messages in libvirt log
There was many errors in libvirt.log caused by prlsdkDelNet function because job variable was always initialized as PRL_INVALID_HANDLE In this patch job variable gets return value of PrlSrv_DeleteVirtualNetwork function()
This commit is contained in:
parent
fad9b77e0d
commit
0c151004bc
@ -2900,7 +2900,7 @@ static void prlsdkDelNet(vzConnPtr privconn, virDomainNetDefPtr net)
|
||||
pret = PrlVirtNet_SetNetworkId(vnet, net->data.network.name);
|
||||
prlsdkCheckRetGoto(pret, cleanup);
|
||||
|
||||
PrlSrv_DeleteVirtualNetwork(privconn->server, vnet, 0);
|
||||
job = PrlSrv_DeleteVirtualNetwork(privconn->server, vnet, 0);
|
||||
if (PRL_FAILED(pret = waitJob(job)))
|
||||
goto cleanup;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user