pci: vmstate_register() already assign consecutive numbers starting at 0
[qemu/ar7.git] / block-migration.h
blobc33d3cbf05cf56284904bcd999fe214e1769bff6
1 /*
2 * QEMU live block migration
4 * Copyright IBM, Corp. 2009
6 * Authors:
7 * Liran Schour <lirans@il.ibm.com>
9 * This work is licensed under the terms of the GNU GPL, version 2. See
10 * the COPYING file in the top-level directory.
14 #ifndef BLOCK_MIGRATION_H
15 #define BLOCK_MIGRATION_H
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;
27 void blk_mig_init(void);
28 void blk_mig_info(void);
29 #endif /* BLOCK_MIGRATION_H */