# qemu-system-x86_64 -M pc-q35-mantic-maxcpus,accel=kvm,kernel-irqchip=split -device intel-iommu,intremap=on -smp cpus=300,maxcpus=300 -enable-kvm -net none -m 4096M -nographic -kernel /boot/vmlinuz -initrd /boot/initrd.img -chardev stdio,mux=on,id=char0 -mon chardev=char0,mode=readline -serial chardev:char0 -append "console=ttyS0"
qemu-system-x86_64: Invalid SMP CPUs 300. The max CPUs supported by machine 'pc-q35-mantic-maxcpus' is 288
As can be seen above, there is a problem with the new pc-q35-mantic-maxcpus machine type. As such, I am tagging this bug as verification-mantic-failed and will upload a fix for the issue.
Performing the verification on Mantic.
First, reproduce the problem.
# apt policy qemu-system-x86 dfsg-1ubuntu3. 23.10.3 dfsg-1ubuntu3. 23.10.3 dfsg-1ubuntu3. 23.10.3 500 archive. ubuntu. com/ubuntu mantic-updates/main amd64 Packages dpkg/status 8.0.4+dfsg- 1ubuntu3. 23.10.2 500 security. ubuntu. com/ubuntu mantic- security/ main amd64 Packages 8.0.4+dfsg- 1ubuntu3 500 archive. ubuntu. com/ubuntu mantic/main amd64 Packages
qemu-system-x86:
Installed: 1:8.0.4+
Candidate: 1:8.0.4+
Version table:
*** 1:8.0.4+
500 http://
100 /var/lib/
1:
500 http://
1:
500 http://
# qemu-system-x86_64 -M pc-q35- jammy,accel= kvm,kernel- irqchip= split -device intel-iommu, intremap= on -smp cpus=300, maxcpus= 300 -enable-kvm -net none -m 4096M -nographic -kernel /boot/vmlinuz -initrd /boot/initrd.img -chardev stdio,mux= on,id=char0 -mon chardev= char0,mode= readline -serial chardev:char0 -append "console=ttyS0"
qemu-system-x86_64: Invalid SMP CPUs 300. The max CPUs supported by machine 'pc-q35-jammy' is 288
# qemu-system-x86_64 -M pc-q35- mantic, accel=kvm, kernel- irqchip= split -device intel-iommu, intremap= on -smp cpus=300, maxcpus= 300 -enable-kvm -net none -m 4096M -nographic -kernel /boot/vmlinuz -initrd /boot/initrd.img -chardev stdio,mux= on,id=char0 -mon chardev= char0,mode= readline -serial chardev:char0 -append "console=ttyS0"
qemu-system-x86_64: Invalid SMP CPUs 300. The max CPUs supported by machine 'pc-q35-mantic' is 288
Now, verifying that the package from mantic-proposed fixes the issue:
# apt policy qemu-system-x86 dfsg-1ubuntu3. 23.10.4 dfsg-1ubuntu3. 23.10.4 dfsg-1ubuntu3. 23.10.4 100 archive. ubuntu. com/ubuntu mantic- proposed/ main amd64 Packages dpkg/status 8.0.4+dfsg- 1ubuntu3. 23.10.3 500 archive. ubuntu. com/ubuntu mantic-updates/main amd64 Packages 8.0.4+dfsg- 1ubuntu3. 23.10.2 500 security. ubuntu. com/ubuntu mantic- security/ main amd64 Packages 8.0.4+dfsg- 1ubuntu3 500 archive. ubuntu. com/ubuntu mantic/main amd64 Packages
qemu-system-x86:
Installed: 1:8.0.4+
Candidate: 1:8.0.4+
Version table:
*** 1:8.0.4+
100 http://
100 /var/lib/
1:
500 http://
1:
500 http://
1:
500 http://
# qemu-system-x86_64 -M pc-q35- jammy-maxcpus, accel=kvm, kernel- irqchip= split -device intel-iommu, intremap= on -smp cpus=300, maxcpus= 300 -enable-kvm -net none -m 4096M -nographic -kernel /boot/vmlinuz -initrd /boot/initrd.img -chardev stdio,mux= on,id=char0 -mon chardev= char0,mode= readline -serial chardev:char0 -append "console=ttyS0"
< all worked as expected >
# qemu-system-x86_64 -M pc-q35- mantic- maxcpus, accel=kvm, kernel- irqchip= split -device intel-iommu, intremap= on -smp cpus=300, maxcpus= 300 -enable-kvm -net none -m 4096M -nographic -kernel /boot/vmlinuz -initrd /boot/initrd.img -chardev stdio,mux= on,id=char0 -mon chardev= char0,mode= readline -serial chardev:char0 -append "console=ttyS0" mantic- maxcpus' is 288
qemu-system-x86_64: Invalid SMP CPUs 300. The max CPUs supported by machine 'pc-q35-
As can be seen above, there is a problem with the new pc-q35- mantic- maxcpus machine type. As such, I am tagging this bug as verification- mantic- failed and will upload a fix for the issue.