diff options
author | Saul Wold <Saul.Wold@windriver.com> | 2021-06-29 07:57:03 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-02 23:14:33 +0100 |
commit | 6a9449f0c1d51eda782d482146ef9ecfb9565adf (patch) | |
tree | f0d439e41db593633e599e575b779d43ee2eed0b /meta/classes/testimage.bbclass | |
parent | bb534a9c02ea062cd6f4d812b4744465101d5353 (diff) | |
download | poky-6a9449f0c1d51eda782d482146ef9ecfb9565adf.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}
(From OE-Core rev: 563e78491be3763f53f9ea53241853b099f5747b)
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.bbclass | 1 |
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 () { | |||
130 | testimage_dump_monitor () { | 130 | testimage_dump_monitor () { |
131 | query-status | 131 | query-status |
132 | query-block | 132 | query-block |
133 | dump-guest-memory {"paging":false,"protocol":"file:%s.img"} | ||
133 | } | 134 | } |
134 | 135 | ||
135 | python do_testimage() { | 136 | python do_testimage() { |