Performing the verification on Jammy.

First, verifying that we can reproduce the problem.

# apt policy qemu-system-x86
qemu-system-x86:
  Installed: 1:6.2+dfsg-2ubuntu6.18
  Candidate: 1:6.2+dfsg-2ubuntu6.18
  Version table:
 *** 1:6.2+dfsg-2ubuntu6.18 500
        500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     1:6.2+dfsg-2ubuntu6.16 500
        500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages
     1:6.2+dfsg-2ubuntu6 500
        500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages

# 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

Now, updating the package and verifying that the version from -proposed
fixes the issue:

# apt policy qemu-system-x86
qemu-system-x86:
  Installed: 1:6.2+dfsg-2ubuntu6.19
  Candidate: 1:6.2+dfsg-2ubuntu6.19
  Version table:
 *** 1:6.2+dfsg-2ubuntu6.19 500
        500 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     1:6.2+dfsg-2ubuntu6.18 500
        500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
     1:6.2+dfsg-2ubuntu6.16 500
        500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages
     1:6.2+dfsg-2ubuntu6 500
        500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages

# 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"
...
<no QEMU error>

This concludes the verification on Jammy.

** Tags removed: verification-needed verification-needed-jammy
** Tags added: verification-done verification-done-jammy

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2012763

Title:
  qemu-system-amd64 max cpus is too low for latest processors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/2012763/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to