xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* libxl videoram for cirrus graphics
@ 2013-09-17 12:54 Rob Hoes
  2013-09-17 13:17 ` Ian Campbell
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Rob Hoes @ 2013-09-17 12:54 UTC (permalink / raw)
  To: xen-devel@lists.xen.org

Hi,

The videoram setting in xl config files is documented as follows:

"
videoram=MBYTES

    Sets the amount of RAM which the emulated video card will contain, which in turn limits the resolutions and bit depths which will be available. The default amount of video ram for stdvga is 8MB which is sufficient for e.g. 1600x1200 at 32bpp and videoram option is currently working only when using the qemu-xen-traditional device-model.

    When using the emulated Cirrus graphics card (vga="cirrus") the amount of video ram is fixed at 4MB which is sufficient for 1024x768 at 32 bpp and videoram option is currently working only when using the upstream qemu-xen device-model.
"

XenServer also uses a default of 4MB video ram for cirrus graphics.

However, when I use xl to create a VM with cirrus graphics, I get 8MB of video RAM by default. Moreover, setting it to videoram=4 in the config file leads to complaints from libxl:

    libxl_create.c:228:libxl__domain_build_info_setdefault: videoram must be at least 8 mb

Is there a bug in the logic in libxl_create.c?

Cheers,
Rob

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2013-09-20 10:49 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-17 12:54 libxl videoram for cirrus graphics Rob Hoes
2013-09-17 13:17 ` Ian Campbell
2013-09-17 13:29   ` Rob Hoes
2013-09-17 14:04     ` Ian Campbell
2013-09-17 14:52       ` Rob Hoes
2013-09-17 15:01         ` Ian Campbell
2013-09-20 10:49   ` Stefano Stabellini
2013-09-17 13:24 ` Wei Liu
2013-09-17 14:00   ` Ian Campbell
2013-09-17 17:51     ` Fabio Fantoni
2013-09-17 19:13       ` Ian Campbell
2013-09-17 14:03 ` Frediano Ziglio
2013-09-17 17:00   ` Pasi Kärkkäinen
2013-09-18 13:51     ` Rob Hoes
2013-09-18  9:13   ` Rob Hoes
2013-09-18  9:40     ` Fabio Fantoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).