diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2011-02-10 19:08:35 -0500 |
---|---|---|
committer | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2011-02-10 19:08:35 -0500 |
commit | c6cfe39830810e5dbe5796600aea77ec990a7157 (patch) | |
tree | 396aaf0d4662c4d141e662a54c6f7dd868d2209a | |
parent | 048402723e3f162341bc0280e6be274d285cf8af (diff) | |
download | kvm-manager-c6cfe39830810e5dbe5796600aea77ec990a7157.tar.gz kvm-manager-c6cfe39830810e5dbe5796600aea77ec990a7157.tar.bz2 |
removing screen session, using sockets for stdio
-rwxr-xr-x | kvm-manager | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/kvm-manager b/kvm-manager index 6a3be5f..3e907f9 100755 --- a/kvm-manager +++ b/kvm-manager @@ -60,7 +60,6 @@ up() { fi exec chpst -u "$OWNER:$OWNERGROUP:kvm" \ - /usr/bin/screen -D -m -L -c /etc/screenrc.kvm-manager -S "$VMNAME" -t "$VMNAME" -s /bin/false \ /usr/bin/kvm $KVMARGS \ -M "${MACHINE:-pc}" \ -enable-kvm \ @@ -69,11 +68,11 @@ up() { -name "$VMNAME" \ -m "$RAM" \ -boot "$BOOTCHOICE" \ - -chardev "socket,id=monitor,path=$OWNERHOME/vms/$VMNAME/monitor,server,nowait" -mon chardev=monitor,mode=readline \ + -chardev "socket,id=monitor,path=$OWNERHOME/vms/$VMNAME/monitor.socket,server,nowait" -mon chardev=monitor,mode=readline \ -rtc base=utc \ -usb \ -device virtio-balloon-pci,id=balloon0,bus=pci.0 \ - -chardev stdio,id=serial0 -device isa-serial,chardev=serial0 \ + -chardev "socket,id=serial0,path=$OWNERHOME/vms/$VNAME/console.socket,server,nowait" -device isa-serial,chardev=serial0 \ -smp "${SMP:-1},maxcpus=${MAXCPUS:-8}" \ -device "virtio-net-pci,vlan=0,id=net0,mac=$MAC,bus=pci.0" \ -net "tap,ifname=$TAP,script=no,downscript=no,vlan=0,name=hostnet0" \ |