scripts/kernel-test/run-qemu: update qemu args

Fix these warnings:

warning: short-form boolean option 'server' deprecated
warning: short-form boolean option 'nowait' deprecated

Change-Id: Iba84d8e61c2d9cbd687d803066db0c04aca9f805
This commit is contained in:
Oliver Smith 2023-07-18 12:05:07 +02:00
parent 90e48a63e0
commit 29bd71264d
1 changed files with 2 additions and 2 deletions

View File

@ -25,13 +25,13 @@ qemu-system-x86_64 \
-smp 1 \
-m 512M \
-no-user-config -nodefaults -display none \
-gdb unix:/cache/kernel-test/gdb.pipe,server,nowait \
-gdb unix:/cache/kernel-test/gdb.pipe,server=on,wait=off \
-no-reboot \
-kernel /cache/kernel-test/linux \
-initrd /cache/kernel-test/initrd \
-append "${KERNEL_CMDLINE}" \
-serial stdio \
-chardev socket,id=charserial1,path=/cache/kernel-test/gdb-serial.pipe,server,nowait \
-chardev socket,id=charserial1,path=/cache/kernel-test/gdb-serial.pipe,server=on,wait=off \
-device isa-serial,chardev=charserial1,id=serial1 \
-netdev tap,id=nettest,script=/kernel-test/qemu-ifup.sh,downscript=/kernel-test/qemu-ifdown.sh \
-device virtio-net-pci,netdev=nettest,mac="$(random_mac)"