spice: move qemu_spice_display_*() from spice-graphics to spice-core
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
spice: move spice_server_vm_{start,stop} calls into qemu_spice_display_*()
So calling spice server to start/stop the worker goeshand in hand with the status variable update.
spice: flip streaming video mode to off by default
Video streaming detection heuristics in spice-server have problemskeeping modern desktop animations (as done by gnome shell) and realvideo playback apart. This leads to jpeg compression artefacts onyour desktop, due to spice using mjpeg to send what it thinks is...
Don't crash on keyboard input with no handler
Prevent a call to put_kbd if null.
On shutdown of some OSes, the keyboard handler goes away before thesystem is down. If a key is typed during this window, qemu crashes.
Signed-off-by: Don Koch <dkoch@verizon.com>...
misc: Replace 'struct QEMUTimer' by 'QEMUTimer'
Most code already used QEMUTimer without the redundant 'struct' keyword.
Signed-off-by: Stefan Weil <sw@weilnetz.de>Reviewed-by: Andreas Färber <afaerber@suse.de>Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
trace: Remove trace.h from console.h (less dependencies)
This reduces the dependencies on trace.h.Only two source files which need console.h also need trace.h.
Signed-off-by: Stefan Weil <sw@weilnetz.de>Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
console: Replace conditional debug messages by trace methods
Signed-off-by: Stefan Weil <sw@weilnetz.de>Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
gtk: Replace conditional debug messages by trace methods
curses: fixup SIGWINCH handler mess
Don't run code in the signal handler, only set a flag.Use sigaction(2) to avoid non-portable signal(2) semantics.Make #ifdefs less messy.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>Reviewed-by: Laszlo Ersek <lersek@redhat.com>...
console: Remove unused debug code
The local function console_print_text_attributes is no longer used sincecommit 7d6ba01c3741bc32ae252bf64a5fd3f930c2df4f.
View revisions
Also available in: Atom