From 8da47e00d153617cdde28182f7e22f85a097cf8f Mon Sep 17 00:00:00 2001 From: Joel Stanley Date: Wed, 12 Dec 2018 15:32:57 +1030 Subject: [PATCH] test: Update qemu arguments to use bmc simulator THe qemu skiboot platform as of 8340a9642bba ("plat/qemu: use the common OpenPOWER routines to initialize") uses the common aspeed BMC setup routines. This means a BT interface is always set up, and if the corresponding Qemu model is not present the timeout is 30 seconds. It looks like this every time an IPMI message is sent: BT: seq 0x9e netfn 0x06 cmd 0x31: Maximum queue length exceeded BT: seq 0x9d netfn 0x06 cmd 0x31: Removed from queue BT: seq 0x9f netfn 0x06 cmd 0x31: Maximum queue length exceeded BT: seq 0x9e netfn 0x06 cmd 0x31: Removed from queue BT: seq 0xa0 netfn 0x06 cmd 0x31: Maximum queue length exceeded BT: seq 0x9f netfn 0x06 cmd 0x31: Removed from queue Avoid this by adding the bmc simulator model to the Qemu powernv machine. Signed-off-by: Joel Stanley Signed-off-by: Stewart Smith --- test/hello_world/run_qemu_hello_world.sh | 3 ++- test/run_qemu-jessie-debian-installer_boot_test.sh | 3 ++- test/run_qemu_boot_test.sh | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/test/hello_world/run_qemu_hello_world.sh b/test/hello_world/run_qemu_hello_world.sh index e8d317607392..e105910d22bc 100755 --- a/test/hello_world/run_qemu_hello_world.sh +++ b/test/hello_world/run_qemu_hello_world.sh @@ -1,5 +1,6 @@ #!/bin/bash +QEMU_ARGS="-M powernv -nographic -device ipmi-bmc-sim,id=bmc0 -device isa-ipmi-bt,bmc=bmc0,irq=10" if [ -z "$QEMU_BIN" ]; then QEMU_BIN="qemu-system-ppc64" @@ -30,7 +31,7 @@ trap "rm -f -- '$t'" EXIT ( cat <