aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2017-05-21 13:58:02 -0400
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2017-05-21 13:58:02 -0400
commit68335b6217f96cbfca8a89e924335d37e2c7d0f6 (patch)
tree21df043dec60c5e43d5035c4dd5bcecbb5d16611
parent8019a9f4e7d50026e659dd781bdb86b47970c5fa (diff)
downloadkvm-manager-68335b6217f96cbfca8a89e924335d37e2c7d0f6.tar.gz
kvm-manager-68335b6217f96cbfca8a89e924335d37e2c7d0f6.tar.bz2
build_disk_io_params needs the name of the variable, not its value
I have no idea how this ever worked in the past!
-rwxr-xr-xkvm-manager2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvm-manager b/kvm-manager
index 4c48e8e..1747a38 100755
--- a/kvm-manager
+++ b/kvm-manager
@@ -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