]> git.proxmox.com Git - mirror_qemu.git/commit - tests/test-vmstate.c
Tests: QEMUSizedBuffer/QEMUBuffer
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Fri, 10 Oct 2014 11:39:05 +0000 (12:39 +0100)
committerJuan Quintela <quintela@trasno.org>
Tue, 14 Oct 2014 07:17:06 +0000 (09:17 +0200)
commit9935baca9b3573dfdb19aff03b3cbe1116350400
treec5af88cfb018bd21703fb110b4297957e2768d0a
parentdeb22f9a4466e66ca25e90e5530cfe8544fe5bc7
Tests: QEMUSizedBuffer/QEMUBuffer

Modify some of tests/test-vmstate.c to use the in memory file based
on QEMUSizedBuffer to provide basic testing of QEMUSizedBuffer and
the associated memory backed QEMUFile type.

Only some of the tests are changed so that the fd backed QEMUFile is
still tested.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
tests/Makefile
tests/test-vmstate.c