mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
oeqa/dump.py: Add support for QMP command arguments
Need to ensure that the dump_dir is created correctly and available When command arguemnts are passed construct a filename if needed and convert the arguements to a json object to pass to QMP. (From OE-Core rev: 9a2f4e1e95f4a3f7ebbf08f46445c8ea670adce3) Signed-off-by: Saul Wold <saul.wold@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
879545999f
commit
bb534a9c02
@@ -152,6 +152,8 @@ class QemuTarget(BaseTarget):
|
||||
|
||||
self.target_dumper = TargetDumper(dump_target_cmds, dump_dir, self.runner)
|
||||
self.monitor_dumper = MonitorDumper(dump_monitor_cmds, dump_dir, self.runner)
|
||||
if (self.monitor_dumper):
|
||||
self.monitor_dumper.create_dir("qmp")
|
||||
|
||||
def deploy(self):
|
||||
bb.utils.mkdirhier(self.testdir)
|
||||
|
||||
Reference in New Issue
Block a user