QA:Testcase Virtualization KVM PCI Device Assignment

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(flesh)
Line 1: Line 1:
 
{{QA/Test_Case
 
{{QA/Test_Case
|description=Foo.
+
|description=This test case verifies that a PCI device can be assigned to a KVM guest using virt-manager.
 
|actions=
 
|actions=
# Do this.
+
* Run virt-manager, open an existing guest and go to the details tab
 +
* Click "Add hardware", choose "Physical host device" and click "Forward"
 +
* Choose the appropriate device from the drop down list (e.g. "00:19.0 Interface eth0 (82566DM-2 Gigabit Network Connection)")
 +
* Click "Forward" and "Finish"
 +
* 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
 
|results=
 
|results=
# This should happen.
+
* The device which is to be assigned should be available in the dropdown list
 +
* The device should be successfully assigned to the guest
 +
* The guest should start without any errors
 +
* The device should be functional within the guest
 +
* 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 20:57, 5 May 2009

Description

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


How to test

  • Run virt-manager, open an existing guest and go to the details tab
  • Click "Add hardware", choose "Physical host device" and click "Forward"
  • Choose the appropriate device from the drop down list (e.g. "00:19.0 Interface eth0 (82566DM-2 Gigabit Network Connection)")
  • Click "Forward" and "Finish"
  • 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

Expected Results

  • The device which is to be assigned should be available in the dropdown list
  • The device should be successfully assigned to the guest
  • The guest should start without any errors
  • The device should be functional within the guest
  • Once the guest is shutdown, the device should be functional within the host