Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests/test-vmstate.c: add save_buffer util func
Let us de-duplicate some code by introducing an utility function for saving a chunk of bytes (used when testing load based on wire). Signed-off-by: Halil Pasic <pasic@linux.vnet.ibm.com> Reviewed-by: Guenther Hutzl <hutzl@linux.vnet.ibm.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
- Loading branch information
Halil Pasic
authored and
Juan Quintela
committed
Nov 14, 2016
1 parent
fe39a4d
commit 6d57b4c
Showing
1 changed file
with
11 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters