Skip to content

Commit

Permalink
migration: Remove qemu-file.h from vmstate.h
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>

--

minor rearangements due to the rebase
  • Loading branch information
Juan Quintela committed May 18, 2017
1 parent 576d1ab commit 82b9d0f
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions include/hw/hw.h
Expand Up @@ -11,6 +11,7 @@
#include "exec/memory.h"
#include "hw/irq.h"
#include "migration/vmstate.h"
#include "migration/qemu-file.h"
#include "qemu/module.h"
#include "sysemu/reset.h"

Expand Down
3 changes: 0 additions & 3 deletions include/migration/vmstate.h
Expand Up @@ -27,9 +27,6 @@
#ifndef QEMU_VMSTATE_H
#define QEMU_VMSTATE_H

#ifndef CONFIG_USER_ONLY
#include "migration/qemu-file.h"
#endif
#include "migration/qjson.h"

typedef void SaveStateHandler(QEMUFile *f, void *opaque);
Expand Down
1 change: 1 addition & 0 deletions migration/block.c
Expand Up @@ -26,6 +26,7 @@
#include "migration/block.h"
#include "migration/migration.h"
#include "sysemu/blockdev.h"
#include "migration/qemu-file.h"
#include "sysemu/block-backend.h"

#define BLOCK_SIZE (1 << 20)
Expand Down
1 change: 1 addition & 0 deletions migration/colo.c
Expand Up @@ -15,6 +15,7 @@
#include "sysemu/sysemu.h"
#include "qemu-file-channel.h"
#include "migration/migration.h"
#include "migration/qemu-file.h"
#include "migration/colo.h"
#include "migration/block.h"
#include "io/channel-buffer.h"
Expand Down
1 change: 1 addition & 0 deletions migration/postcopy-ram.c
Expand Up @@ -20,6 +20,7 @@

#include "qemu-common.h"
#include "migration/migration.h"
#include "migration/qemu-file.h"
#include "postcopy-ram.h"
#include "sysemu/sysemu.h"
#include "sysemu/balloon.h"
Expand Down
1 change: 1 addition & 0 deletions migration/ram.c
Expand Up @@ -37,6 +37,7 @@
#include "qemu/main-loop.h"
#include "xbzrle.h"
#include "migration/migration.h"
#include "migration/qemu-file.h"
#include "postcopy-ram.h"
#include "exec/address-spaces.h"
#include "migration/page_cache.h"
Expand Down
1 change: 1 addition & 0 deletions tests/test-vmstate.c
Expand Up @@ -27,6 +27,7 @@
#include "qemu-common.h"
#include "migration/migration.h"
#include "migration/vmstate.h"
#include "migration/qemu-file.h"
#include "../migration/qemu-file-channel.h"
#include "qemu/coroutine.h"
#include "io/channel-file.h"
Expand Down

0 comments on commit 82b9d0f

Please sign in to comment.