Roman Bogorodskiy wrote: > 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 > --- > src/bhyve/bhyve_capabilities.c | 26 ++++++++++++++++++ > src/bhyve/bhyve_capabilities.h | 1 + > src/bhyve/bhyve_command.c | 31 +++++++++++++++++++--- > src/bhyve/bhyve_parse_command.c | 10 ++++++- > tests/bhyveargv2xmldata/bhyveargv2xml-e1000.args | 8 ++++++ > tests/bhyveargv2xmldata/bhyveargv2xml-e1000.xml | 30 +++++++++++++++++++++ > .../bhyveargv2xmldata/bhyveargv2xml-virtio-net.xml | 2 ++ > .../bhyveargv2xml-virtio-net4.xml | 1 + > tests/bhyveargv2xmltest.c | 1 + > .../bhyvexml2argvdata/bhyvexml2argv-net-e1000.args | 9 +++++++ > .../bhyvexml2argv-net-e1000.ldargs | 3 +++ > .../bhyvexml2argvdata/bhyvexml2argv-net-e1000.xml | 22 +++++++++++++++ > tests/bhyvexml2argvtest.c | 7 ++++- > 13 files changed, 145 insertions(+), 6 deletions(-) > create mode 100644 tests/bhyveargv2xmldata/bhyveargv2xml-e1000.args > create mode 100644 tests/bhyveargv2xmldata/bhyveargv2xml-e1000.xml > create mode 100644 tests/bhyvexml2argvdata/bhyvexml2argv-net-e1000.args > create mode 100644 tests/bhyvexml2argvdata/bhyvexml2argv-net-e1000.ldargs > create mode 100644 tests/bhyvexml2argvdata/bhyvexml2argv-net-e1000.xml ping? Roman Bogorodskiy
Attachment:
signature.asc
Description: PGP signature
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list