mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 11:35:19 +00:00
qemu: command: join two adjacent conditions
Signed-off-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
34c1715ed1
commit
53d43bf23f
@ -8482,9 +8482,7 @@ qemuBuildInterfaceConnect(virDomainObj *vm,
|
|||||||
vm->def, tapfd[i]) < 0)
|
vm->def, tapfd[i]) < 0)
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (vhostfd) {
|
|
||||||
if (qemuInterfaceOpenVhostNet(vm, net) < 0)
|
if (qemuInterfaceOpenVhostNet(vm, net) < 0)
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user