mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-27 19:11:16 +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…
Reference in New Issue
Block a user