qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] virtio with Windows 8.
@ 2013-09-09  5:02 Yaodong Yang
  2013-09-09  5:22 ` [Qemu-devel] [Qemu-discuss] " xuanmao_001
  2013-09-09 11:45 ` [Qemu-devel] " Stefan Hajnoczi
  0 siblings, 2 replies; 3+ messages in thread
From: Yaodong Yang @ 2013-09-09  5:02 UTC (permalink / raw)
  To: qemu-devel@nongnu.org, qemu-discuss@nongnu.org; +Cc: Yaodong Yang

Hi all,

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? 

I appreciate it very much!

yaodong

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

* Re: [Qemu-devel] [Qemu-discuss] virtio with Windows 8.
  2013-09-09  5:02 [Qemu-devel] virtio with Windows 8 Yaodong Yang
@ 2013-09-09  5:22 ` xuanmao_001
  2013-09-09 11:45 ` [Qemu-devel] " Stefan Hajnoczi
  1 sibling, 0 replies; 3+ messages in thread
From: xuanmao_001 @ 2013-09-09  5:22 UTC (permalink / raw)
  To: Yaodong Yang, qemu-devel, qemu-discuss

[-- Attachment #1: Type: text/plain, Size: 761 bytes --]

This will help you:
http://www.linux-kvm.org/page/Boot_from_virtio_block_device




xuanmao_001

From: Yaodong Yang
Date: 2013-09-09 13:02
To: qemu-devel@nongnu.org; qemu-discuss@nongnu.org
Subject: [Qemu-discuss] virtio with Windows 8.
Hi all,

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? 

I appreciate it very much!

yaodong

[-- Attachment #2: Type: text/html, Size: 2761 bytes --]

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

* Re: [Qemu-devel] virtio with Windows 8.
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Stefan Hajnoczi @ 2013-09-09 11:45 UTC (permalink / raw)
  To: Yaodong Yang; +Cc: qemu-devel@nongnu.org, qemu-discuss@nongnu.org

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

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

end of thread, other threads:[~2013-09-09 11:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [Qemu-devel] " Stefan Hajnoczi

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).