From Fedora Project Wiki

m (Minor wiki format changes)
m (changed to numbered list)
Line 2: Line 2:
|description=This test case verifies that a PCI device can be assigned to a KVM guest using virt-manager.
|description=This test case verifies that a PCI device can be assigned to a KVM guest using virt-manager.
|actions=
|actions=
* Run virt-manager, open an existing guest and go to the details tab
# Run virt-manager, open an existing guest and go to the details tab
* Click ''Add hardware'', choose ''Physical host device'' and click ''Forward''
# Click ''Add hardware'', choose ''Physical host device'' and click ''Forward''
* Choose the appropriate device from the drop down list (e.g. <code>00:19.0 Interface eth0 (82566DM-2 Gigabit Network Connection)</code>)
# Choose the appropriate device from the drop down list (e.g. <code>00:19.0 Interface eth0 (82566DM-2 Gigabit Network Connection)</code>)
* Click ''Forward'' and ''Finish''
# Click ''Forward'' and ''Finish''
* Start the guest and check the device is functional within the guest
# Start the guest and check the device is functional within the guest
* Shut down the guest and check the device is functional within the host
# Shut down the guest and check the device is functional within the host
|results=
|results=
* The device which is to be assigned should be available in the dropdown list
# The device which is to be assigned should be available in the dropdown list
* The device should be successfully assigned to the guest
# The device should be successfully assigned to the guest
* The guest should start without any errors
# The guest should start without any errors
* The device should be functional within the guest
# The device should be functional within the guest
* Once the guest is shutdown, the device should be functional within the host
# Once the guest is shutdown, the device should be functional within the host
}}
}}
[[Category:Virtualization KVM PCI Device Assignment Test Cases|virt-manager]]
[[Category:Virtualization KVM PCI Device Assignment Test Cases|virt-manager]]

Revision as of 11:35, 6 May 2009

Description

This test case verifies that a PCI device can be assigned to a KVM guest using virt-manager.


How to test

  1. Run virt-manager, open an existing guest and go to the details tab
  2. Click Add hardware, choose Physical host device and click Forward
  3. Choose the appropriate device from the drop down list (e.g. 00:19.0 Interface eth0 (82566DM-2 Gigabit Network Connection))
  4. Click Forward and Finish
  5. Start the guest and check the device is functional within the guest
  6. Shut down the guest and check the device is functional within the host

Expected Results

  1. The device which is to be assigned should be available in the dropdown list
  2. The device should be successfully assigned to the guest
  3. The guest should start without any errors
  4. The device should be functional within the guest
  5. Once the guest is shutdown, the device should be functional within the host