[Spice-devel] Registry settings of QXL driver doesn't reflect to Guest.

2011-09-21 Thread Naga Mohan Pothula
Hi, I wish to keep 16-bit color mode instead of 32-bit color mode in Win7 guest launched with qemu v0.15.0. The settings(color mode) doesn't persist when I do restart Guest image.  I even tried of keeping color mode at "DefaultSettings.BitsPerPel" registry settings of QXL driver but the setting

Re: [Spice-devel] [RFC qxl-win 2/2] display: handle interrupt handler disappearance (rhbz 721118)

2011-09-21 Thread Uri Lublin
On 09/21/2011 04:13 PM, Alon Levy wrote: This patch handles the surprise removal whql test. The surprise removal test sends a surprise removal IRP via a filter driver to qxl.sys. The handling of that IRP is actually done in videoprt.sys, and there is no API to get notified. The side effect of the

[Spice-devel] [PATCH spice-protocol] Release 0.8.2

2011-09-21 Thread Yonit Halperin
semi-seamless migration RHBZ 738262 Signed-off-by: Yonit Halperin --- NEWS |4 configure.ac |2 +- spice/enums.h|2 ++ spice/protocol.h |6 +- 4 files changed, 12 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index f238abc..bb11ed2 100644 --

[Spice-devel] [PATCH spice-server 13/13] Release 0.8.3

2011-09-21 Thread Yonit Halperin
Signed-off-by: Yonit Halperin --- NEWS |7 +++ configure.ac |2 +- server/spice-server.syms |4 server/spice.h |2 +- 4 files changed, 13 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index ee6ceec..18168cb 100644 --- a

[Spice-devel] [PATCH spice-server 12/13] server: fall back to switch host scheme in case semi-seamless connection to target fails

2011-09-21 Thread Yonit Halperin
Signed-off-by: Yonit Halperin --- server/reds.c | 18 +- 1 files changed, 13 insertions(+), 5 deletions(-) diff --git a/server/reds.c b/server/reds.c index 76aa0ed..54c06d1 100644 --- a/server/reds.c +++ b/server/reds.c @@ -283,6 +283,7 @@ typedef struct RedsState { int m

[Spice-devel] [PATCH spice-server 11/13] server: turn spice_server_migrate_start into a valid call

2011-09-21 Thread Yonit Halperin
We will add a qemu call to spice_server_migrate_start when migration starts. For now, it does nothing, but we may need this notification in the future. Signed-off-by: Yonit Halperin --- server/reds.c |8 +--- 1 files changed, 1 insertions(+), 7 deletions(-) diff --git a/server/reds.c b/

[Spice-devel] [PATCH spice-server 10/13] server: call migrate_connect_complete callback when no client is connected

2011-09-21 Thread Yonit Halperin
Signed-off-by: Yonit Halperin --- server/reds.c | 72 ++--- 1 files changed, 43 insertions(+), 29 deletions(-) diff --git a/server/reds.c b/server/reds.c index ca4e1d1..6d2269c 100644 --- a/server/reds.c +++ b/server/reds.c @@ -761,6 +761,7

[Spice-devel] [PATCH spice-server 09/13] server: handling semi-seamless migration in the target side

2011-09-21 Thread Yonit Halperin
(1) not sending anything to the client till we recieve SPICE_MSGC_MIGRATE_END (2) start a new migration (handle client_migrate_info) only after SPICE_MSGC_MIGRATE_END from the previous migration has been received (3) use the correct ticket Signed-off-by: Yonit Halperin --- server/reds.c |

[Spice-devel] [PATCH spice-server 08/13] server: move the linking of channels to a separate routine

2011-09-21 Thread Yonit Halperin
Signed-off-by: Yonit Halperin --- server/reds.c | 68 +++- 1 files changed, 42 insertions(+), 26 deletions(-) diff --git a/server/reds.c b/server/reds.c index bea0eb0..e7388a0 100644 --- a/server/reds.c +++ b/server/reds.c @@ -2612,12 +2612,

[Spice-devel] [PATCH spice-server 07/13] server: move SPICE_MSG_MAIN_INIT sending code to a separate routine

2011-09-21 Thread Yonit Halperin
Signed-off-by: Yonit Halperin --- server/reds.c | 56 +--- 1 files changed, 33 insertions(+), 23 deletions(-) diff --git a/server/reds.c b/server/reds.c index e088b08..bea0eb0 100644 --- a/server/reds.c +++ b/server/reds.c @@ -2078,6 +2078,3

[Spice-devel] [PATCH spice-server 06/13] server: send SPICE_MSG_MAIN_MIGRATE_END on spice_server_migrate_end

2011-09-21 Thread Yonit Halperin
Signed-off-by: Yonit Halperin --- server/reds.c | 86 + 1 files changed, 68 insertions(+), 18 deletions(-) diff --git a/server/reds.c b/server/reds.c index 845b0ee..e088b08 100644 --- a/server/reds.c +++ b/server/reds.c @@ -275,6 +275,7

[Spice-devel] [PATCH spice-server 05/13] spice.proto: add SPICE_MSG_MAIN_MIGRATE_END & SPICE_MSGC_MAIN_MIGRATE_END

2011-09-21 Thread Yonit Halperin
Signed-off-by: Yonit Halperin --- spice.proto |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/spice.proto b/spice.proto index d5b954e..235ec95 100644 --- a/spice.proto +++ b/spice.proto @@ -219,6 +219,8 @@ channel MainChannel : BaseChannel { uint8 *cert_subject

[Spice-devel] [PATCH spice-server 04/13] server, proto: tell the client to connect to the migration target before migraton starts

2011-09-21 Thread Yonit Halperin
(1) send SPICE_MSG_MAIN_MIGRATE_BEGIN upon spice_server_migrate_connect (2) wait for SPICE_MSGC_MAIN_MIGRATE_(CONNECTED|CONNECT_ERROR), or a timeout, in order to complete client_migrate_info monitor command Signed-off-by: Yonit Halperin --- common/messages.h |2 + server/reds.c | 1

[Spice-devel] [PATCH spice-server 03/13] configure: spice-protocol >= 0.8.2 (semi-seamless migration protocol)

2011-09-21 Thread Yonit Halperin
Signed-off-by: Yonit Halperin --- configure.ac |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index 3a86515..e169f36 100644 --- a/configure.ac +++ b/configure.ac @@ -126,7 +126,7 @@ fi dnl ===

[Spice-devel] [PATCH spice-server 02/13] server: handle migration interface addition

2011-09-21 Thread Yonit Halperin
Signed-off-by: Yonit Halperin --- server/reds.c | 29 + server/reds.h |4 2 files changed, 33 insertions(+), 0 deletions(-) diff --git a/server/reds.c b/server/reds.c index 9a983f8..99d52f9 100644 --- a/server/reds.c +++ b/server/reds.c @@ -73,6 +73,7 @@ s

[Spice-devel] [PATCH spice-server 01/13] server/spice.h: semi-seamless migration interface, RHBZ #738266

2011-09-21 Thread Yonit Halperin
semi-seamless migration details: migration source side - (1) spice_server_migrate_connect (*): tell client to link to the target side - send SPICE_MSG_MAIN_MIGRATE_BEGIN. This should be called upon client_migrate_info cmd. client_migrate_info is asynchronous. (2) Co

[Spice-devel] [PATCH spice-server 00/13] semi-seamless migration v2 (RHBZ #738266, 725009)

2011-09-21 Thread Yonit Halperin
same as the previous version with the following changes: (1) I'm sending only the spice-server patches. I will send the client fixes later. (and then I will move the "Release 0.8.3" patch to the head). (2) migration interface changes: * spice_server_migrate_connect was added. It is

[Spice-devel] [PATCH 2/2] spice: support the new migration interface (spice 0.8.3)

2011-09-21 Thread Yonit Halperin
- call spice_server_migrate_(start|end|connect). - register spice_migrate_connect completion callback Signed-off-by: Yonit Halperin --- ui/spice-core.c | 56 ++- 1 files changed, 55 insertions(+), 1 deletions(-) diff --git a/ui/spice-core.c

[Spice-devel] [PATCH 1/2] spice: turn client_migrate_info to async

2011-09-21 Thread Yonit Halperin
RHBZ 737921 Spice client is required to connect to the migration target before/as migration starts. Since after migration starts, the target qemu is blocked and cannot accept new spice client we trigger the connection to the target upon client_migrate_info command. client_migrate_info completion c

[Spice-devel] [PATCH 0/2] spice migration interface (RHBZ 737921)

2011-09-21 Thread Yonit Halperin
Spice client is required to connect to the migration target before/as migration starts. Previously, it connected upon migration completion, however, the ticket was set in the beginning, thus when migration time was > ticket_expiration_time, spice failed to connect to the target. Since the migratio

[Spice-devel] [RFC qxl-win 2/2] display: handle interrupt handler disappearance (rhbz 721118)

2011-09-21 Thread Alon Levy
This patch handles the surprise removal whql test. The surprise removal test sends a surprise removal IRP via a filter driver to qxl.sys. The handling of that IRP is actually done in videoprt.sys, and there is no API to get notified. The side effect of the handler in videoprt.sys is disabling our i

[Spice-devel] [RFC qxl-win 1/2] display: add pdev->use_async

2011-09-21 Thread Alon Levy
--- display/driver.c |1 + display/qxldd.h |3 ++- 2 files changed, 3 insertions(+), 1 deletions(-) diff --git a/display/driver.c b/display/driver.c index de1f714..5c4578c 100644 --- a/display/driver.c +++ b/display/driver.c @@ -719,6 +719,7 @@ static BOOL PrepareHardware(PDev *pdev)

[Spice-devel] [RFC qxl-win 0/2] surprise removal fix

2011-09-21 Thread Alon Levy
Hi, This is RFC because it is a pretty ugly hack. Otherwise it seems to work. Alon Levy (2): display: add pdev->use_async display: handle interrupt handler disappearance (rhbz 721118) display/driver.c |1 + display/qxldd.h | 42 -- 2 files cha