Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Apr 2019 22:53:45 +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-dUG8SADhtx@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 #5 from commit-hook@freebsd.org ---
A commit references this bug:

Author: rgrimes
Date: Thu Apr 25 22:52:44 UTC 2019
New revision: 346715
URL: https://svnweb.freebsd.org/changeset/base/346715

Log:
  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), jhb (maintainer)
  MFC after:            3 days
  Differential Revision:        https://reviews.freebsd.org/D18815

Changes:
  head/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-dUG8SADhtx>