]> gitweb.fluxo.info Git - kvm-manager.git/commitdiff
build_disk_io_params needs the name of the variable, not its value
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Sun, 21 May 2017 17:58:02 +0000 (13:58 -0400)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Sun, 21 May 2017 17:58:02 +0000 (13:58 -0400)
I have no idea how this ever worked in the past!

kvm-manager

index 4c48e8e3c6bc2c42a17083a931c701dca00dcc53..1747a38d48137430a99a1a6c3f45b2e9e3db7c5c 100755 (executable)
@@ -141,7 +141,7 @@ up() {
     for disk in HD{B..Z}; do
       index=$(( $index + 1 ))
       if [ -b "${!disk}" ]; then
-        build_disk_io_params "${!disk}"
+        build_disk_io_params "${disk}"
         KVMARGS="$KVMARGS -drive file=${!disk},if=virtio,cache=none,index=$index,format=raw${disk_io_params}"
       fi
     done