summary refs log tree commit diff stats
path: root/python/qemu/qmp/protocol.py
diff options
context:
space:
mode:
authorRalf Ramsauer <ralf.ramsauer@oth-regensburg.de>2022-04-01 14:18:42 +0200
committerAlistair Francis <alistair.francis@wdc.com>2022-04-22 10:35:16 +1000
commit8f013700ebf96edb4d481e4d2471c3ed246c58ef (patch)
tree28220e58c4211f26312dab5c17bb957740e3ebd9 /python/qemu/qmp/protocol.py
parentac684717c338b82c832c2013978cb2815a3cd340 (diff)
downloadfocaccia-qemu-8f013700ebf96edb4d481e4d2471c3ed246c58ef.tar.gz
focaccia-qemu-8f013700ebf96edb4d481e4d2471c3ed246c58ef.zip
hw/riscv: virt: Exit if the user provided -bios in combination with KVM
The -bios option is silently ignored if used in combination with -enable-kvm.
The reason is that the machine starts in S-Mode, and the bios typically runs in
M-Mode.

Better exit in that case to not confuse the user.

Signed-off-by: Ralf Ramsauer <ralf.ramsauer@oth-regensburg.de>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Message-Id: <20220401121842.2791796-1-ralf.ramsauer@oth-regensburg.de>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'python/qemu/qmp/protocol.py')
0 files changed, 0 insertions, 0 deletions