HomeFreeBSD

bhyvectl: do not return garbage from send_message

Description

bhyvectl: do not return garbage from send_message

err is used uninitialized in some cases.

Reviewed by: corvink, markj
MFC after: 1 week
Sponsored by: vStack
Differential Revision: https://reviews.freebsd.org/D38886

(cherry picked from commit 89fe7b98fe45cf56d60d0d4dfa1bfad3ba6908ec)

Details

Provenance
gusev.vitaliy_gmail.comAuthored on Mar 6 2023, 11:27 AM
corvinkCommitted on Mar 17 2023, 10:26 AM
Reviewer
corvink
Differential Revision
D38886: bhyvectl: send_message() returns garbage
Parents
rGf6a333f85524: bhyve: fix resume for vms with guest_ncpus > 1
Branches
Unknown
Tags
Unknown