From 0be71e324f774a77243f1a1487f468232d69542b Mon Sep 17 00:00:00 2001 From: Alex Williamson Date: Fri, 25 Jun 2010 11:09:07 -0600 Subject: savevm: Add DeviceState param When available, we'd like to be able to access the DeviceState when registering a savevm. For buses with a get_dev_path() function, this will allow us to create more unique savevm id strings. Signed-off-by: Alex Williamson Signed-off-by: Anthony Liguori --- block-migration.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'block-migration.c') diff --git a/block-migration.c b/block-migration.c index 7d04d6db0a..533564c13c 100644 --- a/block-migration.c +++ b/block-migration.c @@ -638,6 +638,6 @@ void blk_mig_init(void) QSIMPLEQ_INIT(&block_mig_state.bmds_list); QSIMPLEQ_INIT(&block_mig_state.blk_list); - register_savevm_live("block", 0, 1, block_set_params, block_save_live, - NULL, block_load, &block_mig_state); + register_savevm_live(NULL, "block", 0, 1, block_set_params, + block_save_live, NULL, block_load, &block_mig_state); } -- cgit v1.2.3