IBM, The patches mentioned in this bug should be available in the disco kernel, please verify this bug in Disco release and report back here if it works. Would it be sufficient if the patches land as part of the linux-hwe updates in 18.04.3? Or do you need them to be backported to Cosmic/Bionic GA kernels ?
-- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1817832 Title: qemu crashes with `kvm_init_vcpu failed: Invalid argument` during guest boot cores >256 Status in The Ubuntu-power-systems project: Triaged Status in linux package in Ubuntu: Fix Released Status in qemu package in Ubuntu: Invalid Status in linux source package in Bionic: New Status in linux source package in Cosmic: New Bug description: == Comment: #0 - Satheesh Rajendran <sathe...@in.ibm.com> - 2019-02-14 23:48:15 == ---Problem Description--- qemu crashes with `kvm_init_vcpu failed: Invalid argument` during guest boot cores >256 but the error message is not clearly explains it. Contact Information = sathe...@in.ibm.com ---uname output--- 4.15.0-1016-ibm-gt Machine Type = power9 ppc64le ---Debugger--- A debugger is not configured ---Steps to Reproduce--- # /usr/bin/qemu-system-ppc64 -smp 257 -enable-kvm -monitor stdio qemu-system-ppc64: warning: Number of SMP cpus requested (257) exceeds the recommended cpus supported by KVM (128) qemu-system-ppc64: warning: Number of hotpluggable cpus requested (257) exceeds the recommended cpus supported by KVM (128) QEMU 2.11.1 monitor - type 'help' for more information (qemu) kvm_init_vcpu failed: Invalid argument Expected Result: 1. Guest should boot fine or 2. Proper error message stating cores >256 need to have thread>1 because smp=512 with threads=2 works fine like below # /usr/bin/qemu-system-ppc64 -smp 512,cores=256,threads=2 -enable-kvm -monitor stdio qemu-system-ppc64: warning: Number of SMP cpus requested (512) exceeds the recommended cpus supported by KVM (128) qemu-system-ppc64: warning: Number of hotpluggable cpus requested (512) exceeds the recommended cpus supported by KVM (128) QEMU 2.11.1 monitor - type 'help' for more information (qemu) VNC server running on ::1:5900 (qemu) info status VM status: running Userspace tool common name: ii qemu-system-ppc 1:2.11+dfsg-1ubuntu7.8-1ibm3 ppc64el QEMU full system emulation binaries (ppc) The userspace tool has the following bit modes: both Userspace rpm: ii qemu-system-ppc 1:2.11+dfsg-1ubuntu7.8-1ibm3 ppc64el QEMU full system emulation binaries (ppc) Userspace tool obtained from project website: na *Additional Instructions for sathe...@in.ibm.com: -Post a private note with access information to the machine that the bug is occuring on. -Attach ltrace and strace of userspace application. commit 1e175d2e07c71d9574f5b1c74523abca54e2654f Author: Sam Bobroff <sam.bobr...@au1.ibm.com> Date: Wed Jul 25 16:12:02 2018 +1000 commit b5c6f7607b908b1445f2556c8d2f3b1ec5fc5aa8 Author: Paul Mackerras <pau...@ozlabs.org> Date: Thu Jul 26 15:38:41 2018 +1000 commit 1ebe6b81ebdba8faf377d1d7d84ad9368e7a0bae Author: Paul Mackerras <pau...@ozlabs.org> Date: Thu Jul 26 14:53:54 2018 +1000 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-power-systems/+bug/1817832/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp