aboutsummaryrefslogtreecommitdiff
path: root/migration/block.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2023-03-01 21:18:45 +0100
committerJuan Quintela <quintela@redhat.com>2023-04-24 15:01:46 +0200
commit1f0776f1c03312aad5d6a5f98871240bc3af01e5 (patch)
tree7d6fd8aba7616b711b1927d66b09c5e7f7c1b8ab /migration/block.c
parent9eb1109cfba5415dd0b0cb82e80fc5e42fe861b7 (diff)
downloadqemu-1f0776f1c03312aad5d6a5f98871240bc3af01e5.zip
qemu-1f0776f1c03312aad5d6a5f98871240bc3af01e5.tar.gz
qemu-1f0776f1c03312aad5d6a5f98871240bc3af01e5.tar.bz2
migration: Create options.c
We move there all capabilities helpers from migration.c. Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> --- Following David advise: - looked through the history, capabilities are newer than 2012, so we can remove that bit of the header. - This part is posterior to Anthony. Original Author is Orit. Once there, I put myself. Peter Xu also did quite a bit of work here. Anyone else wants/needs to be there? I didn't search too hard because nobody asked before to be added. What do you think?
Diffstat (limited to 'migration/block.c')
-rw-r--r--migration/block.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/migration/block.c b/migration/block.c
index b2497bb..4b167fa 100644
--- a/migration/block.c
+++ b/migration/block.c
@@ -28,6 +28,7 @@
#include "migration/vmstate.h"
#include "sysemu/block-backend.h"
#include "trace.h"
+#include "options.h"
#define BLK_MIG_BLOCK_SIZE (1ULL << 20)
#define BDRV_SECTORS_PER_DIRTY_CHUNK (BLK_MIG_BLOCK_SIZE >> BDRV_SECTOR_BITS)