Add more comments and convert some variables to local variables

This commit is contained in:
HikariKnight 2022-02-27 21:29:29 +01:00
parent 7f04af90d9
commit 2b52c744fe
No known key found for this signature in database
GPG key ID: E8B239063B022F5A
5 changed files with 8 additions and 5 deletions

View file

@ -33,7 +33,7 @@ then
# Get the PCI ids
local PCI_ID=$($SCRIPTDIR/utils/ls-iommu | grep -i "group $1" | cut -d " " -f 4 | perl -pe "s/\n/ /" | perl -pe "s/\s$//")
# Write the currently unused vfio config for quickemu
# Write the GPU_PCI_IDs to the config that quickemu might make use of in the future
printf "GPU_PCI_ID=($PCI_ID)
USB_CTL_ID=\"\"
" > "$SCRIPTDIR/$QUICKEMU/qemu-vfio_vars.conf"