Skip to content

Commit e897532

Browse files
committed
iosxrv: tentative to make it work again on 7.8.2
For some reason, no progress from the Calvados VM...
1 parent e171418 commit e897532

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

common/lab-setup

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1361,7 +1361,7 @@ start_cisco_iosxrv () {
13611361
for net in $NET; do
13621362
mac=$(mac_address)
13631363
netargs="$netargs -netdev vde,sock=$TMP/switch-$net.sock,id=net${count}"
1364-
netargs="$netargs -device virtio-net-pci,mac=$mac,netdev=net${count}"
1364+
netargs="$netargs -device e1000,mac=$mac,netdev=net${count}"
13651365
count=$((count+1))
13661366
done
13671367

@@ -1415,8 +1415,9 @@ exec nice start-stop-daemon --make-pidfile --pidfile "$TMP/vm-$name.pid" \
14151415
-enable-kvm \
14161416
-no-user-config -nodefaults \
14171417
-display none \
1418-
-m ${MEM:-9G} \
1418+
-m ${MEM:-20G} \
14191419
-cpu host \
1420+
-smp ${CPUS:-4} \
14201421
-device virtio-rng \
14211422
\
14221423
-boot c \
@@ -1429,6 +1430,8 @@ exec nice start-stop-daemon --make-pidfile --pidfile "$TMP/vm-$name.pid" \
14291430
-device isa-serial,chardev=charserial1,id=serial1 \
14301431
-chardev socket,id=charserial2,path=$TMP/vm-$name-serial2.pipe,server=on,wait=off \
14311432
-device isa-serial,chardev=charserial2,id=serial2 \
1433+
-chardev socket,id=charserial3,path=$TMP/vm-$name-serial3.pipe,server=on,wait=off \
1434+
-device isa-serial,chardev=charserial3,id=serial3 \
14321435
\
14331436
-chardev socket,id=con0,path=$TMP/vm-$name-console.pipe,server=on,wait=off \
14341437
-mon chardev=con0,mode=readline \
@@ -1471,6 +1474,7 @@ EOF
14711474
log_info_msg "monitor listening on $TMP/vm-$name-console.pipe"
14721475
log_info_msg "aux console listening on $TMP/vm-$name-serial1.pipe"
14731476
log_info_msg "Calvados console listening on $TMP/vm-$name-serial2.pipe"
1477+
log_info_msg "Calvados aux listening on $TMP/vm-$name-serial3.pipe"
14741478
chmod +x "$TMP/vm-$name-real.exec"
14751479
chmod +x "$TMP/vm-$name.exec"
14761480
tmux set-option -wt $(tmux new-window -Pdn $name "$TMP/vm-$name-real.exec") remain-on-exit on

0 commit comments

Comments
 (0)