HomeFreeBSD

bhyve: Only snapshot initialized VirtIO queues

Description

bhyve: Only snapshot initialized VirtIO queues

If the virtio device is not fully initialized, then suspend fails with:

vi_pci_snapshot_queues: invalid address: vq->vq_desc
Failed to snapshot virtio-rnd; ret=14

MFC after: 1 week
Reviewed by: jhb
Differential Revision: https://reviews.freebsd.org/D26268

Details

Provenance
gusev.vitaliy_gmail.comAuthored on Dec 16 2021, 4:06 PM
markjCommitted on Dec 17 2021, 6:06 PM
Reviewer
jhb
Differential Revision
D26268: bhyve: snapshot virtio queues can fail
Parents
rG9f5432d5e5f0: netinet6: ip6_setpktopt() requires NET_EPOCH
Branches
Unknown
Tags
Unknown