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!


Reply via email to