# 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}))

