nbd: fix use of two uninitialized bytes when connecting to a named export
[qemu/opensuse.git] / block-migration.h
blobffa8ac0bdd6134b23f64d8b89be754b1224f03b8
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 void blk_mig_init(void);
18 int blk_mig_active(void);
19 uint64_t blk_mig_bytes_transferred(void);
20 uint64_t blk_mig_bytes_remaining(void);
21 uint64_t blk_mig_bytes_total(void);
23 #endif /* BLOCK_MIGRATION_H */