Internships/ProjectIdeas/PCIe-PCI-Bridge: Difference between revisions

From QEMU
No edit summary
No edit summary
Line 1: Line 1:
=== PCI Express to PCI bridge ===
=== PCI Express to PCI bridge ===


'''Summary:''' Code an emulated PCIe to PCI bridge for QEMU PCI Express machines
'''Summary:''' Code an emulated PCIe-to-PCI bridge for QEMU PCI Express machines


Modern Virtual Machines and their devices are PCI Express, however a means of supporting
Modern Virtual Machines and their devices are PCI Express, however a means of supporting
existing PCI and PCI-X deployment is required. Some use cases may need a means of
existing PCI and PCI-X deployment is required. Some use cases may need using legacy
using legacy PCI devices that plug into platforms that exclusively support PCI and PCI-X system slots.
PCI devices that plug into platforms that exclusively support PCI and PCI-X system slots.


QEMU already has such a device, i82801b11 DMI-to-PCI Bridge Emulation.
QEMU already has a solution, the i82801b11 DMI-to-PCI Bridge Emulation.
However, the device has some short-comes
However, the device has some disadvantages: it cannot be used by ARM guests and
it is part of the Root Complex, so it can't be hot-plugged.
 
The goal of this summer project is to code a generic PCIe-PCI bridge. The bridge should be hot-pluggable
into PCI Express Root Ports and be usable across various architectures and Guest Operating Systems.
 
Once the bridge is merged upstream, the PCI/PCI Express infrastructure
will be ported to the QOM model to conform with QEMU standards,
all that as the time permits.


'''Links:'''
'''Links:'''
* http://qemu-project.org/Features/Q35
* http://qemu-project.org/Features/Q35
*http://qemu-project.org/images/4/4e/Q35.pdf
* http://qemu-project.org/images/4/4e/Q35.pdf
*http://qemu-project.org/images/f/f6/PCIvsPCIe.pdf
* http://git.qemu.org/?p=qemu.git;a=blob_plain;f=hw/pci-bridge/i82801b11.c
* http://wiki.qemu.org/Features/QOM
* http://qemu-project.org/images/f/f6/PCIvsPCIe.pdf


*http://www.csit-sun.pub.ro/~cpop/Documentatie_SMP/Standarde_magistrale/PCIexpress/BridgeArchitecture.pdf
'''Details:'''
'''Details:'''
* Skill level: intermediate or advanced
* Skill level: intermediate
* Language: C
* Language: C
* Mentor: marcel@redhat.com, marcel_a on IRC
* Mentor: marcel@redhat.com, marcel_a on IRC
* Suggested by: Marcel Apfelbaum
* Suggested by: Marcel Apfelbaum <marcel@redhat.com>

Revision as of 21:02, 2 February 2017

PCI Express to PCI bridge

Summary: Code an emulated PCIe-to-PCI bridge for QEMU PCI Express machines

Modern Virtual Machines and their devices are PCI Express, however a means of supporting existing PCI and PCI-X deployment is required. Some use cases may need using legacy PCI devices that plug into platforms that exclusively support PCI and PCI-X system slots.

QEMU already has a solution, the i82801b11 DMI-to-PCI Bridge Emulation. However, the device has some disadvantages: it cannot be used by ARM guests and it is part of the Root Complex, so it can't be hot-plugged.

The goal of this summer project is to code a generic PCIe-PCI bridge. The bridge should be hot-pluggable into PCI Express Root Ports and be usable across various architectures and Guest Operating Systems.

Once the bridge is merged upstream, the PCI/PCI Express infrastructure will be ported to the QOM model to conform with QEMU standards, all that as the time permits.

Links:

Details:

  • Skill level: intermediate
  • Language: C
  • Mentor: marcel@redhat.com, marcel_a on IRC
  • Suggested by: Marcel Apfelbaum <marcel@redhat.com>