diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2017-05-21 13:58:02 -0400 |
---|---|---|
committer | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2017-05-21 13:58:02 -0400 |
commit | 68335b6217f96cbfca8a89e924335d37e2c7d0f6 (patch) | |
tree | 21df043dec60c5e43d5035c4dd5bcecbb5d16611 | |
parent | 8019a9f4e7d50026e659dd781bdb86b47970c5fa (diff) | |
download | kvm-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-x | kvm-manager | 2 |
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 |