[lldb/qemu] Add emulator-args setting
authorPavel Labath <pavel@labath.sk>
Fri, 26 Nov 2021 14:51:09 +0000 (15:51 +0100)
committerPavel Labath <pavel@labath.sk>
Tue, 7 Dec 2021 13:19:43 +0000 (14:19 +0100)
commit611fdde4c765d1ed213744263cb2bbc04bd5060c
tree928f50bb4a0c1c4f95aa353672326cb1e15b1683
parent61ba9f9110e230919982f2d82cdfcc4fe9840913
[lldb/qemu] Add emulator-args setting

This setting allows the user to pass additional arguments to the qemu instance.
While we may want to introduce dedicated settings for the most common qemu
arguments (-cpu, for one), having this setting allows us to avoid creating a
setting for every possible argument.

Differential Revision: https://reviews.llvm.org/D115151
lldb/source/Plugins/Platform/QemuUser/PlatformQemuUser.cpp
lldb/source/Plugins/Platform/QemuUser/PlatformQemuUserProperties.td
lldb/test/API/qemu/TestQemuLaunch.py
lldb/test/API/qemu/qemu.py