提交 fa98efe9 编写于 作者: Y Yonit Halperin 提交者: Gerd Hoffmann

qxl: reload memslots after migration, when qxl is in UNDEFINED mode

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: NYonit Halperin <yhalperi@redhat.com>
Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
上级 e9bff10f
...@@ -2146,6 +2146,7 @@ static int qxl_post_load(void *opaque, int version) ...@@ -2146,6 +2146,7 @@ static int qxl_post_load(void *opaque, int version)
switch (newmode) { switch (newmode) {
case QXL_MODE_UNDEFINED: case QXL_MODE_UNDEFINED:
qxl_create_memslots(d);
break; break;
case QXL_MODE_VGA: case QXL_MODE_VGA:
qxl_create_memslots(d); qxl_create_memslots(d);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册