[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
Thu Apr 25 22:53:48 UTC 2019


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

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

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


More information about the freebsd-virtualization mailing list