Skip to content

Instantly share code, notes, and snippets.

@metinsanli
Last active October 27, 2025 13:15
Show Gist options
  • Select an option

  • Save metinsanli/e4d6b4eee92dee199d2ba8ba306fab90 to your computer and use it in GitHub Desktop.

Select an option

Save metinsanli/e4d6b4eee92dee199d2ba8ba306fab90 to your computer and use it in GitHub Desktop.
#Windows #QEMU #Debian

WHPX (Windows Hypervisor Platform Accelerator)

Windows üzerinde çalışan Qemu'nun donanım sanallaştırma desteği kullanmasını sağlayan bir hızlandırıcıdır. WHPX, Windows 10/11'deki Windows Hypervisor Platform (WHP) API'sini kullanan QEMU hızlandırıcısıdır. Windows'un kendi hipervizör altyapısından (Hyper-V'nin de kullandığı) yararlanır.

Windows 10/11 üzerinde whpx kontrolü
Get-WindowsOptionalFeature -Online -FeatureName HypervisorPlatform
Windows 10/11 üzerinde whpx aktif etme
Enable-WindowsOptionalFeature -Online -NoRestart -FeatureName HypervisorPlatform
QEMU Accelerator'lar
Accelerator Platform B
KVM Linux En hızlı, doğrudan Linux kernel desteği
==WHPX== Windows Windows Hypervisor Platform kullanır
HAXM Windows/macOS Intel tarafından geliştirilen (artık deprecated)
HVF macOS Apple Hypervisor Framework
TCG Hepsi Yazılım emülasyonu (en yavaş)
Örnek başlatıcı Powershell script'i
$HARDDISK = "$env:QEMU_IMGS\debian-13-nocloud-amd64.qcow2"
$OSNAME = "Debian-Trixie"
$ARGS = @(
	"-accel whpx",
	"-m 1G,slots=3,maxmem=2G",
	"-display sdl -vga none -device virtio-vga,xres=1000,yres=600",
	"-usb -device usb-tablet -k tr"
	"-rtc base=localtime,clock=host",
	"-netdev user,id=network0,hostfwd=tcp::10022-:22",
	"-device virtio-net-pci,netdev=network0",
	"-name $OSNAME,process=$OSNAME",
	"-drive if=virtio,file=$HARDDISK,format=qcow2"
)
Start-Process -FilePath qemu-system-x86_64 -ArgumentList $ARGS -NoNewWindow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment