Public bug reported:

---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.

** Affects: qemu (Ubuntu)
     Importance: Undecided
     Assignee: Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage)
         Status: New


** Tags: architecture-ppc64le bugnameltc-205716 severity-high 
targetmilestone-inin---

** Tags added: architecture-ppc64le bugnameltc-205716 severity-high
targetmilestone-inin---

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

** Package changed: ubuntu => qemu (Ubuntu)

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

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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to