[libvirt] [PATCH v4] bhyve: add e1000 nic support

Roman Bogorodskiy bogorodskiy at gmail.com
Wed Feb 8 14:01:05 UTC 2017


  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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170208/2247159f/attachment-0001.sig>


More information about the libvir-list mailing list