mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
* The vde_switch startup code was reading from the wrong filehandle,
so the startup synchronisation didn't work, causing spurious QEMU failures ("Device 'vde' could not be initialized"). svn path=/nixos/trunk/; revision=26055
This commit is contained in:
parent
228004604d
commit
158a60465f
@ -38,9 +38,10 @@ foreach my $vlan (split / /, $ENV{VLANS} || "") {
|
||||
}
|
||||
close $stdoutW;
|
||||
print $pty "version\n";
|
||||
readline $pty or die "cannot start vde_switch";
|
||||
readline $stdoutR or die "cannot start vde_switch";
|
||||
$ENV{"QEMU_VDE_SOCKET_$vlan"} = $socket;
|
||||
$vlans{$vlan} = $pty;
|
||||
die unless -e "$socket/ctl";
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user