All of lore.kernel.org
 help / color / mirror / Atom feed
From: jenia.ivlev@gmail.com (jenia.ivlev)
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] QEMU, increase graphics memory
Date: Sun, 14 May 2017 19:39:56 -0400	[thread overview]
Message-ID: <87efvrovn7.fsf@gmail.com> (raw)


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

             reply	other threads:[~2017-05-14 23:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-14 23:39 jenia.ivlev [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87efvrovn7.fsf@gmail.com \
    --to=jenia.ivlev@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.