[Bug 274810] [regression] FreeBSD 14.0-RC3 crash during early boot on Vultr with custom ISO

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 02 Nov 2023 09:17:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274810

--- Comment #18 from commit-hook@FreeBSD.org ---
A commit in branch releng/14.0 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=52dbe7401fba923bc18124190029e65b491a756e

commit 52dbe7401fba923bc18124190029e65b491a756e
Author:     Zhenlei Huang <zlei@FreeBSD.org>
AuthorDate: 2023-11-02 09:07:11 +0000
Commit:     Zhenlei Huang <zlei@FreeBSD.org>
CommitDate: 2023-11-02 09:13:18 +0000

    Hyper-V: vmbus: Add NULL check for vmbus_res

    QEMU emulates Hyper-V [1] but lacks the emulation for vmbus_res, thus no
    coherence information is available. Add NULL check for it and fallback
    to no coherence. This will prevent FreeBSD guests from panic on QEMU
    with the Hyper-V enlightenment hv-synic enabled.

    For real Hyper-V, both gen1 and gen2 have vmbus_res then they are not
    affected by this change.

    1. https://www.qemu.org/docs/master/system/i386/hyperv.html

    PR:             274810
    Reviewed by:    mhorne, emaste, delphij, whu
    Approved by:    re (gjb)
    Diagnosed by:   mhorne
    Fixes:          e7a9817b8d32 Hyper-V: vmbus: implementat bus_get_dma_tag in
vmbus
    Insta-MFC approved by:  re (delphij) for 14.0-RC4
    Differential Revision:  https://reviews.freebsd.org/D42414

    (cherry picked from commit 63bf943d4af17799cef21e2bb78dd28003ce1ce5)
    (cherry picked from commit 1969d82fcf62f80c2047a53b42f501680b140b0d)

 sys/dev/hyperv/vmbus/vmbus.c | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.