block migration: Rework constants API
commit6ea44308b0e8156d352f07b97b2b05eaed89aa6d
authorJan Kiszka <jan.kiszka@siemens.com>
Mon, 30 Nov 2009 17:21:19 +0000 (30 18:21 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 3 Dec 2009 16:48:52 +0000 (3 10:48 -0600)
treee73dd84e27eda107a8a798eaa8de08c5e85ddd2c
parenta55eb92c22a7be05bae0de6163bbe1e5f1d43ba3
block migration: Rework constants API

Instead of duplicating the definition of constants or introducing
trivial retrieval functions move the SECTOR constants into the public
block API. This also obsoletes sector_per_block in BlkMigState.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
block-migration.c
block.c
block.h