]> git.ipfire.org Git - thirdparty/libvirt.git/commit
bhyve: support interface type 'network'
authorRoman Bogorodskiy <bogorodskiy@gmail.com>
Tue, 1 Apr 2025 17:32:34 +0000 (19:32 +0200)
committerRoman Bogorodskiy <bogorodskiy@gmail.com>
Thu, 10 Apr 2025 13:14:54 +0000 (15:14 +0200)
commite1e40b503532f169130ec2ca134af889a21d477d
tree9fd104168c49bd3dd4aaf8e7a2c3f1a3af1c33e6
parent1ec1b765d67556638e6eaa31ee6f355ba58e0af0
bhyve: support interface type 'network'

Add support for interface type 'network'. While bridge remains the only
supported options for networks in bhyve, supporting interface type
'network' allows easier configuration and makes domain XMLs more
compatible with the other drivers.

While here, update the error message for the unsupported interface type
to print the requested network type string instead of an integer to make
it more user-friendly.

Signed-off-by: Roman Bogorodskiy <bogorodskiy@gmail.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/bhyve/bhyve_command.c
src/bhyve/bhyve_process.c