[libvirt] [PATCH v2 06/10] util: Introduce virMACMap module

Andrea Bolognani abologna at redhat.com
Thu Dec 22 18:38:22 UTC 2016


On Mon, 2016-12-05 at 11:31 +0100, Michal Privoznik wrote:
> This module will be used to track:
> 
>   <domain, mac address list>
> 
> pairs. It will be important to know these mappings without
> libvirt connection (that is from a JSON file), because NSS
> module will use those to provide better host name translation.

This appears to be broken on FreeBSD in a couple of
interesting ways:

  $ VIR_TEST_DEBUG=1 ./tests/virmacmaptest
  TEST: virmacmaptest
   1) Lookup "none" in "empty"
      ... OK
   ...
   7) Lookup "f25" in "simple2"
      ... libvirt: Network Driver error : internal error:
      invalid json in file: .../tests/virmacmaptestdata/simple2.json
   ...
  10) Flush "simple"
      ... Segmentation fault (core dumped)

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list