|
|
43fe83 |
From 0256413de0e54abee13663e37e57e3537c8e74d5 Mon Sep 17 00:00:00 2001
|
|
|
43fe83 |
Message-Id: <0256413de0e54abee13663e37e57e3537c8e74d5.1382534061.git.jdenemar@redhat.com>
|
|
|
43fe83 |
From: Michal Privoznik <mprivozn@redhat.com>
|
|
|
43fe83 |
Date: Fri, 11 Oct 2013 15:30:53 +0200
|
|
|
43fe83 |
Subject: [PATCH] qemu: Include listenAddress in debug prints
|
|
|
43fe83 |
|
|
|
43fe83 |
https://bugzilla.redhat.com/show_bug.cgi?id=1015215
|
|
|
43fe83 |
|
|
|
43fe83 |
After my patches, some functions gained one more argument
|
|
|
43fe83 |
(@listenAddress) which wasn't included in debug printing of
|
|
|
43fe83 |
arguments they were called with. Functions in question are:
|
|
|
43fe83 |
qemuMigrationPrepareDirect and qemuMigrationPerform.
|
|
|
43fe83 |
|
|
|
43fe83 |
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
|
|
|
43fe83 |
(cherry picked from commit be651860444cab8d4961ea63ac570846f63e2d89)
|
|
|
43fe83 |
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
|
|
|
43fe83 |
---
|
|
|
43fe83 |
src/qemu/qemu_migration.c | 8 ++++----
|
|
|
43fe83 |
1 file changed, 4 insertions(+), 4 deletions(-)
|
|
|
43fe83 |
|
|
|
43fe83 |
diff --git a/src/qemu/qemu_migration.c b/src/qemu/qemu_migration.c
|
|
|
43fe83 |
index 3f07b86..047fad9 100644
|
|
|
43fe83 |
--- a/src/qemu/qemu_migration.c
|
|
|
43fe83 |
+++ b/src/qemu/qemu_migration.c
|
|
|
43fe83 |
@@ -2536,10 +2536,10 @@ qemuMigrationPrepareDirect(virQEMUDriverPtr driver,
|
|
|
43fe83 |
|
|
|
43fe83 |
VIR_DEBUG("driver=%p, dconn=%p, cookiein=%s, cookieinlen=%d, "
|
|
|
43fe83 |
"cookieout=%p, cookieoutlen=%p, uri_in=%s, uri_out=%p, "
|
|
|
43fe83 |
- "def=%p, origname=%s, flags=%lx",
|
|
|
43fe83 |
+ "def=%p, origname=%s, listenAddress=%s, flags=%lx",
|
|
|
43fe83 |
driver, dconn, NULLSTR(cookiein), cookieinlen,
|
|
|
43fe83 |
cookieout, cookieoutlen, NULLSTR(uri_in), uri_out,
|
|
|
43fe83 |
- *def, origname, flags);
|
|
|
43fe83 |
+ *def, origname, NULLSTR(listenAddress), flags);
|
|
|
43fe83 |
|
|
|
43fe83 |
*uri_out = NULL;
|
|
|
43fe83 |
|
|
|
43fe83 |
@@ -4247,11 +4247,11 @@ qemuMigrationPerform(virQEMUDriverPtr driver,
|
|
|
43fe83 |
bool v3proto)
|
|
|
43fe83 |
{
|
|
|
43fe83 |
VIR_DEBUG("driver=%p, conn=%p, vm=%p, xmlin=%s, dconnuri=%s, "
|
|
|
43fe83 |
- "uri=%s, graphicsuri=%s, "
|
|
|
43fe83 |
+ "uri=%s, graphicsuri=%s, listenAddress=%s"
|
|
|
43fe83 |
"cookiein=%s, cookieinlen=%d, cookieout=%p, cookieoutlen=%p, "
|
|
|
43fe83 |
"flags=%lx, dname=%s, resource=%lu, v3proto=%d",
|
|
|
43fe83 |
driver, conn, vm, NULLSTR(xmlin), NULLSTR(dconnuri),
|
|
|
43fe83 |
- NULLSTR(uri), NULLSTR(graphicsuri),
|
|
|
43fe83 |
+ NULLSTR(uri), NULLSTR(graphicsuri), NULLSTR(listenAddress),
|
|
|
43fe83 |
NULLSTR(cookiein), cookieinlen, cookieout, cookieoutlen,
|
|
|
43fe83 |
flags, NULLSTR(dname), resource, v3proto);
|
|
|
43fe83 |
|
|
|
43fe83 |
--
|
|
|
43fe83 |
1.8.4
|
|
|
43fe83 |
|