From 405e4dd42e60719b8835e21f8e8c2bb37bf7bacf Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 9 Jan 2011 15:44:48 +0000 Subject: [PATCH] * Somewhere "set_link" stopped accepting "down" and "up" as valid parameters. svn path=/nixos/trunk/; revision=25466 --- lib/test-driver/Machine.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/test-driver/Machine.pm b/lib/test-driver/Machine.pm index e540da7b1c5f..5d8d967431c4 100644 --- a/lib/test-driver/Machine.pm +++ b/lib/test-driver/Machine.pm @@ -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"); }