-
-
Save saber-nyan/4cfa9f096cce01e38be2b69f21782727 to your computer and use it in GitHub Desktop.
Способ запуска QEMU/KVM с WinX на борту
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
итого 17G | |
drwxr-xr-x 2 saber-nyan users 3,5K окт 28 19:01 ./ | |
drwxr-xr-x 5 saber-nyan users 3,5K окт 28 18:55 ../ | |
-rw-r--r-- 1 saber-nyan users 32G окт 22 15:50 disk0.dd | |
-rwxr-xr-x 1 saber-nyan users 1,3K окт 22 13:52 startup.sh* | |
-rw-r--r-- 1 saber-nyan users 302M окт 22 12:19 virtio-win-0.1.141.iso |
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 | |
DRI_PRIME=1 # Отображаю на дискретном радеоне | |
QEMU_AUDIO_DRV=pa # Пульса для звука | |
qemu-system-x86_64 \ | |
-machine q35,accel=kvm \ | |
-m 4G \ | |
-smp 4 \ | |
-enable-kvm \ | |
-device intel-iommu \ | |
-drive file=virtio-win-0.1.141.iso,index=3,media=cdrom \ | |
-drive file=disk0.dd,if=virtio,format=raw,cache=unsafe \ | |
-boot menu=on \ | |
-vga qxl \ | |
-spice unix,addr=/tmp/win10_spice.socket,disable-ticketing \ | |
-device virtio-serial-pci \ | |
-device virtserialport,chardev=spicechannel0,name=com.redhat.spice.0 \ | |
-chardev spicevmc,id=spicechannel0,name=vdagent \ | |
-soundhw hda \ | |
-daemonize | |
remote-viewer spice+unix:///tmp/win10_spice.socket |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment