]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: migration: Drop dead VNC cookie handling
authorCole Robinson <crobinso@redhat.com>
Wed, 13 Apr 2016 15:06:42 +0000 (11:06 -0400)
committerCole Robinson <crobinso@redhat.com>
Fri, 15 Apr 2016 11:54:49 +0000 (07:54 -0400)
commitdae0e22714b4bb9b65987692ba63de8445b8cdfb
treec95dfc543135ed1e591a80dc481f14cd4286a7a4
parentab517a5ccbe8843390fe76230734106348b06cf1
qemu: migration: Drop dead VNC cookie handling

The only caller of this code is:

    for (i = 0; i < dom->def->ngraphics; i++) {
       if (dom->def->graphics[i]->type == VIR_DOMAIN_GRAPHICS_TYPE_SPICE) {
           if (!(mig->graphics =
                 qemuMigrationCookieGraphicsAlloc(driver, dom->def->graphics[i])))
               return -1;
           mig->flags |= QEMU_MIGRATION_COOKIE_GRAPHICS;
           break;
       }
    }

So this is never triggered for VNC, and in fact VNC has no support for
seamless migration anyways so that seems correct. Drop the dead VNC
handling.
src/qemu/qemu_migration.c