[Bug 271484] Guest OS Rocky Linux 9.1 freezes sporadically

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 18 May 2023 11:17:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271484

--- Comment #5 from Vitaliy Gusev <gusev.vitaliy@gmail.com> ---
(In reply to Konstantin from comment #4)


It seems that 13.2 can suffer too.

Can you try stable/13 build ? It have fix that should solve your issue:

----
commit 74393887695971d59e108b950e27d21b3070e1fc
Author: Vitaliy Gusev <gusev.vitaliy@gmail.com>
Date:   Wed Apr 26 10:17:50 2023 +0200

    vmm: fix HLT loop while vcpu has requested virtual interrupts

    This fixes the detection of pending interrupts when pirval is 0 and the
    pending bit is set

    More information how this situation occurs, can be found here:
   
https://github.com/freebsd/freebsd-src/blob/c5b5f2d8086f540fefe4826da013dd31d4e45fe8/sys/amd64/vmm/intel/vmx.c#L4016-L4031

    Reviewed by:            corvink, markj
    Fixes:                  02cc877968bbcd57695035c67114a67427f54549
("Recognize a pending virtual interrupt while emulating the halt instruction.")
    MFC after:              1 week
    Sponsored by:           vStack
    Differential Revision:  https://reviews.freebsd.org/D39620

    (cherry picked from commit 0912408a281f203c43d0b3f73c38117336588342)

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