qemush/qemu/launchers/windows10

16 lines
383 B
Bash
Executable file

#!/bin/sh -x
export QEMUSH_RAM=4G
export QEMUSH_BASE=virtiofs,kvm
[ -z "$QEMUSH_NAME" ] && {
export QEMUSH_NAME
QEMUSH_NAME=$(basename "$0")
}
# Launch the virtual machine
exec spice \
-drive file="$(pathof disk)",if=virtio \
-net nic -net user,hostname="${QEMUSH_NAME}" \
-usbdevice tablet \
-name "$QEMUSH_NAME" \
-device intel-hda -device hda-duplex,audiodev=snd0 \
"$@"