[Bug 212782] [bhyve] Increasing VM_MAXCPU to >= 26 will result in ACPI MADT table corruption

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat May 4 13:44:27 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212782

--- Comment #6 from commit-hook at 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 at 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

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


More information about the freebsd-virtualization mailing list