Re: [libvirt] [PATCH v3 RESEND 09/12] qemu_migration: Check size prerequisites

2013-02-20 Thread Jiri Denemark
On Mon, Feb 18, 2013 at 15:38:42 +0100, Michal Privoznik wrote: With new NBD storage migration approach there are several requirements that need to be meet for successful use of the s/meet/met/ feature. One of them is - the file representing a disk, needs to have at least same size as on the

Re: [libvirt] [PATCH v3 RESEND 09/12] qemu_migration: Check size prerequisites

2013-02-20 Thread Jiri Denemark
On Wed, Feb 20, 2013 at 14:47:11 +0100, Jiri Denemark wrote: ... +static int +qemuMigrationPreCreateStorage(virQEMUDriverPtr driver, + virDomainObjPtr vm, + qemuMigrationCookiePtr mig) +{ +int ret = -1; +size_t i = 0;

[libvirt] [PATCH v3 RESEND 09/12] qemu_migration: Check size prerequisites

2013-02-18 Thread Michal Privoznik
With new NBD storage migration approach there are several requirements that need to be meet for successful use of the feature. One of them is - the file representing a disk, needs to have at least same size as on the source. Hence, we must transfer a list of pairs [disk target, size] and check on