Series contains two logical parts:
[1-2/4] fix a segfault after user misconfiguration (too big vgamem_mb),
[3-4/4] improve code that was modified by [2/4].

v2 summary:
- added [1/4] to explain the size bump in [2/4]
- modified Gerd's proposed solution as [2/4]
- added [3/4] to have at least one nice patch
- removed assert and kept rounding+lamping in [4/4]


Radim Krčmář (4):
  qxl: document minimal video memory for new modes
  spice: fix invalid memory access to vga.vram
  qxl: refactor rounding up to a nearest power of 2
  vga: refactor vram_size clamping and rounding

 hw/display/qxl.c      | 34 ++++++++++++++++------------------
 hw/display/vga.c      | 22 +++++++++++++++-------
 include/qemu-common.h |  3 +++
 util/cutils.c         | 14 ++++++++++++++
 4 files changed, 48 insertions(+), 25 deletions(-)

-- 
2.3.0


Reply via email to