------- Comment From indira.pr...@in.ibm.com 2018-02-05 01:07 EDT-------
Test machine is just stabilised with latest PNOR & BMC levels. Will try to 
experiment with early qemu 2.11 whenever system is free from other tasks.


You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.

  [Power 9] ISST-LTE:KVM:Ubuntu1804:BostonLC:boslcp3: Unable to start
  the guest with more than 1 thread on ubuntu1804 KVM host machine.

Status in The Ubuntu-power-systems project:
Status in linux package in Ubuntu:
Status in qemu package in Ubuntu:

Bug description:
  == Comment: #0 - INDIRA P. JOGA <indira.pr...@in.ibm.com> - 2018-01-07 
13:18:32 ==
  Problem Description:
  Not able to start the ubutnu1804 guest with more than 1 thread on ubuntu1804 
KVM host machine

  Steps to re-create:
  > Installed Ubuntu1804 on boslcp3 host.

  root@boslcp3:/home# uname -a
  Linux boslcp3 4.13.0-17-generic #20-Ubuntu SMP Mon Nov 6 10:03:08 UTC 2017 
ppc64le ppc64le ppc64le GNU/Linux
  root@boslcp3:/home# uname -r

  > Installed qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils

  root@boslcp3:/home# virsh version
  Compiled against library: libvirt 3.6.0
  Using library: libvirt 3.6.0
  Using API: QEMU 3.6.0
  Running hypervisor: QEMU 2.10.1

  > root@boslcp3:~# ppc64_cpu --smt
  SMT is off

  > Defined the guest boslcp3g1 from host machine

  root@boslcp3:/home# virsh list --all
   Id    Name                           State
   -     boslcp3g1                      shut off

  Please cherry pick

  commit 45c940ba490df28cb87b993981a5f63df6bbb8db
  Author: Paul Mackerras <pau...@ozlabs.org>
  Date:   Fri Nov 18 17:43:30 2016 +1100

  KVM: PPC: Book3S HV: Treat POWER9 CPU threads as independent subcores

  > Started the guest and it fails with the error

  root@boslcp3:~# virsh start --console boslcp3g1
  error: Failed to start domain boslcp3g1
  error: internal error: process exited while connecting to monitor: 
2018-01-05T02:54:37.762120Z qemu-system-ppc64: -chardev pty,id=charserial0: 
char device redirected to /dev/pts/3 (label charserial0)
  2018-01-05T02:54:37.829236Z qemu-system-ppc64: Cannot support more than 1 
threads on PPC with KVM

  > Unable to start the guest with more than 1 Thread from Ubuntu1804
  KVM host machine.

  root@boslcp3:/home# virsh dumpxml boslcp3g1
  <domain type='kvm'>
    <maxMemory slots='16' unit='KiB'>10485760</maxMemory>
    <memory unit='KiB'>6291456</memory>
    <currentMemory unit='KiB'>6291456</currentMemory>
        <page size='2048' unit='KiB' nodeset='0'/>
    <vcpu placement='static' current='16'>32</vcpu>
      <type arch='ppc64le' machine='pseries-2.10'>hvm</type>
      <boot dev='hd'/>
      <boot dev='network'/>
      <bootmenu enable='yes'/>
    <cpu mode='host-model' check='partial'>
      <model fallback='forbid'>power9</model>
      <topology sockets='2' cores='8' threads='2'/>
        <cell id='0' cpus='0-7' memory='3145728' unit='KiB'/>
        <cell id='1' cpus='8-15' memory='3145728' unit='KiB'/>
    <clock offset='utc'/>
      <disk type='block' device='disk'>
        <driver name='qemu' type='raw'/>
        <target dev='sda' bus='virtio'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x05' 
      <disk type='block' device='disk'>
        <driver name='qemu' type='raw'/>
        <source dev='wwn-0x600507680183050d28000000000002a4-part2'/>
        <target dev='sdb' bus='virtio'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x06' 
      <disk type='block' device='disk'>
        <driver name='qemu' type='raw'/>
        <source dev='wwn-0x600507680183050d28000000000002a4-part3'/>
        <target dev='sdc' bus='virtio'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x07' 
      <controller type='scsi' index='0' model='virtio-scsi'>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x02' 
      <controller type='usb' index='0' model='qemu-xhci'>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x03' 
      <controller type='pci' index='0' model='pci-root'>
        <model name='spapr-pci-host-bridge'/>
        <target index='0'/>
      <controller type='pci' index='1' model='pci-root'>
        <model name='spapr-pci-host-bridge'/>
        <target index='1'/>
      <interface type='direct'>
        <mac address='52:54:00:e5:81:1f'/>
        <source dev='enP2p1s0f0' mode='bridge'/>
        <model type='virtio'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x01' 
      <serial type='pty'>
        <target port='0'/>
        <address type='spapr-vio' reg='0x30000000'/>
      <console type='pty'>
        <target type='serial' port='0'/>
        <address type='spapr-vio' reg='0x30000000'/>
      <memballoon model='virtio'>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x04' 
      <panic model='pseries'/>

To manage notifications about this bug go to:

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

Reply via email to