Installation guide

Important
Create the virtual machine, as normal, without starting the virtual machine. Follow one
of the procedures below.
Select one of the following guest-creation methods, and follow the instructions.
a. Creat in g t h e g u est virt u al mach in e wit h virsh
This method attaches the virtio driver floppy disk to a Windows guest before the
installation.
If the virtual machine is created from an XML definition file with vi rsh, use the vi rsh
d efi ne command not the vi rsh create command.
i. Create, but do not start, the virtual machine. Refer to the Red Hat Enterprise
Linux Virtualization Administration Guide for details on creating virtual machines
with the vi rsh command.
ii. Add the driver disk as a virtualized floppy disk with the vi rsh command. This
example can be copied and used if there are no other virtualized floppy
devices attached to the guest virtual machine. Note that vm_name should be
replaced with the name of the virtual machine.
# virsh attach-disk vm_name /usr/share/virtio-
win/virtio-win.vfd fda --type floppy
You can now continue with Step 3.
b. Creat in g t h e g u est virt u al mach in e wit h virt - man ag er an d ch an g in g th e
d isk t ype
i. At the final step of the virt-manager guest creation wizard, check the
C usto mi ze co nfi g urati o n befo re i nstal l checkbox.
Chapt er 1 0 . KVM Para- virt ualiz ed (virt io) Drivers
75