]> xenbits.xensource.com Git - libvirt.git/commitdiff
qemu: Include listenAddress in debug prints
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 11 Oct 2013 12:15:32 +0000 (14:15 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 11 Oct 2013 13:19:23 +0000 (15:19 +0200)
After my patches, some functions gained one more argument
(@listenAddress) which wasn't included in debug printing of
arguments they were called with. Functions in question are:
qemuMigrationPrepareDirect and qemuMigrationPerform.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_migration.c

index 32121c65057356b47732f09bdabeb5c0c26806a4..38edadb9742dd787f1cc58008f45ae1da6c032ac 100644 (file)
@@ -2532,10 +2532,10 @@ qemuMigrationPrepareDirect(virQEMUDriverPtr driver,
 
     VIR_DEBUG("driver=%p, dconn=%p, cookiein=%s, cookieinlen=%d, "
               "cookieout=%p, cookieoutlen=%p, uri_in=%s, uri_out=%p, "
-              "def=%p, origname=%s, flags=%lx",
+              "def=%p, origname=%s, listenAddress=%s, flags=%lx",
               driver, dconn, NULLSTR(cookiein), cookieinlen,
               cookieout, cookieoutlen, NULLSTR(uri_in), uri_out,
-              *def, origname, flags);
+              *def, origname, NULLSTR(listenAddress), flags);
 
     *uri_out = NULL;
 
@@ -4243,11 +4243,11 @@ qemuMigrationPerform(virQEMUDriverPtr driver,
                      bool v3proto)
 {
     VIR_DEBUG("driver=%p, conn=%p, vm=%p, xmlin=%s, dconnuri=%s, "
-              "uri=%s, graphicsuri=%s, "
+              "uri=%s, graphicsuri=%s, listenAddress=%s"
               "cookiein=%s, cookieinlen=%d, cookieout=%p, cookieoutlen=%p, "
               "flags=%lx, dname=%s, resource=%lu, v3proto=%d",
               driver, conn, vm, NULLSTR(xmlin), NULLSTR(dconnuri),
-              NULLSTR(uri), NULLSTR(graphicsuri),
+              NULLSTR(uri), NULLSTR(graphicsuri), NULLSTR(listenAddress),
               NULLSTR(cookiein), cookieinlen, cookieout, cookieoutlen,
               flags, NULLSTR(dname), resource, v3proto);