[Bug 258776] 13.0-RELEASE Installation media kernel panic under Qemu/KVM

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 07 Oct 2021 09:28:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258776

Yann Droneaud <yann@droneaud.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Closed
         Resolution|---                         |Not A Bug

--- Comment #11 from Yann Droneaud <yann@droneaud.fr> ---
When testing against upstream Qemu, I've found v6.0.0 reproduces the problem,
and v6.1.0 doesn't !

So maybe it's not a problem in FreeBSD implementation after all.

Doing some bisecting, I've identified a commit in Qemu that seems to fix my
issue:

  commit fea4500841024195ec701713e05b92ebf667f192 (HEAD)
  Author: David Edmondson <david.edmondson@oracle.com>
  Date:   Mon Jul 5 11:46:31 2021 +0100

      target/i386: Populate x86_ext_save_areas offsets using cpuid where
possible

      Rather than relying on the X86XSaveArea structure definition,
      determine the offset of XSAVE state areas using CPUID leaf 0xd where
      possible (KVM and HVF).

      Signed-off-by: David Edmondson <david.edmondson@oracle.com>
      Message-Id: <20210705104632.2902400-8-david.edmondson@oracle.com>
      Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

I can't tell anymore if there's a bug in FreeBSD kernel, so I'm closing the
bug.

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