xemu/hw/pci
Akihiko Odaki 122173a583 pcie_sriov: Allow user to create SR-IOV device
A user can create a SR-IOV device by specifying the PF with the
sriov-pf property of the VFs. The VFs must be added before the PF.

A user-creatable VF must have PCIDeviceClass::sriov_vf_user_creatable
set. Such a VF cannot refer to the PF because it is created before the
PF.

A PF that user-creatable VFs can be attached calls
pcie_sriov_pf_init_from_user_created_vfs() during realization and
pcie_sriov_pf_exit() when exiting.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Message-Id: <20240715-sriov-v5-5-3f5539093ffc@daynix.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2024-07-22 20:15:41 -04:00
..
Kconfig
meson.build meson: remove CONFIG_ALL 2023-12-31 09:11:28 +01:00
msi.c hw/pci/msi: Restrict xen_is_pirq_msi() call to Xen 2024-03-09 18:51:45 +01:00
msix.c hw/pci: Constify VMState 2023-12-30 07:38:06 +11:00
pci-hmp-cmds.c
pci-internal.h
pci-qmp-cmds.c
pci-stub.c
pci.c pcie_sriov: Allow user to create SR-IOV device 2024-07-22 20:15:41 -04:00
pci_bridge.c pci: SLT must be RO 2023-10-04 04:53:52 -04:00
pci_host.c hw/pci: Rename has_power to enabled 2024-07-03 18:14:07 -04:00
pcie.c virtio,pc,pci: features, cleanups, fixes 2024-03-13 15:11:53 +00:00
pcie_aer.c hw/pci: Constify VMState 2023-12-30 07:38:06 +11:00
pcie_doe.c
pcie_host.c
pcie_port.c
pcie_sriov.c pcie_sriov: Allow user to create SR-IOV device 2024-07-22 20:15:41 -04:00
shpc.c hw/pci: add some convenient trace-events for pcie and shpc hotplug 2024-03-11 22:09:42 +01:00
slotid_cap.c
trace-events pcie_sriov: Remove num_vfs from PCIESriovPF 2024-07-03 18:14:07 -04:00
trace.h