Re: Local qemu migration

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

 



On 11/04/2014 10:43 AM, Marc-André Lureau wrote:
Hi,

Attempting to migration from session to system qemu fails because of the
following checks in  qemuMigrationCookieXMLParse():

    if (STREQ(mig->remoteHostname, mig->localHostname)) {
         virReportError(VIR_ERR_INTERNAL_ERROR,
                        _("Attempt to migrate guest to the same host %s"),
                        mig->remoteHostname);
         goto error;
     }
....
     if (memcmp(mig->remoteHostuuid, mig->localHostuuid, VIR_UUID_BUFLEN) == 0) {
         virReportError(VIR_ERR_INTERNAL_ERROR,
                        _("Attempt to migrate guest to the same host %s"),
                        tmp);
         goto error;

Is there a technical limitation for this error? If not, could it be overriden
with an additional flag?

Trying to prevent migrating to the same libvirtd instance which would historically deadlock in libvirt's qemu driver. But migrating session -> system shouldn't suffer from that problem, so maybe it should be smarter.

Maybe with the more fine grained locking these days we can actually make localhost migration work? Would be useful for testing

- Cole

--
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]