diff options
author | Alon Levy <alevy@redhat.com> | 2012-06-25 09:28:59 +0300 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2012-06-29 17:43:07 +0300 |
commit | 076d32aafe0a944240521f341429e8aa1678b3dd (patch) | |
tree | 4cc31068d6607fccd0395fa73d244c99f4998744 | |
parent | 4592aed78085c9f7457e8a1b75ab14807c91a9ea (diff) |
qxl: let guest use whole bar for primaryfeatures/qxl-monitors-config
Signed-off-by: Alon Levy <alevy@redhat.com>
-rw-r--r-- | hw/qxl.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1230,8 +1230,8 @@ static void qxl_create_guest_primary(PCIQXLDevice *qxl, int loadvm, int requested_stride = le32_to_cpu(sc->stride); size = abs(requested_stride) * requested_height; - if (size > qxl->vgamem_size) { - qxl_set_guest_bug(qxl, "%s: requested primary larger then framebuffer" + if (size > qxl->vga.vram_size) { + qxl_set_guest_bug(qxl, "%s: requested primary larger then bar" " size", __func__); return; } |