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

Reviewed by: jhb

(cherry picked from commit d079fc197aca951c7918276922038852167dd39f)

Details

Provenance
gusev.vitaliy_gmail.comAuthored on Dec 16 2021, 4:06 PM
markjCommitted on Dec 27 2021, 12:15 AM
Parents
rGfe3c0370dafa: twsi: use twsi_error() to handle wrong bus status when starting
Branches
Unknown
Tags
Unknown