]> TLD Linux GIT Repositories - packages/qemu.git/blob - qemu-whitelist.patch
- release 2
[packages/qemu.git] / qemu-whitelist.patch
1 diff -urp qemu-2.11.0.orig/scripts/create_config qemu-2.11.0/scripts/create_config
2 --- qemu-2.11.0.orig/scripts/create_config      2018-01-25 00:12:40.172909475 +0000
3 +++ qemu-2.11.0/scripts/create_config   2018-01-25 00:13:00.521908262 +0000
4 @@ -43,7 +43,9 @@ case $line in
5   CONFIG_BDRV_RW_WHITELIST=*)
6      echo "#define CONFIG_BDRV_RW_WHITELIST\\"
7      for drv in ${line#*=}; do
8 -      echo "    \"${drv}\",\\"
9 +      if [ ! -z "$drv" ]; then
10 +        echo "    \"${drv}\",\\"
11 +      fi
12      done
13      echo "    NULL"
14      ;;