URI:
       Adjust fqvm_pci - qmenu - manage qubes os via dmenu (drkhsh fork)
  HTML git clone git://git.drkhsh.at/qmenu.git
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit 2e5c49365ea0df345b60df46c08f0fba5a407d8e
   DIR parent 677640cc04a71e8cce3e5749339f4c39da019b57
  HTML Author: sine3o14nnae <3o14@pm.me>
       Date:   Tue, 17 Sep 2019 12:43:48 +0200
       
       Adjust fqvm_pci
       
       Diffstat:
         M qmenu-vm                            |       5 +++--
       
       1 file changed, 3 insertions(+), 2 deletions(-)
       ---
   DIR diff --git a/qmenu-vm b/qmenu-vm
       @@ -362,7 +362,7 @@ fqvm_pci() (
        
           list_pci=$(qvm-pci)
        
       -   if ! qvm-prefs --get $target_qube maxmem | grep -w 0; then 
       +   if ! qvm-prefs --get $target_qube maxmem | grep -w 0 > /dev/null 2>&1; then 
             
             answer_memorybalancing=$(printf "Continue anyways\nDisable dynamic memory balancing" |\
               dmenu -l 2 -i -p "Dynamic memory balancing is enabled in $target_qube, some devices might not work!"\
       @@ -374,7 +374,8 @@ fqvm_pci() (
             fi
           fi
        
       -   if qvm-prefs --get $target_qube virt_mode | grep -w pvh; then
       +   if qvm-prefs --get $target_qube virt_mode |\
       +     grep -w pvh > /dev/null 2>&1; then
             
             answer_virtmode=$(printf "Continue anyways\nSelect another virtualisation mode" |\
               dmenu -l 2 -i -p "$target_qube is using PVH for its virtualisation mode, which does not support PCI passthrough!"\