HomeFreeBSD

vmm: Fix wrong assert in ivhd_dev_add_entry

Description

vmm: Fix wrong assert in ivhd_dev_add_entry

The correct condition is to check the number of ivhd entries fit into
the array.

Reported by: bz
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D31514

Details

Provenance
khngAuthored on Aug 12 2021, 7:54 AM
Differential Revision
D31514: vmm: Fix wrong assert in ivhd_dev_add_entry
Parents
rG5e4279a8f35a: loader: fix multiboot loading on UEFI
Branches
Unknown
Tags
Unknown