Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mailinglists35/7b4c497f47e19bc5f5cfb31000c57103 to your computer and use it in GitHub Desktop.
Save mailinglists35/7b4c497f47e19bc5f5cfb31000c57103 to your computer and use it in GitHub Desktop.
c:
cd "\program files\qemu"
start .\qemu-system-x86_64w.exe -name w7 -machine q35,vmport=off,dump-guest-core=off -accel hax -boot order=cd,menu=off -m 2048 -k en-us -spice addr=127.0.0.1,port=5901,disable-ticketing=on -chardev spicevmc,id=vdagent,debug=0,name=vdagent -device virtio-serial -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -vga qxl -display gtk -cpu Haswell,vme=on,x2apic=on,hypervisor=on,hv_time,hv_relaxed,hv_vapic,hv_spinlocks=0x1fff,hv_synic,hv_stimer -smp 4,cores=4,threads=1,sockets=1,maxcpus=4 -net nic,model=virtio -net user,hostfwd=tcp::22222-:22 -drive id=disk,file=c:\large_files\w7.qcow2,format=qcow2,if=none,cache=writeback,discard=unmap,detect-zeroes=unmap,aio=native -device ahci,id=ahci -device ide-hd,drive=disk,bus=ahci.0,id=disk -cdrom "C:\large_files\ubuntu-22.04-desktop-amd64.iso" -usb -device usb-mouse -device usb-kbd -device usb-tablet -global kvm-pit.lost_tick_policy=discard -no-hpet -global ICH9-LPC.disable_s3=1 -global ICH9-LPC.disable_s4=0 -rtc base=localtime -set device.disk.rotation_rate=1
rem -device usb-host,vendorid=0x6ade,productid=0x9582
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment