------- Comment From [email protected] 2018-02-28 04:46 EDT-------
Tested on below qemu and found working

ii  qemu-kvm                                      1:2.11+dfsg-1ubuntu2
ppc64el

#virsh qemu-monitor-command vm1 --hmp --cmd "info cpus"
* CPU #0: nip=0xc0000000000c009c thread_id=52837
CPU #1: nip=0xc0000000000c009c thread_id=52839
CPU #2: nip=0xc0000000000c009c thread_id=52840
CPU #3: nip=0xc0000000000c009c thread_id=52841
CPU #4: nip=0xc0000000000c009c thread_id=52842
CPU #5: nip=0xc0000000000c009c thread_id=52843
CPU #6: nip=0xc0000000000c009c thread_id=52844
CPU #7: nip=0xc0000000000c009c thread_id=52845

# virsh vcpucount vm1
maximum      config        16
maximum      live          16
current      config         8
current      live           8

# virsh setvcpus vm1 16 --live

# lscpu
Architecture:        ppc64le
Byte Order:          Little Endian
CPU(s):              16
On-line CPU(s) list: 0-15
Thread(s) per core:  8
Core(s) per socket:  2
Socket(s):           1
NUMA node(s):        1
Model:               2.2 (pvr 004e 1202)
Model name:          POWER9 (architected), altivec supported
Hypervisor vendor:   KVM
Virtualization type: para
L1d cache:           32K
L1i cache:           32K
NUMA node0 CPU(s):   0-15

# virsh setvcpus vm1 8 --live
# lscpu
Architecture:        ppc64le
Byte Order:          Little Endian
CPU(s):              8
On-line CPU(s) list: 0-7
Thread(s) per core:  8
Core(s) per socket:  1
Socket(s):           1
NUMA node(s):        1
Model:               2.2 (pvr 004e 1202)
Model name:          POWER9 (architected), altivec supported
Hypervisor vendor:   KVM
Virtualization type: para
L1d cache:           32K
L1i cache:           32K
NUMA node0 CPU(s):   0-7

Regards,
-Satheesh

------- Comment From [email protected] 2018-02-28 04:48 EDT-------
Closing as per previous comment

** Tags removed: targetmilestone-inin---
** Tags added: targetmilestone-inin1804

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

Title:
  [Power9][Ubuntu 18.04]  Can't set 8 threads per core for Power9 guest
  and doing it so breaks vcpu hotplug further.(kvm)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1750526/+subscriptions

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

Reply via email to