diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2012-11-28 10:08:22 -0500 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2012-11-29 07:58:45 +0100 |
commit | fa98efe932d93a15ffa867f3b05149c8d1fc7c28 (patch) | |
tree | bff416fb2e32bc815d15059fe56e6c54da807d8f | |
parent | e9bff10f8db94912b1b0e6e2e3394cae02faf614 (diff) |
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: Yonit Halperin <yhalperi@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
-rw-r--r-- | hw/qxl.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |