Building on systems without KVM support fails
scripts/check-qemu-install --debug --configd --match="" --uefi build/live-image-amd64.hybrid.iso ERROR - KVM not enabled on host, proceeding with software emulation INFO - Creating Disk image testinstall-20240918-144108-2bfe.img DEBUG - Formatting 'testinstall-20240918-144108-2bfe.img', fmt=raw size=2147483648 INFO - Installing system DEBUG - Executing command: qemu-system-x86_64 -name "TESTVM-UEFI" -smp 2,sockets=1,cores=2,threads=1 -cpu host -bios /usr/share/OVMF/OVMF_CODE.fd -m 4G -vga none -nographic -machine accel=kvm -uuid d27cf29e-4419-4407-8f82-dc73d1acd184 -boot d -drive file=build/live-image-amd64.hybrid.iso,format=raw,if=none,media=cdrom,id=drive-cd1,readonly=on -device ahci,id=achi0 -device ide-cd,bus=achi0.0,drive=drive-cd1,id=cd1,bootindex=1 --no-kvm -netdev user,id=n0,net=192.0.2.0/24,dhcpstart=192.0.2.101,dns=192.0.2.10 -device virtio-net-pci,netdev=n0,mac=52:54:00:00:00:00,romfile="" -netdev user,id=n1 -device virtio-net-pci,netdev=n1,mac=52:54:00:00:00:01,romfile="" -netdev user,id=n2 -device virtio-net-pci,netdev=n2,mac=52:54:00:00:00:02,romfile="" -netdev user,id=n3 -device virtio-net-pci,netdev=n3,mac=52:54:00:00:00:03,romfile="" -netdev user,id=n4 -device virtio-net-pci,netdev=n4,mac=52:54:00:00:00:04,romfile="" -netdev user,id=n5 -device virtio-net-pci,netdev=n5,mac=52:54:00:00:00:05,romfile="" -netdev user,id=n6 -device virtio-net-pci,netdev=n6,mac=52:54:00:00:00:06,romfile="" -netdev user,id=n7 -device virtio-net-pci,netdev=n7,mac=52:54:00:00:00:07,romfile="" -device virtio-scsi-pci,id=scsi0 -drive format=raw,file=testinstall-20240918-144108-2bfe.img,if=none,media=disk,id=drive-hd1,readonly=off -device scsi-hd,bus=scsi0.0,drive=drive-hd1,id=hd1,bootindex=2 DEBUG - qemu-system-x86_64: --no-kvm: invalid option ERROR - Exeption while executing QEMU ERROR - Is qemu working on this system? ERROR - Traceback (most recent call last): File "/__w/vyos-stream-builds/vyos-stream-builds/scripts/check-qemu-install", line 322, in <module> c.expect('Automatic boot in', timeout=10) File "/usr/lib/python3/dist-packages/pexpect/spawnbase.py", line 343, in expect return self.expect_list(compiled_pattern_list, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/pexpect/spawnbase.py", line 372, in expect_list return exp.expect_loop(timeout) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/pexpect/expect.py", line 179, in expect_loop return self.eof(e) ^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/pexpect/expect.py", line 122, in eof raise exc pexpect.exceptions.EOF: End Of File (EOF). Exception style platform. <pexpect.pty_spawn.spawn object at 0x7f32d1d3db50> command: /usr/bin/qemu-system-x86_64 args: ['/usr/bin/qemu-system-x86_64', '-name', 'TESTVM-UEFI', '-smp', '2,sockets=1,cores=2,threads=1', '-cpu', 'host', '-bios', '/usr/share/OVMF/OVMF_CODE.fd', '-m', '4G', '-vga', 'none', '-nographic', '-machine', 'accel=kvm', '-uuid', 'd27cf29e-4419-4407-8f82-dc73d1acd184', '-boot', 'd', '-drive', 'file=build/live-image-amd64.hybrid.iso,format=raw,if=none,media=cdrom,id=drive-cd1,readonly=on', '-device', 'ahci,id=achi0', '-device', 'ide-cd,bus=achi0.0,drive=drive-cd1,id=cd1,bootindex=1', '--no-kvm', '-netdev', 'user,id=n0,net=192.0.2.0/24,dhcpstart=192.0.2.101,dns=192.0.2.10', '-device', 'virtio-net-pci,netdev=n0,mac=52:54:00:00:00:00,romfile=', '-netdev', 'user,id=n1', '-device', 'virtio-net-pci,netdev=n1,mac=52:54:00:00:00:01,romfile=', '-netdev', 'user,id=n2', '-device', 'virtio-net-pci,netdev=n2,mac=52:54:00:00:00:02,romfile=', '-netdev', 'user,id=n3', '-device', 'virtio-net-pci,netdev=n3,mac=52:54:00:00:00:03,romfile=', '-netdev', 'user,id=n4', '-device', 'virtio-net-pci,netdev=n4,mac=52:54:00:00:00:04,romfile=', '-netdev', 'user,id=n5', '-device', 'virtio-net-pci,netdev=n5,mac=52:54:00:00:00:05,romfile=', '-netdev', 'user,id=n6', '-device', 'virtio-net-pci,netdev=n6,mac=52:54:00:00:00:06,romfile=', '-netdev', 'user,id=n7', '-device', 'virtio-net-pci,netdev=n7,mac=52:54:00:00:00:07,romfile=', '-device', 'virtio-scsi-pci,id=scsi0', '-drive', 'format=raw,file=testinstall-20240918-144108-2bfe.img,if=none,media=disk,id=drive-hd1,readonly=off', '-device', 'scsi-hd,bus=scsi0.0,drive=drive-hd1,id=hd1,bootindex=2'] buffer (last 100 chars): b'' before (last 100 chars): b'qemu-system-x86_64: --no-kvm: invalid option\r\n' after: <class 'pexpect.exceptions.EOF'>
The -no-kvm option was removed https://github.com/qemu/qemu/blob/master/docs/about/removed-features.rst#-no-kvm-removed-in-52