[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [qemu-upstream-unstable] qxl: reload memslots after migration, when qxl is in UNDEFINED mode



commit fa98efe932d93a15ffa867f3b05149c8d1fc7c28
Author: Yonit Halperin <yhalperi@xxxxxxxxxx>
Date:   Wed Nov 28 10:08:22 2012 -0500

    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@xxxxxxxxxx>
    Signed-off-by: Gerd Hoffmann <kraxel@xxxxxxxxxx>
---
 hw/qxl.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

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);
--
generated by git-patchbot for /home/xen/git/qemu-upstream-unstable.git

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.