Created
April 1, 2014 23:21
-
-
Save anonymous/9925063 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
qemu-kvm -monitor unix:"${monitorsocket}",server,nowait \ | |
-name "${vmname}" \ | |
-chardev socket,id=monitor,path="${kvmhome}"vm/"${vmname}"/monitor.sock,server,nowait \ | |
-monitor chardev:monitor \ | |
-chardev socket,id=serial0,path="${kvmhome}"vm/"${vmname}"/console.sock,server,nowait \ | |
-serial chardev:serial0 \ | |
-enable-kvm \ | |
-cpu "${cputype}" \ | |
-smp "${cpucores}" \ | |
-soundhw "${soundcard}" \ | |
-netdev tap,id=net0,script="${kvmhome}"qemu-ifup.bash \ | |
-device e1000,netdev=net0,mac="${macaddress}" \ | |
-drive id=disk,file="${discimage}",if=none -device ahci,id=ahci -device ide-drive,drive=disk,bus=ahci.0 \ | |
-m "${memoryinmegabytes}" \ | |
-vga qxl \ | |
-spice port="${spiceport}",addr="${hostip}",password="${spicepassword}" \ | |
-device virtio-serial-pci \ | |
-device virtserialport,chardev=spicechannel0,name=com.redhat.spice.0 \ | |
-chardev spicevmc,id=spicechannel0,name=vdagent & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment