From 9ea0848f2135962f83ced19bce9b3fcf9b5c9b96 Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Wed, 26 Jan 2011 23:49:26 -0500 Subject: convert the disks to virtio --- kvm-manager | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kvm-manager') diff --git a/kvm-manager b/kvm-manager index a44634d..6a3be5f 100755 --- a/kvm-manager +++ b/kvm-manager @@ -48,10 +48,10 @@ up() { fi # set up the disks, if needed: - [ -z "$HDA" ] || KVMARGS="$KVMARGS -hda $HDA" - [ -z "$HDB" ] || KVMARGS="$KVMARGS -hdb $HDB" - [ -z "$HDC" ] || KVMARGS="$KVMARGS -hdc $HDC" - [ -z "$HDD" ] || KVMARGS="$KVMARGS -hdd $HDD" + [ -z "$HDA" ] || KVMARGS="$KVMARGS -drive file=$HDA,if=virtio,id=hda,boot=on,format=raw" + [ -z "$HDB" ] || KVMARGS="$KVMARGS -drive file=$HDB,if=virtio,id=hdb,boot=on,format=raw" + [ -z "$HDC" ] || KVMARGS="$KVMARGS -drive file=$HDC,if=virtio,id=hdc,boot=on,format=raw" + [ -z "$HDD" ] || KVMARGS="$KVMARGS -drive file=$HDD,if=virtio,id=hdd,boot=on,format=raw" LOGNAME="$OWNERHOME/vms/$VMNAME/console" ln -sfT "$LOGNAME" ./servicelog -- cgit v1.2.3