VM RAM & cores configuration

This commit is contained in:
Sonny 2017-07-09 19:55:08 +02:00
parent f00f9babee
commit 00f4e5ca4e
2 changed files with 23 additions and 8 deletions

12
scripts/qemu/debian-test Executable file
View file

@ -0,0 +1,12 @@
#!/bin/bash
qemu-system-x86_64 -enable-kvm --daemonize \
-cpu host \
-smp 4 \
-drive format=raw,file=/media/platvoeten/VM/debian-test.img,if=virtio \
-m 4G \
-name debian \
-vga qxl \
-spice port=5911,disable-ticketing \
-device virtio-serial \
-chardev spicevmc,id=vdagent,name=vdagent \
-device virtserialport,chardev=vdagent,name=com.redhat.spice.0