From Fedora Project Wiki

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 18: Line 18:
=== Who's available ===
=== Who's available ===


[[User:Markmc|Mark McLoughlin]] is your host for today.
[[User:FIXME|FIXME]] is your host for today.


The following people have also agreed to be available for testing, workarounds, bug fixes, and general discussion:
The following people have also agreed to be available for testing, workarounds, bug fixes, and general discussion:
Line 26: Line 26:
=== What's needed to test ===
=== What's needed to test ===


* '''FIXME''' copy other requirements from the [[Test_Day:2009-05-07_Virtualization_KVM_PCI_Device_Assignment|Fedora 11 Test Day page]]
* A fully updated Fedora 12 Rawhide machine.  See instructions on the [[Test_Day:2009-09-17_Virtualization|main test day page]].
* A fully updated Fedora 12 Rawhide machine.  See instructions on the [[Test_Day:2009-09-17_Virtualization|main test day page]].
* At least one guest image installed before the test day (suggested reading - [[Virtualization_Quick_Start]])
* At least one guest image installed before the test day (suggested reading - [[Virtualization_Quick_Start]])
* A host machine which has Intel VT-d or AMD IOMMU support


=== Test Cases ===
=== Test Cases ===


The first thing you need to do is choose which PCI device on your KVM host that you will use for testing. Probably the most obvious to test with is a NIC. You'll need the device's nodedev name, and you can find this with
Things to test, roughly in dependency order:


<pre>
{{admon/note|FIXME|Copy test cases from the [[Test_Day:2009-05-07_Virtualization_KVM_PCI_Device_Assignment|Fedora 11 Test Day page]].}}
  $> virsh nodedev-list --tree
  computer
    |
    ...
    +- pci_8086_10bd
    |  |
    |   +- net_00_13_20_f5_f9_5a
    ...
  $> virsh nodedev-dumpxml pci_8086_10bd
  <device>
    <name>pci_8086_10bd</name>
    <parent>computer</parent>
    <capability type='pci'>
      <domain>0</domain>
      <bus>0</bus>
      <slot>25</slot>
      <function>0</function>
      <product id='0x10bd'>82566DM-2 Gigabit Network Connection</product>
      <vendor id='0x8086'>Intel Corporation</vendor>
    </capability>
  </device>
</pre>
 
Follow each of these test cases:
 
# [[QA:Testcase_Virtualization_KVM_PCI_Device_Assignment_libvirt_nodedev_operations|libvirt nodedev operations]]
# [[QA:Testcase_Virtualization_KVM_PCI_Device_Assignment_assign_using_libvirt|assigning a device using libvirt]]
# [[QA:Testcase_Virtualization_KVM_PCI_Device_Assignment_assign_using_virt_manager|assigning a device using virt-manager]]
# [[QA:Testcase_Virtualization_KVM_PCI_Device_Assignment_virt_install_host_device|virt-install --host-device]]


=== Issues that were identified ===
=== Issues that were identified ===
Please note that all contributions to Fedora Project Wiki are considered to be released under the Attribution-Share Alike 4.0 International (see Fedora Project Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please solve the following task below and enter the answer in the box (more info):

Cancel Editing help (opens in new window)