mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
bb534a9c02
commit
6a9449f0c1
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user