Skip to content

Commit 8ee1a07

Browse files
committed
Add boot order to test
1 parent 4c64893 commit 8ee1a07

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

run_test.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ EOF
4040
if ! ip link show br-pixie; then
4141
ip link add br-pixie type bridge
4242
ip link set dev br-pixie up
43-
ip addr add 10.0.0.1/8 brd 10.255.255.255 dev br-pixie
43+
ip addr add 10.0.0.1/8 dev br-pixie
4444
fi
4545

4646
RUST_BACKTRACE=short RUST_LOG=debug RUST_LOG_STYLE=always LLVM_PROFILE_FILE=prof-out/pixie-server-%m-%p.profraw ./pixie-server/target/debug/pixie-server -s $TEMPDIR/storage &
@@ -61,11 +61,13 @@ run_qemu() {
6161
-enable-kvm \
6262
-cpu host -smp cores=2 \
6363
-m 1G \
64+
-boot order=n \
6465
-drive if=pflash,format=raw,file=$OVMF \
6566
-drive file=$TEMPDIR/disk.img,if=none,id=nvm,format=raw \
6667
-drive file=$FILE,format=raw \
6768
-device nvme,serial=deadbeef,drive=nvm \
68-
-nic bridge,mac=52:54:00:12:34:56,br=br-pixie,model=virtio-net-pci
69+
-netdev bridge,br=br-pixie,id=net0 \
70+
-device virtio-net-pci,netdev=net0,mac=52:54:00:12:34:56,bootindex=1
6971
}
7072

7173
truncate -s 8G $TEMPDIR/disk.img

0 commit comments

Comments
 (0)