Re: [Qemu-devel] specify memory in QEMU with Virtio

2017-05-19 Thread Gerd Hoffmann
On Do, 2017-05-18 at 22:43 -0400, jenia mtl wrote:
> Hello.
> 
> 
> How do I specify how much graphics memory the Windows client should have in
> QEMU. I have successfully installed Virtio and can launch the VM (Windows)
> with it. This doubles the memory form 8MB to 16MB. But I need 512. How can
> I set that?

virtio-vga doesn't need dedicated video memory, except for the
(unaccelerated) vga compatibility mode.  But given that there are no
virtio-vga drivers for windows (yet) it'll actually runs in vga mode, so
you have no advantages over stdvga.

stdvga can be configured with up to 256M of video memory (-device
VGA,vgamem_mb=64).  This will allow higher resolutions display
resolutions.  Still an unaccelerated framebuffer though.

cheers,
  Gerd




[Qemu-devel] specify memory in QEMU with Virtio

2017-05-18 Thread jenia mtl
Hello.


How do I specify how much graphics memory the Windows client should have in
QEMU. I have successfully installed Virtio and can launch the VM (Windows)
with it. This doubles the memory form 8MB to 16MB. But I need 512. How can
I set that?

I launch it like this (this command can be used to installed the OS and
also to launch it. If you don't want to install, Just don't enter the
Windows Install Interface, let it go to booting the OS)

qemu-system-x86_64 -enable-kvm -m 4G -soundhw hda -boot order=c -drive
file=image_file,if=virtio -drive file="OS.iso",index=2,media=cdrom -drive
file=/usr/share/virtio/virtio-win.iso,index=3,media=cdrom



Thanks in advance
Jenia