aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaul Wold <Saul.Wold@windriver.com>2021-06-29 07:57:03 -0700
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2021-07-01 15:56:44 +0200
commit4893d9c06e3deb9d7edc30aabc5852d14f4ddb72 (patch)
tree336c1645450e5797cf8a9fc474283fdef2b4768d
parent87cd28f0123d3cf32af1dc058d3dd7bbe88564e4 (diff)
downloadopenembedded-core-contrib-4893d9c06e3deb9d7edc30aabc5852d14f4ddb72.tar.gz
openembedded-core-contrib-4893d9c06e3deb9d7edc30aabc5852d14f4ddb72.tar.bz2
openembedded-core-contrib-4893d9c06e3deb9d7edc30aabc5852d14f4ddb72.zip
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>
-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 43de9d4d767..ed3a885bdf2 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() {