Installation guide

Installing drivers during the Windows installation
93
2. Creating the guest with virsh
This method attaches the para-virtualized driver floppy disk to a Windows guest before the
installation.
If the guest is created from an XML definition file with virsh use the virsh define command
not the virsh create command.
a. Create, but do not start, the guest. Refer to Chapter 30, Managing guests with virsh for
details on creating guests with the virsh command.
b. Add the driver disk as a virtualized floppy disk with the virsh command. This example can
be copied and used if there are no other virtualized floppy devices attached to the virtualized
guest.
# virsh attach-disk guest1 /usr/share/virtio-win/virtio-drivers.vfd fda --type
floppy
3. Creating the guest with virt-manager
a. At the final step of the virt-manager guest creation wizard, check the Customize
configuration before install checkbox.