Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/bin/sh
OPTS=""
OPTS="$OPTS -enable-kvm"
OPTS="$OPTS -cpu host,kvm=off,hv_relaxed,hv_spinlocks=0x1fff,hv_vapic,hv_time"
OPTS="$OPTS -machine type=pc-i440fx-2.1,accel=kvm"
OPTS="$OPTS -m 8G"
OPTS="$OPTS -cdrom win10.iso"
OPTS="$OPTS -vnc :1"
OPTS="$OPTS -device usb-ehci,id=ehci"
OPTS="$OPTS -device usb-tablet"
OPTS="$OPTS -hda windisk.qcow2"
OPTS="$OPTS -smp 4"
qemu-system-x86_64 $OPTS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment