mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-30 22:03:54 -06:00
spice: misc fixes.
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAABAgAGBQJVPhd0AAoJEEy22O7T6HE4sMkQAK9TcUjMKvKf7k20WsFBDgkc RS/NHEHNrrscnWz+n845NDueFvYAa7DfAKok0ayzD5XSK2RC3AkcGsQ/PF21kg5t +9B0y7YIdJoAt+9w+SulwF6hcK9wWBx0NOUWJomoZWntZcawAv5pTOTvcLR2TJhN eGHuI1lw/Hnsqr0vYXqkFdNNB66zA24oZiaryxsy/TMpd6vlGX3JIvDaLcTden1W u0Fmta5JEDlPCiPIBVxau88U21pDeg6PHEHmWhkeLo45Tsr+R+dB72Ugbguihr1x LRpzQtZoq8gqyqY2+r1lOS5cHNvCkqZhtDK80Aeo2UPxlg88YPMFvonTuvY8Y8Jm 6Mq1gepyI48LdoKwoL8S2ja5W8++unS6kd1oP1fxqalWqFI8mwIB1v4W75a4ejxq drbVWY4jnJDkNiz8BKmg9GLE4mEConei0Ip/lbgflESbjJ9g0Y7IGoc91cjsCXCv 1MuAphNrkwLSckJpNxooKzO7MMhYFw9PGNX26RWE64iRnwMFCsqOxE1KC7rzdnZY Y09fVV+GC1h5XyH25M5cyMCV5r/S/eM1Y6GEhq/OS8xmunGp2WKB7rmaoLMlioMs SiPExlwTaqiZldBHfB71h2E41C7awcmcmY+NsORSxIEg6eTyT4/jljQQXGiwm0JA IcfrFHJHvmmWPL6CLwS0 =Vi97 -----END PGP SIGNATURE----- Merge remote-tracking branch 'remotes/spice/tags/pull-spice-20150427-1' into staging spice: misc fixes. # gpg: Signature made Mon Apr 27 12:03:16 2015 BST using RSA key ID D3E87138 # gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>" # gpg: aka "Gerd Hoffmann <gerd@kraxel.org>" # gpg: aka "Gerd Hoffmann (private) <kraxel@gmail.com>" * remotes/spice/tags/pull-spice-20150427-1: spice: learn to hide cursor spice: set pointer position on hotspot spice: fix mouse cursor position spice: fix simple display on bigendian hosts monitor: Make client_migrate_info synchronous Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
commit
3d27b09cf6
8 changed files with 29 additions and 43 deletions
|
@ -35,6 +35,7 @@
|
|||
# define PIXMAN_BE_r8g8b8a8 PIXMAN_r8g8b8a8
|
||||
# define PIXMAN_BE_x8b8g8r8 PIXMAN_x8b8g8r8
|
||||
# define PIXMAN_BE_a8b8g8r8 PIXMAN_a8b8g8r8
|
||||
# define PIXMAN_LE_x8r8g8b8 PIXMAN_b8g8r8x8
|
||||
#else
|
||||
# define PIXMAN_BE_r8g8b8 PIXMAN_b8g8r8
|
||||
# define PIXMAN_BE_x8r8g8b8 PIXMAN_b8g8r8x8
|
||||
|
@ -45,6 +46,7 @@
|
|||
# define PIXMAN_BE_r8g8b8a8 PIXMAN_a8b8g8r8
|
||||
# define PIXMAN_BE_x8b8g8r8 PIXMAN_r8g8b8x8
|
||||
# define PIXMAN_BE_a8b8g8r8 PIXMAN_r8g8b8a8
|
||||
# define PIXMAN_LE_x8r8g8b8 PIXMAN_x8r8g8b8
|
||||
#endif
|
||||
|
||||
/* -------------------------------------------------------------------- */
|
||||
|
|
|
@ -42,8 +42,7 @@ int qemu_spice_set_passwd(const char *passwd,
|
|||
bool fail_if_connected, bool disconnect_if_connected);
|
||||
int qemu_spice_set_pw_expire(time_t expires);
|
||||
int qemu_spice_migrate_info(const char *hostname, int port, int tls_port,
|
||||
const char *subject,
|
||||
MonitorCompletion cb, void *opaque);
|
||||
const char *subject);
|
||||
|
||||
CharDriverState *qemu_chr_open_spice_vmc(const char *type);
|
||||
#if SPICE_SERVER_VERSION >= 0x000c02
|
||||
|
@ -70,10 +69,8 @@ static inline int qemu_spice_set_pw_expire(time_t expires)
|
|||
return -1;
|
||||
}
|
||||
static inline int qemu_spice_migrate_info(const char *h, int p, int t,
|
||||
const char *s,
|
||||
MonitorCompletion cb, void *opaque)
|
||||
const char *s)
|
||||
{
|
||||
cb(opaque, NULL);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
|
@ -97,7 +97,8 @@ struct SimpleSpiceDisplay {
|
|||
/* cursor (without qxl): displaychangelistener -> spice server */
|
||||
SimpleSpiceCursor *ptr_define;
|
||||
SimpleSpiceCursor *ptr_move;
|
||||
uint16_t ptr_x, ptr_y;
|
||||
int16_t ptr_x, ptr_y;
|
||||
int16_t hot_x, hot_y;
|
||||
|
||||
/* cursor (with qxl): qxl local renderer -> displaychangelistener */
|
||||
QEMUCursor *cursor;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue