root / block-migration.h @ 0e607a80
History | View | Annotate | Download (610 Bytes)
1 |
/*
|
---|---|
2 |
* QEMU live block migration
|
3 |
*
|
4 |
* Copyright IBM, Corp. 2009
|
5 |
*
|
6 |
* Authors:
|
7 |
* Liran Schour <lirans@il.ibm.com>
|
8 |
*
|
9 |
* This work is licensed under the terms of the GNU GPL, version 2. See
|
10 |
* the COPYING file in the top-level directory.
|
11 |
*
|
12 |
*/
|
13 |
|
14 |
#ifndef BLOCK_MIGRATION_H
|
15 |
#define BLOCK_MIGRATION_H
|
16 |
|
17 |
typedef struct BlkMigDevState { |
18 |
BlockDriverState *bs; |
19 |
int bulk_completed;
|
20 |
int shared_base;
|
21 |
struct BlkMigDevState *next;
|
22 |
int64_t cur_sector; |
23 |
int64_t total_sectors; |
24 |
int64_t dirty; |
25 |
} BlkMigDevState; |
26 |
|
27 |
void blk_mig_init(void); |
28 |
void blk_mig_info(void); |
29 |
#endif /* BLOCK_MIGRATION_H */ |