Skip to content

Instantly share code, notes, and snippets.

@addomafi
Last active April 24, 2019 21:04
Show Gist options
  • Save addomafi/9a77920bb8f6e769e0f1af09aad9290a to your computer and use it in GitHub Desktop.
Save addomafi/9a77920bb8f6e769e0f1af09aad9290a to your computer and use it in GitHub Desktop.

Create domain

virt-install -n manjaro-test -r 2640 --arch=x86_64 --os-type=linux --os-variant=archlinux --disk path=/home/addomafi/VirtualMachines/manjaro-kde.img,size=20,format=raw,bus=ide -w bridge=virbr0,model=virtio --graphics vnc,password=10s04k82 --noautoconsole --virt-type kvm --import

QEMU X86

sudo qemu-system-x86_64 -enable-kvm -drive file=~/VirtualMachines/manjaro-kde.img,index=0,if=ide,media=disk -m 2640 -vnc :0 -smp 4,sockets=1,cores=4,threads=1,maxcpus=4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment