HomeFreeBSD

bhyve: Handle snapshots of unconfigured virtio-net devices

Description

bhyve: Handle snapshots of unconfigured virtio-net devices

In case of device reset or not configured - features_negotiated is not
set, calling calling pci_vtnet_neg_features is wrong and resume gets
"Segmentation fault".

Reviewed by: markj
Sponsored by: vStack
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D36244

Details

Provenance
gusev.vitaliy_gmail.comAuthored on Oct 23 2022, 6:47 PM
markjCommitted on Oct 23 2022, 6:50 PM
Reviewer
markj
Differential Revision
D36244: bhyve: [snapshot] virtio-net features could be not negotiated
Parents
rGfdd95483332b: time(3): Fix spelling.
Branches
Unknown
Tags
Unknown