From 944a18fc714b7ccb3b8205e0d71771c0f47639bd Mon Sep 17 00:00:00 2001 From: davidovski Date: Mon, 3 Oct 2022 18:58:56 +0100 Subject: Fixed broken --- src/pci_passthrough.md | 8 ++++---- 1 file 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 ``` -- cgit v1.2.1