From 9232b8d817d4cd4122947375156fa2fa1e9fba14 Mon Sep 17 00:00:00 2001 From: Jasper Ras Date: Mon, 13 Jan 2025 13:16:06 +0100 Subject: vault backup: 2025-01-13 13:16:06 --- 3 resources/libvirt/Mediated devices.md | 11 +++++++++++ 3 resources/libvirt/SR-IOV.md | 9 +++++++++ 3 resources/libvirt/mediated-devices.md | 8 -------- 3 resources/libvirt/sr-iov.md | 6 ------ 4 files changed, 20 insertions(+), 14 deletions(-) create mode 100644 3 resources/libvirt/Mediated devices.md create mode 100644 3 resources/libvirt/SR-IOV.md delete mode 100644 3 resources/libvirt/mediated-devices.md delete mode 100644 3 resources/libvirt/sr-iov.md (limited to '3 resources/libvirt') diff --git a/3 resources/libvirt/Mediated devices.md b/3 resources/libvirt/Mediated devices.md new file mode 100644 index 0000000..fe9e551 --- /dev/null +++ b/3 resources/libvirt/Mediated devices.md @@ -0,0 +1,11 @@ +#libvirt #linux #virtualisation + +--- +https://libvirt.org/drvnodedev.html#mediated-devices-mdevs + +They are virtual devices that share a single physical device. + +Similar to [[SR-IOV]] but sr-iov required registering and unregistering devices with the host PCIe bus via a host driver. +Mediated devices don't have to do this. + +So why would we still choose sriov? \ No newline at end of file diff --git a/3 resources/libvirt/SR-IOV.md b/3 resources/libvirt/SR-IOV.md new file mode 100644 index 0000000..0881ec0 --- /dev/null +++ b/3 resources/libvirt/SR-IOV.md @@ -0,0 +1,9 @@ +#linux #libvirt #virtualisation + +--- +Single root input/output virtualization: enables sharing of single PCI-e devices with multiple guests. + +Physical device = PF (Physical Function) +Virtual device = VF (Virtual Function) + +A PF is divided (by manufacturer) into *n* VFs. Thus a PF can be shared at most with *n* guests. \ No newline at end of file diff --git a/3 resources/libvirt/mediated-devices.md b/3 resources/libvirt/mediated-devices.md deleted file mode 100644 index 3011a28..0000000 --- a/3 resources/libvirt/mediated-devices.md +++ /dev/null @@ -1,8 +0,0 @@ -https://libvirt.org/drvnodedev.html#mediated-devices-mdevs - -They are virtual devices that share a single physical device. - -Similar to [[sr-iov]] but sr-iov required registering and unregistering devices with the host PCIe bus via a host driver. -Mediated devices don't have to do this. - -So why would we still choose sriov? \ No newline at end of file diff --git a/3 resources/libvirt/sr-iov.md b/3 resources/libvirt/sr-iov.md deleted file mode 100644 index e7eec8e..0000000 --- a/3 resources/libvirt/sr-iov.md +++ /dev/null @@ -1,6 +0,0 @@ -Single root input/output virtualization: enables sharing of single PCI-e devices with multiple guests. - -Physical device = PF (Physical Function) -Virtual device = VF (Virtual Function) - -A PF is divided (by manufacturer) into *n* VFs. Thus a PF can be shared at most with *n* guests. \ No newline at end of file -- cgit v1.2.3