Commit fa98efe9 authored by Yonit Halperin's avatar Yonit Halperin Committed by Gerd Hoffmann
Browse files

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: default avatarYonit Halperin <yhalperi@redhat.com>
Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
parent e9bff10f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);