From: Saul Wold Date: Tue, 29 Jun 2021 14:57:03 +0000 (-0700) Subject: testimage.bbclass: Add dump-guest-memory cmd X-Git-Tag: uninative-3.3~326 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=563e78491be3763f53f9ea53241853b099f5747b;p=openembedded-core.git testimage.bbclass: Add dump-guest-memory cmd This command takes a set of command arguments, one of which requires a filename so use %s which the MonitorDumper will translate to a unique filename in the dated qmp directory. CMD Before: {paging:false,protocol:file:%s.img} CMD After: {paging:false,protocol:file:/yocto/poky/build/tmp/log/runtime-hostdump/qmp_00_dump-guest-memory.img} Signed-off-by: Saul Wold Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass index 43de9d4d76..ed3a885bdf 100644 --- a/meta/classes/testimage.bbclass +++ b/meta/classes/testimage.bbclass @@ -130,6 +130,7 @@ testimage_dump_host () { testimage_dump_monitor () { query-status query-block + dump-guest-memory {"paging":false,"protocol":"file:%s.img"} } python do_testimage() {