From Fedora Project Wiki
Description
This test case verifies that an assigned PCI device can be used to install a KVM guest with virt-install
.
How to test
- Run virt-install as normal, but also supply a nodedev name to
--host-device
e.g.$> virt-install
- -n hostdev-test -r 1024 --vcpus 2
- --os-variant fedora11 -v --accelerate
- -l http://download.fedoraproject.org/pub/fedora/linux/development/x86_64/os
- -x 'console=ttyS0 vnc' --nonetworks --nographics
- --disk pool=default,size=8
- --debug --host-device=pci_8086_10bd
- Check that the device is functional in the guest during the installation
- Complete the installation and reboot the guest
- Check that the device is functional in the guest
- Shut down the guest and check that the device is functional in the host
Expected Results
- virt-install should successfully kick off the install
- The device should be used by the installer
- The device should be functional in the guest post-install
- The device should be functional in the host after the guest is shutdown