replication: move include out of root directory
The replication.h file is included from migration/colo.c and tests/unit/test-replication.c, so it should be in include/. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
fd5fc4b12d
commit
b02629550d
@ -22,7 +22,7 @@
|
|||||||
#include "sysemu/block-backend.h"
|
#include "sysemu/block-backend.h"
|
||||||
#include "qapi/error.h"
|
#include "qapi/error.h"
|
||||||
#include "qapi/qmp/qdict.h"
|
#include "qapi/qmp/qdict.h"
|
||||||
#include "replication.h"
|
#include "block/replication.h"
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
BLOCK_REPLICATION_NONE, /* block replication is not started */
|
BLOCK_REPLICATION_NONE, /* block replication is not started */
|
||||||
|
@ -23,7 +23,7 @@ typedef struct ReplicationOps ReplicationOps;
|
|||||||
typedef struct ReplicationState ReplicationState;
|
typedef struct ReplicationState ReplicationState;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* SECTION:replication.h
|
* SECTION:block/replication.h
|
||||||
* @title:Base Replication System
|
* @title:Base Replication System
|
||||||
* @short_description: interfaces for handling replication
|
* @short_description: interfaces for handling replication
|
||||||
*
|
*
|
||||||
@ -32,7 +32,7 @@ typedef struct ReplicationState ReplicationState;
|
|||||||
* <example>
|
* <example>
|
||||||
* <title>How to use replication interfaces</title>
|
* <title>How to use replication interfaces</title>
|
||||||
* <programlisting>
|
* <programlisting>
|
||||||
* #include "replication.h"
|
* #include "block/replication.h"
|
||||||
*
|
*
|
||||||
* typedef struct BDRVReplicationState {
|
* typedef struct BDRVReplicationState {
|
||||||
* ReplicationState *rs;
|
* ReplicationState *rs;
|
@ -28,7 +28,7 @@
|
|||||||
#include "migration/failover.h"
|
#include "migration/failover.h"
|
||||||
#include "migration/ram.h"
|
#include "migration/ram.h"
|
||||||
#ifdef CONFIG_REPLICATION
|
#ifdef CONFIG_REPLICATION
|
||||||
#include "replication.h"
|
#include "block/replication.h"
|
||||||
#endif
|
#endif
|
||||||
#include "net/colo-compare.h"
|
#include "net/colo-compare.h"
|
||||||
#include "net/colo.h"
|
#include "net/colo.h"
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
#include "qemu/osdep.h"
|
#include "qemu/osdep.h"
|
||||||
#include "qapi/error.h"
|
#include "qapi/error.h"
|
||||||
#include "replication.h"
|
#include "block/replication.h"
|
||||||
|
|
||||||
static QLIST_HEAD(, ReplicationState) replication_states;
|
static QLIST_HEAD(, ReplicationState) replication_states;
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
#include "qapi/qmp/qdict.h"
|
#include "qapi/qmp/qdict.h"
|
||||||
#include "qemu/option.h"
|
#include "qemu/option.h"
|
||||||
#include "qemu/main-loop.h"
|
#include "qemu/main-loop.h"
|
||||||
#include "replication.h"
|
#include "block/replication.h"
|
||||||
#include "block/block_int.h"
|
#include "block/block_int.h"
|
||||||
#include "block/qdict.h"
|
#include "block/qdict.h"
|
||||||
#include "sysemu/block-backend.h"
|
#include "sysemu/block-backend.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user