Searched hist:"54825 d2e39b0a809332b5fee837f456d5d9befee" (Results 1 – 1 of 1) sorted by relevance
/qemu/hw/display/ |
H A D | qxl.c | 54825d2e39b0a809332b5fee837f456d5d9befee Tue Oct 25 13:39:50 UTC 2011 Alon Levy <alevy@redhat.com> qxl: create slots on post_load in vga state
RHBZ 740547
If we migrate when the device is in vga state the guest still believes the slots are created, and will cause operations that reference the slots, causing a "panic: virtual address out of range" on the first of them. Easy to see by migrating in vga mode with a driver loaded, for instance windows cmd window in full screen mode, and then exiting vga mode back to native mode will cause said panic.
Fixed by doing the slot recreation in post_load for vga mode as well. Note that compat does not require any changes because it creates it's only slot by a side effect of QXL_IO_SET_MODE.
Signed-off-by: Alon Levy <alevy@redhat.com>
|