RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1271495 - When try mem slots more than 256 and specify the maxcpus=240, qemu will print warning.
Summary: When try mem slots more than 256 and specify the maxcpus=240, qemu will prin...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm-rhev
Version: 7.2
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Igor Mammedov
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-14 07:24 UTC by Qian Guo
Modified: 2016-03-28 09:45 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-10-14 15:08:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Qian Guo 2015-10-14 07:24:13 UTC
Description of problem:
In fact, if the mem slots are set more than 206, then set the maxcpus=240, the qemu will prompts:
qemu-kvm: Warning: ACPI tables are larger than 64k.
qemu-kvm: Warning: migration may not work.
qemu-kvm: Warning: please remove CPUs, NUMA nodes, memory slots or PCI bridges.
qemu-kvm: Warning: ACPI tables are larger than 64k.
qemu-kvm: Warning: migration may not work.
qemu-kvm: Warning: please remove CPUs, NUMA nodes, memory slots or PCI bridges.


But the cpus is not actually equals 240(just set smp=1), so qemu should not tell that the table is out of range. If need, it should refuse to boot when the actual vcpus are larger than 240, or refuse to hotplug the cpu numbers that may break the range.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
situation 1:
1.Boot with mem slots over 206 and smp=1 and set maxcpus=240
# /usr/libexec/qemu-kvm -smp 1,cores=1,sockets=1,threads=1,maxcpus=240     -m 16G,slots=256,maxmem=40G 

situation 2:
1. Boot with mem slots 256 and smp 240.

# /usr/libexec/qemu-kvm -smp 240     -m 16G,slots=256,maxmem=40G VNC server running on `::1:5900'
qemu-kvm: Warning: ACPI tables are larger than 64k.
qemu-kvm: Warning: migration may not work.
qemu-kvm: Warning: please remove CPUs, NUMA nodes, memory slots or PCI bridges.
qemu-kvm: Warning: ACPI tables are larger than 64k.
qemu-kvm: Warning: migration may not work.
qemu-kvm: Warning: please remove CPUs, NUMA nodes, memory slots or PCI bridges.



Actual results:
For Both situation:
the qemu prompts as followings, but not quit.

qemu-kvm: Warning: ACPI tables are larger than 64k.
qemu-kvm: Warning: migration may not work.
qemu-kvm: Warning: please remove CPUs, NUMA nodes, memory slots or PCI bridges.
qemu-kvm: Warning: ACPI tables are larger than 64k.
qemu-kvm: Warning: migration may not work.
qemu-kvm: Warning: please remove CPUs, NUMA nodes, memory slots or PCI bridges.


2.

Expected results:
For situation 1, should not prompts, due to it does not break the range.

For situation 2, should not boot up, qemu should refuse to boot up due to the acpi tables are larger than 64k.

Additional info:

Comment 2 Igor Mammedov 2015-10-14 15:08:38 UTC
ACPI table size depends on 'possible' number of CPUs or memory slots, which is what 'maxcpus' and 'slots' and these possible devices must be present in
ACPI tables for hotplug to be operational.

Warnings warn user that migration 'may" not work, and that only true for backwards migration to a QEMU in releases earlier than 7.2.

Warnings are introduced intentionally to warn about possible broken migration
instead of silently trying to run with the broken configuration as it is in 7.1 and earlier releases.


Note You need to log in before you can comment on or make changes to this bug.