From: Stefan Hajnoczi <stefanha@gmail.com>
To: Yaodong Yang <yaodong.yangy@icloud.com>
Cc: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
"qemu-discuss@nongnu.org" <qemu-discuss@nongnu.org>
Subject: Re: [Qemu-devel] virtio with Windows 8.
Date: Mon, 9 Sep 2013 13:45:08 +0200 [thread overview]
Message-ID: <20130909114508.GA20215@stefanha-thinkpad.redhat.com> (raw)
In-Reply-To: <C31D73F2-751E-4149-8522-8C71856D8CD6@icloud.com>
On Mon, Sep 09, 2013 at 12:02:57AM -0500, Yaodong Yang wrote:
> 1. I create a raw image named as win8.img, using the following command:
> /usr/local/kvm/bin/qemu-img create -f raw win8.img 20G
>
> 2. I try to install win8 with the following command, but I failed several times.
>
> sudo /usr/local/kvm/bin/qemu-system-x86_64 -enable-kvm -drive file=./win8.img,if=virtio,cache=none -cdrom ./win8.iso -boot d -m 2048.
>
> 3. I try the same command but with if=ide, it works.
>
> Could someone tell me the reason for this failure?
The Windows installer will not detect virtio-blk disks since Windows
does not come with virtio drivers by default.
You must provide the virtio-win drivers ISO during the installation:
https://alt.fedoraproject.org/pub/alt/virtio-win/latest/images/bin/
Watch for the screen where Windows prompts you for a driver disk and put
in the virtio-win ISO.
Stefan
prev parent reply other threads:[~2013-09-09 11:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-09 5:02 [Qemu-devel] virtio with Windows 8 Yaodong Yang
2013-09-09 5:22 ` [Qemu-devel] [Qemu-discuss] " xuanmao_001
2013-09-09 11:45 ` Stefan Hajnoczi [this message]
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=20130909114508.GA20215@stefanha-thinkpad.redhat.com \
--to=stefanha@gmail.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-discuss@nongnu.org \
--cc=yaodong.yangy@icloud.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).