summaryrefslogtreecommitdiffstats
path: root/meta/classes/testimage.bbclass
diff options
context:
space:
mode:
authorSaul Wold <Saul.Wold@windriver.com>2021-06-29 07:57:03 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-02 23:14:27 +0100
commit563e78491be3763f53f9ea53241853b099f5747b (patch)
tree0a831b291c9c260a7660cbd9c43ea051faf228a1 /meta/classes/testimage.bbclass
parent9a2f4e1e95f4a3f7ebbf08f46445c8ea670adce3 (diff)
downloadopenembedded-core-contrib-563e78491be3763f53f9ea53241853b099f5747b.tar.gz
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 <saul.wold@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/testimage.bbclass')
-rw-r--r--meta/classes/testimage.bbclass1
1 files changed, 1 insertions, 0 deletions
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() {