nix

configuration files that power my machines
Log | Files | Refs | README | LICENSE

qw (617B)


      1 #!/usr/bin/env bash
      2 qemu-system-x86_64 -M q35,usb=on,acpi=on,hpet=off -m 2G \
      3 	-cpu host,hv_relaxed,hv_frequencies,hv_vpindex,hv_ipi,hv_tlbflush,hv_spinlocks=0x1fff,hv_synic,hv_runtime,hv_time,hv_stimer,hv_vapic \
      4 	-smp cores=2 -accel kvm -drive file="$HOME"/misc/random/win7.qcow2 -device usb-tablet \
      5 	-device VGA,vgamem_mb=128 -nic user,model=e1000 -monitor stdio \
      6 	-device usb-ehci,id=ehci \
      7 	-device usb-host,bus=ehci.0,vendorid=0x0781,productid=0x5588 \
      8 	-audiodev pipewire,id=snd0 -device intel-hda -device hda-duplex,audiodev=snd0 \
      9 	-drive file=fat:rw:"$HOME"/misc/random/qemu_shared/,format=raw,media=disk