-
-
Save struckoff/d57816d23f50e787353c98c5212e07dd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
sleep 5 && | |
qemu-system-x86_64 \ | |
-machine type=q35,accel=kvm \ | |
-realtime mlock=off \ | |
-balloon none \ | |
-smp 6,sockets=2,cores=3,threads=1 \ | |
-cpu host,hv_time,hv_relaxed,hv_vapic,hv_vendor_id=whatever,kvm=off \ | |
-m 8G \ | |
-mem-prealloc \ | |
-enable-kvm \ | |
-soundhw hda \ | |
-rtc clock=host,base=localtime \ | |
-drive file=/dev/disk/by-id/ata-ADATA_SP920SS_14260C682766,index=0,media=disk,format=raw,aio=threads\ | |
-device vfio-pci,host=01:00.0,multifunction=on,id=rx488\ | |
-device vfio-pci,host=01:00.1,id=rx488audio \ | |
-device virtio-mouse-pci,id=input0\ | |
-device virtio-keyboard-pci,id=input1\ | |
-object input-linux,id=kbd1,evdev=/dev/input/by-id/usb-STMicroelectronics_obins_anne_keyboard_STM32-if01-event-kbd,grab_all=on,repeat=on\ | |
-object input-linux,id=mouse0,evdev=/dev/input/by-id/usb-Logitech_G403_Prodigy_Gaming_Mouse_117B37593536-event-mouse\ | |
-net nic,model=virtio -net tap,ifname=tap5,script=no,downscript=no \ | |
-boot c\ | |
-monitor stdio \ | |
-device secondary-vga \ | |
-serial null -parallel null \ | |
-net nic -net user,smb="/media/D" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment