HomeFreeBSD

bhyve: simplify restore of kernel structs

Description

bhyve: simplify restore of kernel structs

Both devices and kernel struct can use the same 'lookup_dev'
function instead of having duplicated code.

Reviewed by: corvink, rew
MFC after: 1 week
Sponsored by: vStack
Differential Revision: https://reviews.freebsd.org/D40105

Details

Provenance
gusev.vitaliy_gmail.comAuthored on May 15 2023, 2:27 PM
corvinkCommitted on Jun 19 2023, 5:51 AM
Reviewer
corvink
Differential Revision
D40105: bhyve: [snapshot] Simplify restore kernel structs
Parents
rG50aef9f62c1b: bhyve: rename 'structs' snapshot key with 'kern_structs'
Branches
Unknown
Tags
Unknown