Public bug reported:

-- Problem description --

cpu hotplug fails on ubuntu17.04 guest lotg3 with the following error:

root@lotkvm:~# virsh setvcpus lotg3 8 --live
setlocale: No such file or directory
error: internal error: unable to execute QEMU command 'cpu-add': Not supported

-- Guest configuration: lotg3 ---

root@lotg3:~# dpkg -l |grep rtas
ii  librtas2                           2.0.0-2                           
ppc64el      userspace RTAS library
ii  librtasevent2                      2.0.0-2                           
ppc64el      RTAS events library
ii  ppc64-diag                         2.7.1-6                           
ppc64el      Platform error log analysis tool and rtas_errd daemon
root@lotg3:~# dpkg -l |grep powerpc
ii  powerpc-ibm-utils                  1.3.2-1                           
ppc64el      utilities for maintenance of IBM PowerPC platforms
ii  powerpc-utils                      1.3.2-1                           
ppc64el      utilities for maintenance of PowerPC platforms (metapackage)
root@lotg3:~# 
root@lotg3:~# service rtas* status
? rtas_errd.service - ppc64-diag rtas_errd (platform error handling) Service
   Loaded: loaded (/lib/systemd/system/rtas_errd.service; enabled; vendor preset
   Active: active (running) since Fri 2017-02-24 04:38:29 CST; 7h ago
     Docs: man:rtas_errd(8)
 Main PID: 1852 (rtas_errd)
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/rtas_errd.service
           ??1852 /usr/sbin/rtas_errd start

Feb 24 04:38:14 lotg3 systemd[1]: Starting ppc64-diag rtas_errd (platform error 
Feb 24 04:38:29 lotg3 systemd[1]: Started ppc64-diag rtas_errd (platform error h
[1]+  Stopped                 service rtas* status
root@lotg3:~#
root@lotg3:~# lscpu
Architecture:          ppc64le
Byte Order:            Little Endian
CPU(s):                4
On-line CPU(s) list:   0-3
Thread(s) per core:    4
Core(s) per socket:    1
Socket(s):             1
NUMA node(s):          1
Model:                 2.1 (pvr 004b 0201)
Model name:            POWER8 (architected), altivec supported
Hypervisor vendor:     KVM
Virtualization type:   para
L1d cache:             64K
L1i cache:             32K
NUMA node0 CPU(s):     0-3

root@lotkvm:~# virsh dumpxml lotg3
setlocale: No such file or directory
<domain type='kvm' id='65'>
  <name>lotg3</name>
  <uuid>d1acabd8-a1cf-47b7-8b60-88e503abbff9</uuid>
  <memory unit='KiB'>4194304</memory>
  <currentMemory unit='KiB'>4194304</currentMemory>
  <memoryBacking>
    <hugepages/>
  </memoryBacking>
  <vcpu placement='static' current='4'>8</vcpu>
  <cputune>
    <shares>4096</shares>
  </cputune>
  <resource>
    <partition>/machine</partition>
  </resource>
  <os>
    <type arch='ppc64le' machine='pseries-2.5'>hvm</type>
    <boot dev='hd'/>
    <boot dev='network'/>
  </os>
  <cpu mode='host-model'>
    <model fallback='forbid'>power8</model>
    <topology sockets='2' cores='1' threads='4'/>
  </cpu>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/bin/kvm</emulator>
    <disk type='volume' device='lun'>
      <driver name='qemu' type='raw' cache='none'/>
      <source pool='poolvhba0' volume='unit:0:0:9'/>
      <backingStore/>
      <target dev='hd0' bus='scsi'/>
      <alias name='scsi0-0-0-0'/>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
    </disk>
    <controller type='scsi' index='0'>
      <alias name='scsi0'/>
      <address type='spapr-vio' reg='0x2000'/>
    </controller>
    <controller type='usb' index='0' model='pci-ohci'>
      <alias name='usb'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' 
function='0x0'/>
    </controller>
    <controller type='pci' index='0' model='pci-root'>
      <alias name='pci.0'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:cb:ae:53'/>
      <source bridge='br0'/>
      <virtualport type='openvswitch'>
        <parameters interfaceid='cc62f899-4d6f-4b85-99b9-4e48a1ef623a'/>
      </virtualport>
      <target dev='vnet2'/>
      <model type='virtio-net'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' 
function='0x0'/>
    </interface>
    <serial type='pty'>
      <source path='/dev/pts/2'/>
      <target port='0'/>
      <alias name='serial0'/>
      <address type='spapr-vio' reg='0x30000000'/>
    </serial>
    <console type='pty' tty='/dev/pts/2'>
      <source path='/dev/pts/2'/>
      <target type='serial' port='0'/>
      <alias name='serial0'/>
      <address type='spapr-vio' reg='0x30000000'/>
    </console>
    <memballoon model='virtio'>
      <alias name='balloon0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' 
function='0x0'/>
    </memballoon>
    <panic model='pseries'/>
  </devices>
  <seclabel type='none' model='apparmor'/>
  <seclabel type='dynamic' model='dac' relabel='yes'>
    <label>+64055:+117</label>
    <imagelabel>+64055:+117</imagelabel>
  </seclabel>
</domain>

** Affects: qemu (Ubuntu)
     Importance: Undecided
     Assignee: Taco Screen team (taco-screen-team)
         Status: New


** Tags: architecture-ppc64le bugnameltc-152004 severity-critical 
targetmilestone-inin1704

** Tags added: architecture-ppc64le bugnameltc-152004 severity-critical
targetmilestone-inin1704

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

Title:
  ISST-LTE:UBUNTUKVM17.04:lotkvm:lotg3: CPU hotplug fails with 'cpu-
  add': Not supported error

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

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

Reply via email to