diff options
author | davidovski <david@davidovski.xyz> | 2022-10-03 18:58:56 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-10-03 18:58:56 +0100 |
commit | 944a18fc714b7ccb3b8205e0d71771c0f47639bd (patch) | |
tree | c64a9402b7859360cc5ee29a397cf02fed427dc6 | |
parent | c9c561f7e508b67d2cf483a9c62b16fe196b8075 (diff) |
Fixed broken
-rw-r--r-- | src/pci_passthrough.md | 8 |
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 ``` |