aboutsummaryrefslogtreecommitdiff
path: root/tests/test-vmstate.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2017-04-20 18:52:18 +0200
committerJuan Quintela <quintela@redhat.com>2017-06-01 18:49:22 +0200
commit08a0aee15cba50bd082770b7596e75023163fe87 (patch)
tree21ee845d9cc0cd14e6731e13ee801c69721acbe0 /tests/test-vmstate.c
parent107da9acb5f2ec99dc5cb70041245a53e16bfcbd (diff)
migration: Split qemu-file.h
Split the file into public and internal interfaces. I have to rename the external one because we can't have two include files with the same name in the same directory. Build system gets confused. The only exported functions are the ones that handle basic types. Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'tests/test-vmstate.c')
-rw-r--r--tests/test-vmstate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test-vmstate.c b/tests/test-vmstate.c
index 25389bcce4..c52aff96d6 100644
--- a/tests/test-vmstate.c
+++ b/tests/test-vmstate.c
@@ -27,7 +27,8 @@
#include "qemu-common.h"
#include "migration/migration.h"
#include "migration/vmstate.h"
-#include "migration/qemu-file.h"
+#include "migration/qemu-file-types.h"
+#include "../migration/qemu-file.h"
#include "../migration/qemu-file-channel.h"
#include "qemu/coroutine.h"
#include "io/channel-file.h"