Searched hist:"038 c1879a00153b14bce113315b693e8c2944fa9" (Results 1 – 1 of 1) sorted by relevance
/qemu/hw/display/ |
H A D | qxl.c | 038c1879a00153b14bce113315b693e8c2944fa9 Mon Jan 21 12:48:07 UTC 2013 Alon Levy <alevy@redhat.com> qxl: change rom size to 8192
This is a simpler solution to 869981, where migration breaks since qxl's rom bar size has changed. Instead of ignoring fields in QXLRom, which is what has actually changed, we remove some of the modes, a mechanism already accounted for by the guest. The modes left allow for portrait and landscape only modes, corresponding to orientations 0 and 1. Orientations 2 and 3 are dropped.
Added assert so that rom size will fit the future QXLRom increases via spice-protocol changes.
This patch has been tested with 6.1.0.10015. With the newer 6.1.0.10016 there are problems with both "(flipped)" modes prior to the patch, and the patch loses the ability to set "Portrait" modes. But this is a separate bug to be fixed in the driver, and besides the patch doesn't affect the new arbitrary mode setting functionality.
Signed-off-by: Alon Levy <alevy@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
|