All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] specify memory in QEMU with Virtio
@ 2017-05-19  2:43 jenia mtl
  2017-05-19  9:25 ` Gerd Hoffmann
  0 siblings, 1 reply; 2+ messages in thread
From: jenia mtl @ 2017-05-19  2:43 UTC (permalink / raw)
  To: qemu-devel

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

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

* Re: [Qemu-devel] specify memory in QEMU with Virtio
  2017-05-19  2:43 [Qemu-devel] specify memory in QEMU with Virtio jenia mtl
@ 2017-05-19  9:25 ` Gerd Hoffmann
  0 siblings, 0 replies; 2+ messages in thread
From: Gerd Hoffmann @ 2017-05-19  9:25 UTC (permalink / raw)
  To: jenia mtl; +Cc: qemu-devel

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

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

end of thread, other threads:[~2017-05-19  9:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-19  2:43 [Qemu-devel] specify memory in QEMU with Virtio jenia mtl
2017-05-19  9:25 ` Gerd Hoffmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.