diff options
author | Knut Omang <knut.omang@oracle.com> | 2022-02-17 18:44:50 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2022-03-06 05:08:23 -0500 |
commit | 7c0fa8dff811b5648964630a1334c3bb97e1e1c6 (patch) | |
tree | 3cb11701448115f4033bf78ef3175dff3e3c38c3 /hw/pci/trace-events | |
parent | 0ea5778f066ea5c5e73246a4c11f0773edc4c45d (diff) | |
download | qemu-7c0fa8dff811b5648964630a1334c3bb97e1e1c6.zip qemu-7c0fa8dff811b5648964630a1334c3bb97e1e1c6.tar.gz qemu-7c0fa8dff811b5648964630a1334c3bb97e1e1c6.tar.bz2 |
pcie: Add support for Single Root I/O Virtualization (SR/IOV)
This patch provides the building blocks for creating an SR/IOV
PCIe Extended Capability header and register/unregister
SR/IOV Virtual Functions.
Signed-off-by: Knut Omang <knuto@ifi.uio.no>
Message-Id: <20220217174504.1051716-2-lukasz.maniak@linux.intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/pci/trace-events')
-rw-r--r-- | hw/pci/trace-events | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/pci/trace-events b/hw/pci/trace-events index 7570752..aaf46bc 100644 --- a/hw/pci/trace-events +++ b/hw/pci/trace-events @@ -10,3 +10,8 @@ pci_cfg_write(const char *dev, uint32_t bus, uint32_t slot, uint32_t func, unsig # msix.c msix_write_config(char *name, bool enabled, bool masked) "dev %s enabled %d masked %d" + +# hw/pci/pcie_sriov.c +sriov_register_vfs(const char *name, int slot, int function, int num_vfs) "%s %02x:%x: creating %d vf devs" +sriov_unregister_vfs(const char *name, int slot, int function, int num_vfs) "%s %02x:%x: Unregistering %d vf devs" +sriov_config_write(const char *name, int slot, int fun, uint32_t offset, uint32_t val, uint32_t len) "%s %02x:%x: sriov offset 0x%x val 0x%x len %d" |