mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-21 06:33:31 +00:00
ceaa02230e
With the update to sel4 and the gcc 12, assembly instructions are generated and used, like POPCNT. The instruction is available on our native hardware, but not emulated by the default cpu model necessarily, which leads to undefined opcode exceptions (Qemu 4.2.1 && seL4). Additionally, the features of the default Qemu cpu model may vary between Qemu releases and makes it harder to correlate effects.
30 lines
771 B
Plaintext
30 lines
771 B
Plaintext
# local variable for run-tool arguments used for running scenarios in Qemu
|
|
QEMU_RUN_OPT := --include power_on/qemu --include log/qemu --include image/iso
|
|
|
|
|
|
##
|
|
## Qemu arguments, effective when using the run tool's 'power_on/qemu' back end
|
|
##
|
|
|
|
# enable GDB stub
|
|
#QEMU_OPT += -s
|
|
|
|
#
|
|
# Prevent Qemu from using KVM
|
|
#
|
|
# Note: On some systems, the '-no-kvm' command-line argument is not included
|
|
# in 'qemu-system-x86_64', resulting in the error '-no-kvm: invalid option'.
|
|
# To resolve this issue, comment out or remove the QEMU_OPT line below.
|
|
#
|
|
QEMU_OPT += -no-kvm
|
|
|
|
# enable KVM full virtualization support in Qemu
|
|
#QEMU_OPT += -enable-kvm
|
|
|
|
# use time-tested graphics backend
|
|
QEMU_OPT += -display sdl
|
|
|
|
# add kernel-specific Qemu arguments
|
|
QEMU_OPT += $(QEMU_OPT(${KERNEL}))
|
|
|