* [Qemu-devel] [PATCH] qxl: reload memslots after migration, when qxl is in UNDEFINED mode
@ 2012-11-28 15:08 Yonit Halperin
2012-11-29 6:58 ` Gerd Hoffmann
0 siblings, 1 reply; 2+ messages in thread
From: Yonit Halperin @ 2012-11-28 15:08 UTC (permalink / raw)
To: qemu-devel; +Cc: Yonit Halperin, kraxel
The devram memslot stays active when qxl enters UNDEFINED mode (i.e, no
primary surface). If migration has occurred while the device is in
UNDEFINED stae, the memslots have to be reloaded at the destination.
Fixes rhbz#874574
Signed-off-by: Yonit Halperin <yhalperi@redhat.com>
---
hw/qxl.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/qxl.c b/hw/qxl.c
index 1bc2d32..96887c4 100644
--- a/hw/qxl.c
+++ b/hw/qxl.c
@@ -2146,6 +2146,7 @@ static int qxl_post_load(void *opaque, int version)
switch (newmode) {
case QXL_MODE_UNDEFINED:
+ qxl_create_memslots(d);
break;
case QXL_MODE_VGA:
qxl_create_memslots(d);
--
1.7.11.7
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [PATCH] qxl: reload memslots after migration, when qxl is in UNDEFINED mode
2012-11-28 15:08 [Qemu-devel] [PATCH] qxl: reload memslots after migration, when qxl is in UNDEFINED mode Yonit Halperin
@ 2012-11-29 6:58 ` Gerd Hoffmann
0 siblings, 0 replies; 2+ messages in thread
From: Gerd Hoffmann @ 2012-11-29 6:58 UTC (permalink / raw)
To: Yonit Halperin; +Cc: qemu-devel
On 11/28/12 16:08, Yonit Halperin wrote:
> The devram memslot stays active when qxl enters UNDEFINED mode (i.e, no
> primary surface). If migration has occurred while the device is in
> UNDEFINED stae, the memslots have to be reloaded at the destination.
Patch added to spice patch queue.
thanks,
Gerd
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-11-29 6:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-28 15:08 [Qemu-devel] [PATCH] qxl: reload memslots after migration, when qxl is in UNDEFINED mode Yonit Halperin
2012-11-29 6:58 ` Gerd Hoffmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).