aboutsummaryrefslogtreecommitdiff
path: root/tpm.c
diff options
context:
space:
mode:
authorGreg Kurz <groug@kaod.org>2020-06-22 08:57:18 +0200
committerDavid Gibson <david@gibson.dropbear.id.au>2020-06-26 09:22:30 +1000
commit38d2448a376882a3efc32c21f7e8ce48ad96c644 (patch)
tree46b9928c8a87c8bf58ab5353d4750a9ba80622b4 /tpm.c
parent7861e083f89ef4c841a511bb12234982c918ef39 (diff)
downloadqemu-38d2448a376882a3efc32c21f7e8ce48ad96c644.zip
qemu-38d2448a376882a3efc32c21f7e8ce48ad96c644.tar.gz
qemu-38d2448a376882a3efc32c21f7e8ce48ad96c644.tar.bz2
ppc/pnv: Silence missing BMC warning with qtest
The device introspect test in qtest emits some warnings with the the pnv machine types during the "nodefaults" phase: TEST check-qtest-ppc64: tests/qtest/device-introspect-test qemu-system-ppc64: warning: machine has no BMC device. Use '-device ipmi-bmc-sim,id=bmc0 -device isa-ipmi-bt,bmc=bmc0,irq=10' to define one qemu-system-ppc64: warning: machine has no BMC device. Use '-device ipmi-bmc-sim,id=bmc0 -device isa-ipmi-bt,bmc=bmc0,irq=10' to define one qemu-system-ppc64: warning: machine has no BMC device. Use '-device ipmi-bmc-sim,id=bmc0 -device isa-ipmi-bt,bmc=bmc0,irq=10' to define one This is expected since the pnv machine doesn't create the internal BMC simulator fallback when "-nodefaults" is passed on the command line, but these warnings appear in ci logs and confuse people. Not having a BMC isn't recommended but it is still a supported configuration, so a straightforward fix is to just silent this warning when qtest is enabled. Fixes: 25f3170b0654 ("ppc/pnv: Create BMC devices only when defaults are enabled") Reported-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Greg Kurz <groug@kaod.org> Message-Id: <159280903824.485572.831378159272329707.stgit@bahia.lan> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'tpm.c')
0 files changed, 0 insertions, 0 deletions