Add more comments and convert some variables to local variables
This commit is contained in:
parent
7f04af90d9
commit
2b52c744fe
5 changed files with 8 additions and 5 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue