spice-core: Use g_strdup_printf instead of snprintf
Several places in spice-core.c were using either g_malloc+snprintfor snprintf+g_strdup to achieve the same result as g_strdup_printf.
Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
gtk: Remove unused include statements which are not portable
These include files don't exist for MinGW and are not needed for Linux(and hopefully for other hosts as well), so remove them.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
aio / timers: Switch entire codebase to the new timer API
This is an autogenerated patch using scripts/switch-timer-api.
Switch the entire code base to using the new timer API.
Note this patch may introduce some line length issues.
Signed-off-by: Alex Bligh <alex@alex.org.uk>...
aio / timers: Untangle include files
include/qemu/timer.h has no need to include main-loop.h anddoing so causes an issue for the next patch. Unfortunatelyvarious files assume including timers.h will pull in main-loop.h.Untangle this mess.
spice: fix display initialization
Spice has two display interface implementations: One integrated intothe qxl graphics card, and one generic which can operate with everyqemu-emulated graphics card.
The generic one is activated in case spice is used without qxl. The...
migration: fix spice migration
Commit 29ae8a4133082e16970c9d4be09f4b6a15034617 ("rdma: introduceMIG_STATE_NONE and change MIG_STATE_SETUP state transition") changed thestate transitions during migration setup.
Spice used to be notified with MIG_STATE_ACTIVE and it detected this...
gtk: Fix accelerator filtering
This is in fact very simply: When the input in grabbed, everythingshould be exclusively passed to the guest - except it has our magicCTRL-ALT modifier set. Then let GTK filter out those accels that are inuse. When checking the modifier state, we just need to filter out NUM...
console: Hook QemuConsoles into qom tree
Put them named "console[$index]" below "/backend", so you canlist & inspect them via QMP.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>Message-id: 1372150171-8707-1-git-send-email-kraxel@redhat.comSigned-off-by: Anthony Liguori <aliguori@us.ibm.com>
gtk: add support for surface conversion
Also use CAIRO_FORMAT_RGB24 unconditionally. DisplaySurfaces will neverever see 8bpp surfaces. And using CAIRO_FORMAT_RGB16_565 for the 16bppcase doesn't seem to be a good idea too.
<quote src="/usr/include/cairo/cairo.h">...
Merge remote-tracking branch 'spice/spice.v71' into staging
View revisions
Also available in: Atom