HomeFreeBSD

libvmmapi: Zero out the structure passed to VM_GET_MEMSEG

Description

libvmmapi: Zero out the structure passed to VM_GET_MEMSEG

Avoid assuming that the kernel zeros the name buffer, it does not do
this for zero-length segments.

MFC after: 2 weeks
Sponsored by: Innovate UK

Details

Provenance
markjAuthored on Apr 3 2024, 5:09 PM
Parents
rG1855002ddf0b: libvmmapi: Make vm_raise_msi() a common function
Branches
Unknown
Tags
Unknown