diff options
Diffstat (limited to 'scripts/lib.sh')
| -rw-r--r-- | scripts/lib.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/lib.sh b/scripts/lib.sh index d5aecac..6ca3e92 100644 --- a/scripts/lib.sh +++ b/scripts/lib.sh | |||
| @@ -157,8 +157,12 @@ test_boot() { | |||
| 157 | cp "$OVMF" "$nv" | 157 | cp "$OVMF" "$nv" |
| 158 | local -a qargs | 158 | local -a qargs |
| 159 | mapfile -t qargs < <(qemu_args) | 159 | mapfile -t qargs < <(qemu_args) |
| 160 | "$QEMU" -bios "$nv" \ | 160 | # qemu_args() already carries -bios $OVMF; put the fresh varstore copy |
| 161 | # last so it wins (QEMU uses the last -bios) without duplicating the | ||
| 162 | # whole argument set. | ||
| 163 | "$QEMU" \ | ||
| 161 | "${qargs[@]}" \ | 164 | "${qargs[@]}" \ |
| 165 | -bios "$nv" \ | ||
| 162 | -serial "file:$LOG" \ | 166 | -serial "file:$LOG" \ |
| 163 | -monitor "unix:$SOCK,server,nowait" \ | 167 | -monitor "unix:$SOCK,server,nowait" \ |
| 164 | -display none \ | 168 | -display none \ |
