[Bug 271117] [bhyve] : Fix compilation on stable/13 and CURRENT with BHYVE_SNAPSHOT

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 28 Apr 2023 11:26:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271117

            Bug ID: 271117
           Summary: [bhyve] : Fix compilation on stable/13 and CURRENT
                    with BHYVE_SNAPSHOT
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bhyve
          Assignee: virtualization@FreeBSD.org
          Reporter: florian.millet@laposte.net

Created attachment 241815
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=241815&action=edit
patch for stable/13

Here is a patch to fix compilation on stable/13 with the option BHYVE_SNAPSHOT
enabled.
From what I've seen this error came with commit        
6efb053bea5f94e2c29adafcaf5b9c56d99fa220

Tested with a tree at revision 06e36c8c7717338558aa807db63c80f245bf533b that it
fixes compilation of world.

This error is also present on CURRENT.

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