A QEMU config file section cannot hold more than one hostfwd entry, so the forwards move out of the ini files into qemu/<vm>/forwards.conf, one "LABEL HOST_PORT GUEST_PORT" rule per line. The new vmforwards.py parses them, skips rules whose host port is taken and builds the -netdev argument, which every launcher now passes instead of relying on a netdev section in the ini or on -nic. The ini files move to qemu/<vm>/config.ini and qemu/<vm>/<os>-<arch>.ini. The *_SSH_PORT / *_RDP_PORT variables and --rdp-port / --ssh-port still replace the host port of the SSH and RDP rules. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
25 lines
571 B
INI
25 lines
571 B
INI
# Linux host, amd64 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 = "q35"
|
|
|
|
# The system disk is attached through IDE so that Windows can boot before the
|
|
# VirtIO storage driver is installed; the installation media of
|
|
# --install-from-iso use ide.1 to ide.3.
|
|
[device "system_disk-dev"]
|
|
driver = "ide-hd"
|
|
drive = "system_disk"
|
|
bus = "ide.0"
|
|
bootindex = "1"
|
|
|
|
[device "nic0"]
|
|
driver = "e1000e"
|
|
netdev = "net0"
|