WindowsGuestDrivers/viostor/installation

From KVM
Revision as of 09:39, 4 August 2009 by Yan (talk | contribs)

How to setup Windows guest VirtIO block driver on Windows Server 2003

Introduction

VirtIO block driver can be used either as a system (boot) or non-system disk. However, the installation procedure for these two different scenarios is slightly different.

System disk installation procedure

QEMU command line options

First of all, a VM needs to be started with the VirtIO block device and boot options enabled:

-drive file=/image_path/image_name,if=virtio,boot=on

In addition, a virtual floppy disk with correct Windows drivers must be specified:

-fda /floppy_image_path/floppy_image_name

Boot from the CD and press "F6" to install a third party driver

Snapshot10.png

Press "S" to specify additional device

Snapshot11.png

Select correct architecture and press "ENTER"

Snapshot12.png

Press "Enter" to continue

Snapshot13.png

All set. Press "Enter" and continue with the normal installation procedure

Snapshot14.png


Non-System disk installation procedure

QEMU command line options

Run VM with the new VirtIO block device by adding the following options:

-drive file=/image_path/image_name,if=virtio,boot=off and -fda /floppy_image_path/floppy_image_name

Upon the Windows guest restart the New Hardware Wizard dialog will appear

Snapshot21.png

= Select "Install from the list or specific location" option and press "Next"

Snapshot22.png

Select an appropriate location and press "OK" button

Snapshot23.png

Press "Next" button

Snapshot24.png

Press "Finish" upon installation completion

Snapshot25.png

Verify installation

Go to "Device Manager" and check to see that "Red Hat VirtIO SCSI controller" appears under "SCSI and RAID controllers" category. Snapshot26.png

Snapshot27.png

Snapshot28.png

Snapshot29.png

Snapshot30.png

Snapshot31.png

Snapshot32.png

Snapshot33.png

Snapshot34.png