• J
    qemu: Do not ignore mandatory features in migration cookie · 69660042
    Jiri Denemark 提交于
    Due to "feature"/"features" nasty typo, any features marked as mandatory
    by one side of a migration are silently considered optional by the other
    side. The following is the code that formats mandatory features in
    migration cookie:
    
        for (i = 0 ; i < QEMU_MIGRATION_COOKIE_FLAG_LAST ; i++) {
            if (mig->flagsMandatory & (1 << i))
                virBufferAsprintf(buf, "  <feature name='%s'/>\n",
                                  qemuMigrationCookieFlagTypeToString(i));
        }
    69660042
qemu_migration.c 126.6 KB