Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 May 2019 13:44:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        virtualization@FreeBSD.org
Subject:   [Bug 212782] [bhyve] Increasing VM_MAXCPU to >= 26 will result in ACPI MADT table corruption
Message-ID:  <bug-212782-27103-3QNyXwyBhC@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-212782-27103@https.bugs.freebsd.org/bugzilla/>
References:  <bug-212782-27103@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212782

--- Comment #6 from commit-hook@freebsd.org ---
A commit references this bug:

Author: rgrimes
Date: Sat May  4 13:43:49 UTC 2019
New revision: 347124
URL: https://svnweb.freebsd.org/changeset/base/347124

Log:
  MFC: r346715: Acpi MADT table correction for VM_MAXCPU > 21

  The bhyve acpi MADT table was given a static space of 256 (0x100) bytes,
  this is enough space to allow VM_MAXCPU to be 21, this patch changes that
  so VM_MAXCPU can be of arbitrary value and not overflow the space by
  actually calculating the space needed for the table.

  PR:                   212782
  Reviewed by:          Patrick Mooney <patrick.mooney@joyent.com>
  Approved by:          bde (mentor, implicit), jhb (maintainer)
  Differential Revision:        https://reviews.freebsd.org/D18815

Changes:
_U  stable/11/
  stable/11/usr.sbin/bhyve/acpi.c
_U  stable/12/
  stable/12/usr.sbin/bhyve/acpi.c

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-212782-27103-3QNyXwyBhC>