1. 26 11月, 2019 2 次提交
  2. 21 10月, 2019 1 次提交
  3. 15 10月, 2019 1 次提交
  4. 22 2月, 2018 1 次提交
  5. 20 2月, 2018 1 次提交
  6. 04 10月, 2017 1 次提交
  7. 21 4月, 2017 1 次提交
  8. 08 2月, 2017 1 次提交
    • L
      util: add MTU arg to virNetDevTapCreateInBridgePort() · dd8ac030
      Laine Stump 提交于
      virNetDevTapCreateInBridgePort() has always set the new tap device to
      the current MTU of the bridge it's being attached to. There is one
      case where we will want to set the new tap device to a different
      (usually larger) MTU - if that's done with the very first device added
      to the bridge, the bridge's MTU will be set to the device's MTU. This
      patch allows for that possibility by adding "int mtu" to the arg list
      for virNetDevTapCreateInBridgePort(), but all callers are sending -1,
      so it doesn't yet have any effect.
      
      Since the requested MTU isn't necessarily what is used in the end (for
      example, if there is no MTU requested, the tap device will be set to
      the current MTU of the bridge), and the hypervisor may want to know
      the actual MTU used, we also return the actual MTU to the caller (if
      actualMTU is non-NULL).
      dd8ac030
  9. 16 11月, 2016 1 次提交
    • R
      bhyve: fix memory leaks in bhyvexml2argvtest · a6b81d55
      Roman Bogorodskiy 提交于
       * virNetDevTapCreateInBridgePort() mock: free '*ifname' before
         strdupping a hardoded value to it
       * testCompareXMLToArgvFiles(): unref 'conn' object in cleanup
       * testCompareXMLToArgvHelper(): free 'ldargs' and 'dmargs' in
         cleanup
      a6b81d55
  10. 11 2月, 2015 1 次提交
  11. 18 9月, 2014 1 次提交
    • R
      bhyve: tests: fix build · d0d344cf
      Roman Bogorodskiy 提交于
      Commit b20d39a5 introduced a new argument for the
      virNetDevTapCreateInBridgePort function, however, its mock
      in bhyve tests wasn't updated, so the build failed.
      
      Fix build by adding this new argument to the mock version.
      d0d344cf
  12. 27 3月, 2014 1 次提交
    • R
      bhyve: add xml2args unittest · 1994d2dd
      Roman Bogorodskiy 提交于
      At this point unittest covers 4 basic cases:
      
       - minimal working XML for bhyve
       - same as above, but with virtio disk
       - ACPI and APIC args test
       - MAC address test
      1994d2dd