Created
November 24, 2024 06:32
-
-
Save mykola2312/3f0b2569811e9943e5972b0be2c9609a to your computer and use it in GitHub Desktop.
QEMU config for Windows 7
This file contains hidden or 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 | |
xfreerdp /d:win7-vm /v:192.168.69.1 /p:password /sec:rdp /w:1920 /h:1000 |
This file contains hidden or 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
#!/usr/bin/env bash | |
qemu-system-x86_64 \ | |
-enable-kvm \ | |
-machine type=q35,accel=kvm \ | |
-cpu host \ | |
-m 4096m \ | |
-vga qxl \ | |
-monitor stdio \ | |
-drive if=pflash,format=raw,file=/usr/share/OVMF/OVMF_CODE.fd \ | |
-drive if=pflash,format=raw,file=/drive/virtual-machines/win7-OVMF_VARS.fd \ | |
-drive media=cdrom,index=0,format=raw,file=/home/mykola/iso/win7-eagle123.iso \ | |
-drive id=disk,file=/drive/virtual-machines/win7.img,if=none \ | |
-device ahci,id=achi \ | |
-device ide-hd,drive=disk,bus=achi.0 \ | |
-spice port=5924,disable-ticketing=on \ | |
-device e1000,netdev=nic0 \ | |
-netdev tap,id=nic0,ifname=tap0,script=no,downscript=no \ | |
-name "win7" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment