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
Creating the guest with virt-manager
At the final step of the virt-manager guest creation wizard, check the Customize configuration before install checkbox.
Press the Finish button to continue.
Add the new device
Select Storage from the Hardware type list. Click Forward to continue.
Select the driver disk
Select Select managed or existing storage.
Set the location to /usr/share/virtio-win/virtio-drivers.vfd.
Change Device type to Floppy disk.
Press the Forward button to continue.
Confirm the new device
Click the Finish button to confirm the device setup and add the device to the guest.
Press the green tick button to add the new device.
Creating the guest with virt-install
Append the following parameter exactly as listed below to add the driver disk to the installation with the virt-install command :
When the installer prompts you for the driver, click on Load Driver, point the installer to Drive A: and pick the driver that suits your guest operating system and architecture.