mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-18 10:35:20 +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)
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
if (vhostfd) {
|
||||
if (qemuInterfaceOpenVhostNet(vm, net) < 0)
|
||||
return -1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user