[Power9][Ubuntu 18.04] Can't set 8 threads per core for Power9 guest and doing it so breaks vcpu hotplug further.(kvm)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
The Ubuntu-power-systems project |
Fix Released
|
Critical
|
David Britton | ||
qemu (Ubuntu) |
Fix Released
|
High
|
Ubuntu on IBM Power Systems Bug Triage |
Bug Description
== Comment: #0 - Satheesh Rajendran <email address hidden> - 2018-02-20 02:07:45 ==
---Problem Description---
Power9 Can't set 8 threads per core for Power9 guest and doing it so breaks vcpu hotplug further.
---uname output---
4.15.0-10-generic
Machine Type = power9 boston 2.2 (pvr 004e 1202)
---Debugger---
A debugger is not configured
---Steps to Reproduce---
1. Boot a power9 guest with current vcpus=8 and threads=8 and maxvcpu 16. -- There is libvirt blocker, BUG 164807 , currently using workaround suggested as in https:/
2. Check vcpucount, vcpuinfo output, it shows 8 vcpus
3. Check vcpus inside guest, it shows only 4 vcpus and monitor info cpus says remanining 4 are halted.
4. Try vcpuhotplug, it fails inside the guest with below error
[ 108.130338] Unable to find space in cpu_present_mask for processor <NULL> with 8 thread(s)
..
<vcpu placement='static' current=
<resource>
<partition>
</resource>
<os>
<type arch='ppc64le' machine=
<boot dev='hd'/>
</os>
<cpu>
<topology sockets='1' cores='2' threads='8'/>
</cpu>
...
1)# virsh start vm1
2)# virsh vcpucount vm1
maximum config 16
maximum live 16
current config 8
current live 8
3)# virsh vcpucount vm1 --guest
4 -------
# virsh qemu-monitor-
* CPU #0: nip=0xc00000000
CPU #1: nip=0xc00000000
CPU #2: nip=0xc00000000
CPU #3: nip=0xc00000000
CPU #4: nip=0x000000000
CPU #5: nip=0x000000000
CPU #6: nip=0x000000000
CPU #7: nip=0x000000000
4) Hotplug vcpus
# virsh setvcpus vm1 16 --live
root@ltc-boston8:~# virsh vcpucount vm1 --guest
4 -------
guest dmesg:
[ 127.031090] Unable to find space in cpu_present_mask for processor <NULL> with 8 thread(s)
root@ub
Contact Information = <email address hidden>
Userspace tool common name: ii qemu-kvm 1:2.11+
The userspace tool has the following bit modes: both
Userspace rpm: ii qemu-kvm 1:2.11+
Userspace tool obtained from project website: na
*Additional Instructions for <email address hidden>:
-Post a private note with access information to the machine that the bug is occuring on.
-Attach ltrace and strace of userspace application.
== Comment: #1 - Satheesh Rajendran <email address hidden> - 2018-02-20 02:10:51 ==
Fix in upstream @ https:/
== Comment: #2 - SRIKANTH AITHAL <email address hidden> - 2018-02-20 02:21:04 ==
Please mirror this to ubuntu and request to include patch in previous comment.
CVE References
Changed in ubuntu-power-systems: | |
assignee: | nobody → Canonical Server Team (canonical-server) |
importance: | Undecided → Critical |
tags: | added: triage-g |
Changed in ubuntu-power-systems: | |
assignee: | Canonical Server Team (canonical-server) → David Britton (davidpbritton) |
Changed in ubuntu-power-systems: | |
status: | New → In Progress |
Changed in ubuntu-power-systems: | |
status: | In Progress → Fix Released |
Default Comment by Bridge