[Spice-commits] Branch 'spice.v12' - 3 commits - audio/spiceaudio.c hw/qxl.c spice.c

Gerd Hoffmann kraxel at kemper.freedesktop.org
Mon Jul 5 09:13:36 PDT 2010


 audio/spiceaudio.c |    2 +-
 hw/qxl.c           |    2 +-
 spice.c            |    2 --
 3 files changed, 2 insertions(+), 4 deletions(-)

New commits:
commit 06f87baf1a6285358cae9258971d0dae2022c53b
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Mon Jul 5 18:09:28 2010 +0200

    spice audio: never skip spice_server_playback_stop call

diff --git a/audio/spiceaudio.c b/audio/spiceaudio.c
index 8fe34ba..8ae7499 100644
--- a/audio/spiceaudio.c
+++ b/audio/spiceaudio.c
@@ -165,8 +165,8 @@ static int line_out_ctl(HWVoiceOut *hw, int cmd, ...)
             memset(out->fpos, 0, out->fsize << 2);
             spice_server_playback_put_samples(&out->sin, out->frame);
             out->frame = out->fpos = NULL;
-            spice_server_playback_stop(&out->sin);
         }
+        spice_server_playback_stop(&out->sin);
         break;
     }
     return 0;
commit 53b47075f81a76c1b03bd33b4e3e2e263d04784b
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Mon Jul 5 18:07:17 2010 +0200

    qxl: disable debug by default

diff --git a/hw/qxl.c b/hw/qxl.c
index e3601a7..6ca67a3 100644
--- a/hw/qxl.c
+++ b/hw/qxl.c
@@ -1414,7 +1414,7 @@ static PCIDeviceInfo qxl_info = {
         DEFINE_PROP_UINT32("ram_size", PCIQXLDevice, vga.vram_size, 64 * 1024 * 1024),
         DEFINE_PROP_UINT32("vram_size", PCIQXLDevice, vram_size, 64 * 1024 * 1024),
         DEFINE_PROP_UINT32("revision", PCIQXLDevice, revision, 3),
-        DEFINE_PROP_UINT32("debug", PCIQXLDevice, debug, 1),
+        DEFINE_PROP_UINT32("debug", PCIQXLDevice, debug, 0),
         DEFINE_PROP_UINT32("cmdlog", PCIQXLDevice, cmdlog, 0),
         DEFINE_PROP_END_OF_LIST(),
     }
commit dd5296831ac4b4cd681cb691d6f92d3464cff025
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Mon Jul 5 18:06:51 2010 +0200

    spice core: zap debug messages

diff --git a/spice.c b/spice.c
index c83eab0..a55ff14 100644
--- a/spice.c
+++ b/spice.c
@@ -95,7 +95,6 @@ static SpiceWatch *watch_add(int fd, int event_mask, SpiceWatchFunc func, void *
     watch->func   = func;
     watch->opaque = opaque;
     QTAILQ_INSERT_TAIL(&watches, watch, next);
-    fprintf(stderr, "%s: watch %p, fd %d\n", __FUNCTION__, watch, fd);
 
     watch_update_mask(watch, event_mask);
     return watch;
@@ -103,7 +102,6 @@ static SpiceWatch *watch_add(int fd, int event_mask, SpiceWatchFunc func, void *
 
 static void watch_remove(SpiceWatch *watch)
 {
-    fprintf(stderr, "%s: watch %p\n", __FUNCTION__, watch);
     watch_update_mask(watch, 0);
     QTAILQ_REMOVE(&watches, watch, next);
     qemu_free(watch);


More information about the Spice-commits mailing list