Re: [PATCH 4/4] qemu: migration: Skip few checks while doing offline migration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 06, 2015 at 05:14:06PM +0200, Peter Krempa wrote:
> qemuMigrationIsAllowed would disallow offline migration if the VM
> contained host devices or memory modules. Since during offline migration
> we don't transfer any state we can safely migrate VMs with such
> configuration.
> 
> Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1265049
> ---
>  src/qemu/qemu_migration.c | 87 +++++++++++++++++++++++++----------------------
>  1 file changed, 46 insertions(+), 41 deletions(-)

> @@ -2229,6 +2223,7 @@ qemuMigrationIsAllowed(virQEMUDriverPtr driver,
> 
>          /* cancel migration if disk I/O error is emitted while migrating */
>          if (flags & VIR_MIGRATE_ABORT_ON_ERROR &&
> +            !(flags &  VIR_MIGRATE_OFFLINE) &&
Extra space              ^

>              virDomainObjGetState(vm, &pauseReason) == VIR_DOMAIN_PAUSED &&
>              pauseReason == VIR_DOMAIN_PAUSED_IOERROR) {
>              virReportError(VIR_ERR_OPERATION_INVALID, "%s",

Jan

Attachment: signature.asc
Description: Digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]