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

Re: [libvirt] Local qemu migration



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


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