[Spice-devel] [spice PATCH 16/55] replace some migration related spice_error calls with info/warning

Yonit Halperin yhalperi at redhat.com
Wed Aug 15 00:55:56 PDT 2012


---
 server/reds.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/server/reds.c b/server/reds.c
index d53b245..3b53056 100644
--- a/server/reds.c
+++ b/server/reds.c
@@ -4111,7 +4111,7 @@ SPICE_GNUC_VISIBLE int spice_server_migrate_connect(SpiceServer *s, const char*
     } else {
         if (reds->num_clients == 0) {
             reds_mig_release();
-            spice_error("no client connected");
+            spice_info("no client connected");
         }
         sif->migrate_connect_complete(migration_interface);
     }
@@ -4169,7 +4169,7 @@ SPICE_GNUC_VISIBLE int spice_server_migrate_end(SpiceServer *s, int completed)
 
     sif = SPICE_CONTAINEROF(migration_interface->base.sif, SpiceMigrateInterface, base);
     if (completed && !reds->expect_migrate && reds->num_clients) {
-        spice_error("spice_server_migrate_info was not called, disconnecting clients");
+        spice_warning("spice_server_migrate_info was not called, disconnecting clients");
         reds_disconnect();
         ret = -1;
         goto complete;
-- 
1.7.7.6



More information about the Spice-devel mailing list