Quellcode durchsuchen

Use qemu-system- instead of kvm -m

As kvm -m doesn't work in Ubuntu 13.04 anymore.
tags/0.1
Pieter Wuille vor 8 Jahren
Ursprung
Commit
b7b24bd401
1 geänderte Dateien mit 9 neuen und 2 gelöschten Zeilen
  1. 9
    2
      libexec/start-target

+ 9
- 2
libexec/start-target Datei anzeigen

@@ -14,8 +14,15 @@ fi

case $VMSW in
KVM)
[ -n "$KVM" ] || KVM=kvm
$KVM -cpu $ARCH -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 &
case $ARCH in
qemu32)
[ -n "$KVM" ] || KVM=qemu-system-i386
;;
qemu64)
[ -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 &
echo $! > var/target.pid
wait
rm var/target.pid

Laden…
Abbrechen
Speichern