maintainer-approval requested: [Bug 219913] emulators/virtualbox-ose-kmod: if the MAXCPU option is not the default for the running kernel, then 'kldload vboxdrv.ko' will result in a kernel panic : [Attachment 244203] updated patch

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 19 Aug 2023 05:21:41 UTC
Graham Perrin <grahamperrin@freebsd.org> has asked freebsd-emulation (Nobody)
<emulation@FreeBSD.org> for maintainer-approval:
Bug 219913: emulators/virtualbox-ose-kmod: if the MAXCPU option is not the
default for the running kernel, then 'kldload vboxdrv.ko' will result in a
kernel panic
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219913

Attachment 244203: updated patch
https://bugs.freebsd.org/bugzilla/attachment.cgi?id=244203&action=edit



--- Comment #7 from Graham Perrin <grahamperrin@freebsd.org> ---
Comment on attachment 244203
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=244203
updated patch

Additional eyes on this patch. 

Whilst emulation@ is not the maintainer, it _is_ a specified address for
problems;
<https://github.com/freebsd/freebsd-ports/commit/afbf09cc33941f6e8015ea2a99665a
dd0df3b03a#diff-64c4a683499abbf4275fc526621380d5ffa8c2f6c58cd5a2acf0080b6d47f37
7R17>