1. 10 9月, 2019 1 次提交
    • L
      util: new function virNetDevMacVLanIsMacvtap() · 1b46566e
      Laine Stump 提交于
      This function returns T if the given name is a macvtap device. This is
      determined by 1) getting the ifindex of the device with that name (if
      there is one), and 2) checking for existence of /dev/tapXX, where "XX"
      is the ifindex learned in (1).
      
      It's also possible to learn this by getting a netlink dump of the
      interface and parsing through it to look for some attributes, but that
      is complicated to figure out, takes longer to execute, and I'm lazy.
      Signed-off-by: NLaine Stump <laine@redhat.com>
      Reviewed-by: NDaniel P. Berrangé <berrange@redhat.com>
      1b46566e
  2. 09 9月, 2019 15 次提交
  3. 07 9月, 2019 3 次提交
  4. 06 9月, 2019 21 次提交