block migration: Skip zero-sized disks
commit792773b2255d25c6f5fe9dfa0ae200debab92de4
authorJan Kiszka <jan.kiszka@web.de>
Mon, 30 Nov 2009 19:34:55 +0000 (30 20:34 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 3 Dec 2009 17:45:39 +0000 (3 11:45 -0600)
treef1bfd9c276a21abc992d9c29a702e39f97c71697
parent23bd90d2f916f5a2e0a6ad00d26f3ff26144066d
block migration: Skip zero-sized disks

No need to migrate emptiness (risking divide by zero later on).

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