]> git.ipfire.org Git - thirdparty/libvirt.git/commit
test_driver: implement virDomainMemoryPeek
authorIlias Stamatis <stamatis.iliass@gmail.com>
Thu, 23 May 2019 11:37:01 +0000 (13:37 +0200)
committerJán Tomko <jtomko@redhat.com>
Mon, 27 May 2019 13:29:13 +0000 (15:29 +0200)
commitb3908d2efb29f5a3facdcecde388d101be7b5e6e
tree27af7262130e3b97dc949e77b70592a8b4ca83b4
parentf8c734572c3157a8a5e69871e6ed5e31ca178f7a
test_driver: implement virDomainMemoryPeek

Begins by writing a @start byte in the first position of @buffer and
then for every next byte it stores the value of its previous one
incremented by one.

Behaves the same for both supported flags.

Signed-off-by: Ilias Stamatis <stamatis.iliass@gmail.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Ján Tomko <jtomko@redhat.com>
src/test/test_driver.c