The base image now carries the VirtIO drivers, which restores the 2304x1440 display that ramfb had lost. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
39 lines
1.1 KiB
INI
39 lines
1.1 KiB
INI
# macOS host, arm64 part of the Windows 11 QEMU configuration; read after config.ini.
|
|
|
|
# Accelerators are tried in order: HVF on macOS, else emulation.
|
|
[accel]
|
|
accel = "hvf"
|
|
|
|
[accel]
|
|
accel = "tcg"
|
|
|
|
# run-windows11.py adds kernel-irqchip=off (see there).
|
|
[machine]
|
|
type = "virt"
|
|
|
|
# The "virt" machine has no IDE. NVMe and USB mass storage (used by the
|
|
# installation media) both have inbox Windows drivers.
|
|
[device "system_disk-dev"]
|
|
driver = "nvme"
|
|
drive = "system_disk"
|
|
serial = "win11disk"
|
|
bootindex = "1"
|
|
|
|
# The base image carries the VirtIO drivers (build-windows-base.sh installs them
|
|
# from the virtio-win ISO), so the VM uses virtio-net and virtio-gpu. virtio-gpu
|
|
# is the only display, driven by viogpudo; ramfb is not added because Windows
|
|
# would then see a second adapter with a fixed-mode monitor. xres/yres set the
|
|
# preferred mode in the EDID (QEMU defaults to 1280x800); viogpudo accepted
|
|
# 1920x1200, 2048x1280 and 2304x1440 but not 2560x1440 or 2560x1600.
|
|
[device "nic0"]
|
|
driver = "virtio-net-pci"
|
|
netdev = "net0"
|
|
|
|
[device "gpu0"]
|
|
driver = "virtio-gpu-pci"
|
|
xres = "2304"
|
|
yres = "1440"
|
|
|
|
[device "kbd0"]
|
|
driver = "usb-kbd"
|