* 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;
|
close $stdoutW;
|
||||||
print $pty "version\n";
|
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;
|
$ENV{"QEMU_VDE_SOCKET_$vlan"} = $socket;
|
||||||
$vlans{$vlan} = $pty;
|
$vlans{$vlan} = $pty;
|
||||||
|
die unless -e "$socket/ctl";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue