]> git.ipfire.org Git - thirdparty/libvirt.git/commit
bhyve: add e1000 nic support
authorRoman Bogorodskiy <bogorodskiy@gmail.com>
Sat, 27 Aug 2016 12:30:34 +0000 (15:30 +0300)
committerRoman Bogorodskiy <bogorodskiy@gmail.com>
Sat, 11 Feb 2017 02:51:28 +0000 (06:51 +0400)
commit5620c609596cdfb3b809afab1b37b7f00fe831a1
tree49a2f3531dd42ddfc223a5431c8282ad4abf19ea
parentef41eda68a5af0475f79f6ad611b8bd3b569f459
bhyve: add e1000 nic support

Recently e1000 NIC support was added to bhyve; implement that in
the bhyve driver:

 - Add capability check by analyzing output of the 'bhyve -s 0,e1000'
   command
 - Modify bhyveBuildNetArgStr() to support e1000 and also pass
   virConnectPtr so it could call bhyveDriverGetCaps() to check if this
   NIC is supported
 - Modify command parsing code to add support for e1000 and adjust tests
 - Add net-e1000 test
13 files changed:
src/bhyve/bhyve_capabilities.c
src/bhyve/bhyve_capabilities.h
src/bhyve/bhyve_command.c
src/bhyve/bhyve_parse_command.c
tests/bhyveargv2xmldata/bhyveargv2xml-e1000.args [new file with mode: 0644]
tests/bhyveargv2xmldata/bhyveargv2xml-e1000.xml [new file with mode: 0644]
tests/bhyveargv2xmldata/bhyveargv2xml-virtio-net.xml
tests/bhyveargv2xmldata/bhyveargv2xml-virtio-net4.xml
tests/bhyveargv2xmltest.c
tests/bhyvexml2argvdata/bhyvexml2argv-net-e1000.args [new file with mode: 0644]
tests/bhyvexml2argvdata/bhyvexml2argv-net-e1000.ldargs [new file with mode: 0644]
tests/bhyvexml2argvdata/bhyvexml2argv-net-e1000.xml [new file with mode: 0644]
tests/bhyvexml2argvtest.c