3
0
Fork 0
forked from mirrors/nixpkgs

* Somewhere "set_link" stopped accepting "down" and "up" as valid

parameters.

svn path=/nixos/trunk/; revision=25466
This commit is contained in:
Eelco Dolstra 2011-01-09 15:44:48 +00:00
parent e343a16a36
commit 405e4dd42e

View file

@ -436,14 +436,14 @@ sub crash {
# the test driver can continue to talk to the machine. # the test driver can continue to talk to the machine.
sub block { sub block {
my ($self) = @_; my ($self) = @_;
$self->sendMonitorCommand("set_link virtio-net-pci.1 down"); $self->sendMonitorCommand("set_link virtio-net-pci.1 off");
} }
# Make the machine reachable. # Make the machine reachable.
sub unblock { sub unblock {
my ($self) = @_; my ($self) = @_;
$self->sendMonitorCommand("set_link virtio-net-pci.1 up"); $self->sendMonitorCommand("set_link virtio-net-pci.1 on");
} }