[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [gitian-builder/tor-browser-builder-3] Use virtio for disk in KVM instead of emulating real hardware



commit b8d7fb5bc3fecab6998f17cfb842fb303fc0ea92
Author: Lunar <lunar@xxxxxxxxxxxxxx>
Date:   Mon Oct 13 00:26:58 2014 +0200

    Use virtio for disk in KVM instead of emulating real hardware
    
    This should improve I/O performance.
---
 libexec/start-target |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libexec/start-target b/libexec/start-target
index 95376cc..467ed63 100755
--- a/libexec/start-target
+++ b/libexec/start-target
@@ -22,7 +22,7 @@ case $VMSW in
             [ -n "$KVM" ] || KVM=qemu-system-x86_64
             ;;
     esac
-    $KVM -enable-kvm -m ${VMEM:-2000} -smp ${NPROCS:-2} -drive file=target-$SUFFIX.qcow2,cache=writeback -net nic,model=virtio -net user,hostfwd=tcp:127.0.0.1:$VM_SSH_PORT-:22 -vnc 127.0.0.1:16 > var/target.log 2>&1 &
+    $KVM -enable-kvm -m ${VMEM:-2000} -smp ${NPROCS:-2} -drive file=target-$SUFFIX.qcow2,cache=writeback,if=virtio -net nic,model=virtio -net user,hostfwd=tcp:127.0.0.1:$VM_SSH_PORT-:22 -vnc 127.0.0.1:16 > var/target.log 2>&1 &
     echo $! > var/target.pid
     wait
     rm var/target.pid

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits