[PATCH v3 1/2] qemu: Allow migration over UNIX socket

Laine Stump laine at redhat.com
Sun Sep 6 01:22:34 UTC 2020


On 9/4/20 11:57 AM, Jiri Denemark wrote:
> On Fri, Sep 04, 2020 at 10:58:45 +0200, Martin Kletzander wrote:
>> T...
>> @@ -3684,6 +3715,14 @@ qemuMigrationSrcRun(virQEMUDriverPtr driver,
>>       if (migrate_flags & (QEMU_MONITOR_MIGRATE_NON_SHARED_DISK |
>>                            QEMU_MONITOR_MIGRATE_NON_SHARED_INC)) {
>>           if (mig->nbd) {
>> +            const char *host = "";
>> +
>> +            if (spec->destType == MIGRATION_DEST_HOST ||
>> +                spec->destType == MIGRATION_DEST_CONNECT_HOST) {
>> +                host = spec->dest.host.name;
>> +            }
>> +
>> +
> One empty line would be enough :-)


He was on a roll!





More information about the libvir-list mailing list