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:
parent
e343a16a36
commit
405e4dd42e
|
@ -436,14 +436,14 @@ sub crash {
|
|||
# the test driver can continue to talk to the machine.
|
||||
sub block {
|
||||
my ($self) = @_;
|
||||
$self->sendMonitorCommand("set_link virtio-net-pci.1 down");
|
||||
$self->sendMonitorCommand("set_link virtio-net-pci.1 off");
|
||||
}
|
||||
|
||||
|
||||
# Make the machine reachable.
|
||||
sub unblock {
|
||||
my ($self) = @_;
|
||||
$self->sendMonitorCommand("set_link virtio-net-pci.1 up");
|
||||
$self->sendMonitorCommand("set_link virtio-net-pci.1 on");
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue