[Spice-devel] [libvirt] qemu qxl video memory parameter - windows bsod with spice
Daniel P. Berrange
berrange at redhat.com
Wed May 4 09:05:04 PDT 2011
On Wed, May 04, 2011 at 07:52:37PM +0400, Emre Erenoglu wrote:
> Hi,
>
> Please see the below discussion with the spice community.
>
> libvirt is adding a parameter about video ram to qemu process and this
> parameter might be responsible of a crash in the qxl at higher resolutions.
> Spice people tell me that their default ram should be 64 Mbytes.
>
> I'm using libvirt 0.9.0 and qemu 0.14, virt-manager 0.8.7. When configuring
> a guest in virt-manager, cirrus driver is added as default, then you can
> change it to qxl, but the 9 MB videoram parameter can't be adjusted and it
> does not automatically change to 64 MB. If you add a 2nd qxl video card,
> then it has 64 MB memory.
>
> The parameter that qemu gets with one qxl device is:
>
> -vga qxl -global qxl-vga.vram_size=9437184
>
> The parameter that qemu gets with a second qxl device is:
>
> -vga qxl -global qxl-vga.vram_size=9437184 -device
> qxl,id=video1,vram_size=67108864,bus=pci.0,addr=0x8
>
> Is this a bug in libvirt or other related tools?
libvirt allows arbitrary RAM specification for QXL, so I
think it is probably a virt-manager issue. When changing
the display type from cirrus -> qxl, virt-manager should
probably just remove any RAM attribute in the XML and let
libvirt re-assign the default setting
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the Spice-devel
mailing list