]> Git Repo - qemu.git/commit
block migration: Clean up use of total_sectors
authorJan Kiszka <[email protected]>
Mon, 30 Nov 2009 17:21:20 +0000 (18:21 +0100)
committerAnthony Liguori <[email protected]>
Thu, 3 Dec 2009 16:48:53 +0000 (10:48 -0600)
commitb1d10856d687b449a0dc4eca3a8db41055e2d3b8
tree4a16f96cbadb15acd82a5f6769eeb279bce78225
parent69d63a97a194a70d305f7d3d6b9d8f2c3c5bfbf2
block migration: Clean up use of total_sectors

We already save total_sectors in BlkMigDevState, let's use this value
during the migration and avoid to recalculate it needlessly.

Signed-off-by: Jan Kiszka <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
block-migration.c
This page took 0.022065 seconds and 4 git commands to generate.