** Also affects: qemu
   Importance: Undecided
       Status: New

** No longer affects: qemu

** Also affects: ubuntu-power-systems
   Importance: Undecided
       Status: New

** Changed in: ubuntu-power-systems
     Assignee: (unassigned) => Ubuntu on IBM Power Systems Bug Triage 
(ubuntu-power-triage)

** Changed in: qemu (Ubuntu)
     Assignee: Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) => 
(unassigned)

** Changed in: ubuntu-power-systems
   Importance: Undecided => High

** Changed in: qemu (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/2055003

Title:
  Qemu cmdline core dumped with more(8193 or more) cpus

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

Bug description:
  ---Debugger---
  A debugger is not configured
   
  ---Steps to Reproduce---
   
  ---Problem Description---
   Qemu cmdline core dumped with more(8193 or more) cpus
   
  ---Debugger---
  A debugger is not configured
   
  ---Steps to Reproduce---
   Qemu cmdline core dumped when more number of CPUs were given.

  
  [root@ltcmihawk39 ~]# qemu-system-ppc64 -accel tcg -smp 10,maxcpus=9000
  **
  ERROR:../tcg/region.c:782:tcg_region_init: assertion failed: (region_size >= 
2 * page_size)
  Bail out! ERROR:../tcg/region.c:782:tcg_region_init: assertion failed: 
(region_size >= 2 * page_size)
  Aborted (core dumped)

  Expected Result:
  Warning message like "Number of cpus requested exceeds the cpus supported"

  Actual Result:
  core dumped

  Steps to Reproduce:
  --------------------

  1. Clone the upstream qemu from https://gitlab.com/qemu-project/qemu.git
  2. Compile qemu with below steps.
      cd qemu/
      git submodule init
      git submodule update --recursive
      ./configure --target-list=ppc64-softmmu --prefix=/usr
      make
      make install
  3. set maxcpus=8193 or more

  
  [root@ltcmihawk39 ~]# qemu-system-ppc64 --version
  QEMU emulator version 8.0.94 (v8.1.0-rc4)
  Copyright (c) 2003-2023 Fabrice Bellard and the QEMU Project developers

  NOTE: This behavior is observed only when qemu is built without disabling the 
tcg.
   
  Contact Information = sthou...@in.ibm.com 
   
  Machine Type = x 
   
  ---uname output---
  x

  Action needed

  Our IBM Dev want to include this patch in latest Canonical distro.

  Need the distro to review and integrate fixes provided by IBM

  https://github.com/qemu/qemu/commit/c4f91d7b7be76c47015521ab0109c6e998a369b0

  Need to include this commit in latest Canonical distro.

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


Reply via email to