arch_init: support resizing on incoming migration
commitb0cc3f839751bd83bdfcc480097c981c7aa1f3ec
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 17 Nov 2014 15:55:43 +0000 (17 17:55 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 8 Jan 2015 11:17:54 +0000 (8 13:17 +0200)
treef275739fa60677887ac2a1d365079eec14e9390e
parent62be4e3a5041e84304aa23637da623a205c53ecc
arch_init: support resizing on incoming migration

If block used_length does not match, try to resize it.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
arch_init.c