run-windows11.py no longer installs Windows or touches ISO/img files: it creates a QCOW2 overlay on the base image (made by vm-images/build-windows-base.sh) and, when the disk is created, mounts seed.iso. Windows reads the Unattend.xml in its root during the specialize and OOBE passes (host name, account, auto logon, Remote Desktop) and Configure-Windows.ps1 then installs OpenSSH with the host's key, turns off Windows Update and copies the installer scripts. The VM hardware uses devices with inbox Windows drivers (IDE/NVMe, e1000e, ramfb on arm64), since the base image has no VirtIO drivers. Autounattend.xml moves to vm-images; the vm-images pointer is updated. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
33 lines
798 B
INI
33 lines
798 B
INI
# Linux host, arm64 part of the Windows 11 QEMU configuration; read after config.ini.
|
|
|
|
# Accelerators are tried in order: KVM on Linux, else emulation.
|
|
[accel]
|
|
accel = "kvm"
|
|
|
|
[accel]
|
|
accel = "tcg"
|
|
|
|
[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"
|
|
|
|
# Windows has no inbox driver for virtio-net or virtio-gpu, and the base image
|
|
# contains no VirtIO drivers, so the network card is an Intel e1000e and the
|
|
# display is ramfb (a fixed-size framebuffer).
|
|
[device "nic0"]
|
|
driver = "e1000e"
|
|
netdev = "net0"
|
|
|
|
[device "gpu0"]
|
|
driver = "ramfb"
|
|
|
|
[device "kbd0"]
|
|
driver = "usb-kbd"
|