summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-10-03 18:58:56 +0100
committerdavidovski <david@davidovski.xyz>2022-10-03 18:58:56 +0100
commitca2fc05ad8cdc6e5aa7da972850682f71246cd06 (patch)
treec64a9402b7859360cc5ee29a397cf02fed427dc6
parent9934342a122b723f7295a95f898936d861eced9e (diff)
Fixed broken
-rw-r--r--src/pci_passthrough.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pci_passthrough.md b/src/pci_passthrough.md
index 4c8ee97..4bf3a65 100644
--- a/src/pci_passthrough.md
+++ b/src/pci_passthrough.md
@@ -25,7 +25,7 @@ Once you have enabled IOMMU, you will need to ensure that your PCI slot can actu
To list IOMMU groups, you may use this script from the [archwiki](https://wiki.archlinux.org/title/PCI_passthrough_via_OVMF#Ensuring_that_the_groups_are_valid)
-```bash
+```
#!/bin/bash
shopt -s nullglob
for g in $(find /sys/kernel/iommu_groups/* -maxdepth 0 -type d | sort -V); do
@@ -121,11 +121,11 @@ qemu-system-x86_64 \
-net nic,model=virtio -net user \
-device ich9-intel-hda,addr=0x1b \
-device hda-micro,audiodev=hda \
- -audiodev pa,id=hda,server=unix:$(pa_server) \
- $(evdev_passthrough)
+ -device ich9-intel-hda,addr=0x1b \
+ -device hda-micro,audiodev=hda \
+ -audiodev pa,id=hda,server=unix:$(pactl info | sed -rn 's/Server String: (.*)/\1/p') \
```
-
### Basic Parameters
```