qtest: Adding qtest_memset and qmemset.
authorJohn Snow <jsnow@redhat.com>
Mon, 4 Aug 2014 21:11:20 +0000 (17:11 -0400)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 15 Aug 2014 17:03:12 +0000 (18:03 +0100)
commit86298845e127365e8a5b7419a5ee9039bbd1837f
tree2fee7ce1c46470666349d3f5166660016e7174d0
parent552b48f44df99e095f04245a48d3b839bbe9912c
qtest: Adding qtest_memset and qmemset.

Currently, libqtest allows for memread and memwrite, but
does not offer a simple way to zero out regions of memory.
This patch adds a simple function to do so.

Signed-off-by: John Snow <jsnow@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
tests/libqtest.c
tests/libqtest.h