All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] QEMU, increase graphics memory
@ 2017-05-14 23:39 jenia.ivlev
  2017-05-15  1:36 ` [Qemu-devel] Installing Windows with virtio (was: QEMU, increase graphics memory) Fam Zheng
  0 siblings, 1 reply; 3+ messages in thread
From: jenia.ivlev @ 2017-05-14 23:39 UTC (permalink / raw)
  To: qemu-devel


I wanted to get more graphics memory on my QEMU Windows client.

I decided to install **Virtio** drivers for QEMU to achieve that purpose.

I create an *imagine_file* like this:


    qemu-img create -f raw image_file 4G


Also, I ran the windows-install like this:


    qemu-system-x86_64 -enable-kvm -m 4G -cdrom "OS.iso" -boot order=c -drive file=image_file,if=virtio


But when Windows ran, it didn't find any hard-drive (the *image_file*
basically). It asked for some drivers instead. I think it wanted drivers
to communicate with the hard-drive (*image_file*).

Running the install without Virtio works though:


    qemu-system-x86_64 -enable-kvm -m 4G -cdrom "OS.iso" -boot order=d -drive file=image_file,format=raw


The difference betweeen the two commands is:


    order=c vs order=d


and


    if=virtio vs format=raw


How do I install windows with Virtio in QEMU?

My original goal is to get 512 MB of graphics memory on Windows (running
as a guest in QEMU). Unfortunately, by default  (no Virtio) I get 8MB of
video memory which is not enough for my purposes


Thanks

P.S. My OS is Arch-Linux

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

* Re: [Qemu-devel] Installing Windows with virtio (was: QEMU, increase graphics memory)
  2017-05-14 23:39 [Qemu-devel] QEMU, increase graphics memory jenia.ivlev
@ 2017-05-15  1:36 ` Fam Zheng
  2017-05-16  0:43   ` jenia mtl
  0 siblings, 1 reply; 3+ messages in thread
From: Fam Zheng @ 2017-05-15  1:36 UTC (permalink / raw)
  To: jenia.ivlev; +Cc: qemu-devel

On Sun, 05/14 19:39, jenia.ivlev wrote:
> 
> I wanted to get more graphics memory on my QEMU Windows client.
> 
> I decided to install **Virtio** drivers for QEMU to achieve that purpose.
> 
> I create an *imagine_file* like this:
> 
> 
>     qemu-img create -f raw image_file 4G
> 
> 
> Also, I ran the windows-install like this:
> 
> 
>     qemu-system-x86_64 -enable-kvm -m 4G -cdrom "OS.iso" -boot order=c -drive file=image_file,if=virtio
> 
> 
> But when Windows ran, it didn't find any hard-drive (the *image_file*
> basically). It asked for some drivers instead. I think it wanted drivers
> to communicate with the hard-drive (*image_file*).
> 
> Running the install without Virtio works though:
> 
> 
>     qemu-system-x86_64 -enable-kvm -m 4G -cdrom "OS.iso" -boot order=d -drive file=image_file,format=raw
> 
> 
> The difference betweeen the two commands is:
> 
> 
>     order=c vs order=d
> 
> 
> and
> 
> 
>     if=virtio vs format=raw
> 
> 
> How do I install windows with Virtio in QEMU?
> 
> My original goal is to get 512 MB of graphics memory on Windows (running
> as a guest in QEMU). Unfortunately, by default  (no Virtio) I get 8MB of
> video memory which is not enough for my purposes
> 
> 
> Thanks
> 
> P.S. My OS is Arch-Linux

Since you use ArchLinux, wiki.archlinux.org is rather helpful, as always.  Yes,
you need virtio drivers:

https://wiki.archlinux.org/index.php/QEMU#New_Install_of_Windows


Fam

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

* Re: [Qemu-devel] Installing Windows with virtio (was: QEMU, increase graphics memory)
  2017-05-15  1:36 ` [Qemu-devel] Installing Windows with virtio (was: QEMU, increase graphics memory) Fam Zheng
@ 2017-05-16  0:43   ` jenia mtl
  0 siblings, 0 replies; 3+ messages in thread
From: jenia mtl @ 2017-05-16  0:43 UTC (permalink / raw)
  To: Fam Zheng; +Cc: qemu-devel

Hello Fam.


I managed to installed Windows with the *Virtio* drivers. Thanks for your
tip.

It has made a change in that I got 2X more graphics memory. But not nearly
enough. I need 512 and now I have 16.

How do I specify to Virtio how much memory to allocate?

Thanks
Jenia

On Sun, May 14, 2017 at 9:36 PM, Fam Zheng <famz@redhat.com> wrote:

> On Sun, 05/14 19:39, jenia.ivlev wrote:
> >
> > I wanted to get more graphics memory on my QEMU Windows client.
> >
> > I decided to install **Virtio** drivers for QEMU to achieve that purpose.
> >
> > I create an *imagine_file* like this:
> >
> >
> >     qemu-img create -f raw image_file 4G
> >
> >
> > Also, I ran the windows-install like this:
> >
> >
> >     qemu-system-x86_64 -enable-kvm -m 4G -cdrom "OS.iso" -boot order=c
> -drive file=image_file,if=virtio
> >
> >
> > But when Windows ran, it didn't find any hard-drive (the *image_file*
> > basically). It asked for some drivers instead. I think it wanted drivers
> > to communicate with the hard-drive (*image_file*).
> >
> > Running the install without Virtio works though:
> >
> >
> >     qemu-system-x86_64 -enable-kvm -m 4G -cdrom "OS.iso" -boot order=d
> -drive file=image_file,format=raw
> >
> >
> > The difference betweeen the two commands is:
> >
> >
> >     order=c vs order=d
> >
> >
> > and
> >
> >
> >     if=virtio vs format=raw
> >
> >
> > How do I install windows with Virtio in QEMU?
> >
> > My original goal is to get 512 MB of graphics memory on Windows (running
> > as a guest in QEMU). Unfortunately, by default  (no Virtio) I get 8MB of
> > video memory which is not enough for my purposes
> >
> >
> > Thanks
> >
> > P.S. My OS is Arch-Linux
>
> Since you use ArchLinux, wiki.archlinux.org is rather helpful, as
> always.  Yes,
> you need virtio drivers:
>
> https://wiki.archlinux.org/index.php/QEMU#New_Install_of_Windows
>
>
> Fam
>

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

end of thread, other threads:[~2017-05-16  0:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-14 23:39 [Qemu-devel] QEMU, increase graphics memory jenia.ivlev
2017-05-15  1:36 ` [Qemu-devel] Installing Windows with virtio (was: QEMU, increase graphics memory) Fam Zheng
2017-05-16  0:43   ` jenia mtl

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.