1. 03 2月, 2020 5 次提交
  2. 02 2月, 2020 7 次提交
  3. 01 2月, 2020 1 次提交
    • J
      qemu: drop unused variable · 62d75cdc
      Ján Tomko 提交于
      The g_auto conversion made clang realize the variable is unused:
      ../../src/qemu/qemu_domain.c:10349:36: error: unused variable
          'cfg' [-Werror,-Wunused-variable]
          g_autoptr(virQEMUDriverConfig) cfg = virQEMUDriverGetConfig(driver);
      Signed-off-by: NJán Tomko <jtomko@redhat.com>
      Fixes: 20fa2bc6
      62d75cdc
  4. 31 1月, 2020 25 次提交
  5. 30 1月, 2020 2 次提交
    • E
      nwfilter: Use immediate packet delivery mode rather than buffering · 2b082d87
      Erik Skultety 提交于
      Our nwfilter code doesn't set any timeout on the pcap packet buffer which
      means that when DHCP snooping is enabled on a guest interface and
      libvirt is trying to learn the IP address from guest's DHCP traffic, it
      takes up to 4x longer to ping a guest successfully compared to a case
      where nwfilter isn't enabled at all or libvirt uses the cached nwfilter
      leases to populate the corresponding rules to ebtables.
      With the pcap filter and rate limiting already in place, we should be
      able to afford enabling the immediate packet delivery, FWIW immediate
      mode was actually the default prior libpcap-1.5.0 (CentOS 6) regardless
      of whether a buffer was requested.
      
      The lack of any kind of timeout on the pcap buffer messed with the
      libvirt TCK test suite which, even with a generous timeout in place,
      timeouts every single time simply because it takes a while until
      guest actually starts producing any kind of traffic to fill up
      the buffer in place (apart from the DHCP traffic which happens fairly
      early on).
      Signed-off-by: NErik Skultety <eskultet@redhat.com>
      Reviewed-by: NDaniel P. Berrangé <berrange@redhat.com>
      2b082d87
    • E
      libpcap: Bump the minimum required version to >= 1.5.0 · 77c53403
      Erik Skultety 提交于
      libpcap-1.5.0 introduced a function to enforce immediate mode (on all
      platforms) which the follow-up patches will rely on.
      Signed-off-by: NErik Skultety <eskultet@redhat.com>
      Reviewed-by: NDaniel P. Berrangé <berrange@redhat.com>
      77c53403