瀏覽代碼

Perhaps also actually enable KVM...

tags/0.1
Pieter Wuille 7 年之前
父節點
當前提交
9a198b32a7
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      libexec/start-target

+ 1
- 1
libexec/start-target 查看文件

@@ -22,7 +22,7 @@ case $VMSW in
[ -n "$KVM" ] || KVM=qemu-system-x86_64
;;
esac
$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 -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

Loading…
取消
儲存