]> code.ossystems Code Review - openembedded-core.git/commit
testimage.bbclass: Add dump-guest-memory cmd
authorSaul Wold <Saul.Wold@windriver.com>
Tue, 29 Jun 2021 14:57:03 +0000 (07:57 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 2 Jul 2021 22:14:27 +0000 (23:14 +0100)
commit563e78491be3763f53f9ea53241853b099f5747b
tree0a831b291c9c260a7660cbd9c43ea051faf228a1
parent9a2f4e1e95f4a3f7ebbf08f46445c8ea670adce3
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>
meta/classes/testimage.bbclass