HomeFreeBSD

bhyve: Use designated initializers for virtio_consts tables

Description

bhyve: Use designated initializers for virtio_consts tables

This is easier to read and addresses some compiler warnings.

One might expect these tables to be read-only but it seems that the
snapshot/restore code may modify them.

MFC after: 2 weeks

(cherry picked from commit 6cb261620da3a9888f7a09244a8efe691c12ae47)

Details

Provenance
markjAuthored on Sep 29 2022, 3:53 PM
jhbCommitted on Jan 26 2023, 7:30 PM
Parents
rG542eea73db5d: bhyve: Address some warnings in bhyverun.c
Branches
Unknown
Tags
Unknown