1. 30 6月, 2020 2 次提交
  2. 29 6月, 2020 9 次提交
  3. 27 6月, 2020 7 次提交
  4. 26 6月, 2020 20 次提交
  5. 25 6月, 2020 2 次提交
    • M
      qemuDomainDeviceNetDefPostParse: Switch order of conditions · fe3840ea
      Michal Privoznik 提交于
      A few commits back (in v6.4.0-131-gbdb8f2e4) the post parse
      function for domain interface was changed so that it doesn't fill
      in model for hostdev types of interfaces (including network type
      interfaces which would end up hostdevs).
      
      While the idea is sound, the execution can be a bit better:
      virDomainNetResolveActualType() which is used to determine
      runtime type of given interface is heavy gun - it connects to
      network driver, fetches network XML, parses it. This all is
      followed by check whether the interface doesn't already have
      model set (from domain XML).
      
      If we switch the order of these two checks then the short circuit
      evaluation will ensure the expensive check is done only if really
      needed.
      
      This commit in fact fixes qemuxml2xmltest which due to lacking
      fake network driver tries to connect to network:///session and
      start the virtnetworkd. Fortunately, because of
      v6.3.0-25-gf28fbb05 it fails to do so and
      virDomainNetResolveActualType() returns -1. The only reason we
      don't see the test failing is because our input XMLs have model
      and thus we are saved by the latter (now former) check.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      Reviewed-by: NLaine Stump <laine@redhat.com>
      fe3840ea
    • A
      ci: Refresh Dockerfiles · d95eeb97
      Andrea Bolognani 提交于
      All targets get pip3, which is now part of the base system, and
      the number of native packages included in the MinGW containers is
      significantly reduced.
      
      The corresponding libvirt-ci commit is 4ff697ba0b5d.
      Signed-off-by: NAndrea Bolognani <abologna@redhat.com>
      d95eeb97