summaryrefslogtreecommitdiff
path: root/virtualize
blob: a82c28bc1c33f9686c0b2382ff308545d9971e5c (plain)
    1 #!/usr/bin/env bash
    2 
    3 if [[ -z ${1} ]]; then
    4   echo -e "
    5 Please specify either a system drive to boot (-hda <path>), or a live iso file
    6 to serve as the bootable virtual cdrom device (-cdrom <path>.iso).\n"
    7   exit 1
    8 fi
    9 
   10 # Execute
   11 qemu-system-x86_64 -enable-kvm -machine accel=kvm -vga std -m 2048 ${@}

Generated by cgit