1. 18 Jun, 2021 3 commits
  2. 14 Jun, 2021 12 commits
  3. 08 Jun, 2021 2 commits
  4. 06 Jun, 2021 8 commits
  5. 03 Jun, 2021 2 commits
  6. 25 May, 2021 2 commits
  7. 19 May, 2021 2 commits
  8. 18 May, 2021 1 commit
  9. 09 May, 2021 2 commits
  10. 08 May, 2021 1 commit
  11. 07 May, 2021 2 commits
    • Marc-André Lureau's avatar
      Merge branch 'philmd' into 'master' · 61b287a1
      Marc-André Lureau authored
      Remove alloca() call in get_dns_addr_resolv_conf()
      
      See merge request !84
      61b287a1
    • philmd's avatar
      Remove alloca() call in get_dns_addr_resolv_conf() · 6690d556
      philmd authored
      
      
      The ALLOCA(3) man-page mentions its "use is discouraged".
      
      For now get_dns_addr_resolv_conf() is called with pointer to
      a in_addr/in6_addr structure, and its size. Declare a union
      of these structures on the stack, able to hold both of them.
      This allows us to remove the alloca() call, keeping the buffer
      on the stack.
      
      Add an assertion in the unlikely case another inet address
      is handled by this function.
      Signed-off-by: philmd's avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
      Message-Id: <20210507133212.1952121-1-philmd@redhat.com>
      6690d556
  12. 12 Apr, 2021 2 commits
    • Samuel Thibault's avatar
      Merge branch 'lazy-ipv6-resolution' into 'master' · 4e6444e8
      Samuel Thibault authored
      Perform lazy guest address resolution for IPv6
      
      See merge request !81
      4e6444e8
    • Doug Evans's avatar
      Perform lazy guest address resolution for IPv6 · f8bc26ad
      Doug Evans authored
      
      
      Previously QEMU rejected IPv6 host-forward attempts that had an
      unspecified guest address. This is because for IPv6 the guest's
      IP address isn't necessarily known ahead of time: Libslirp only
      provides a "stateless" DHCPv6 server, which if the macaddr is
      random then the IPv6 address is random too.
      
      This patch changes this to do the address resolution lazily, in the
      hopes that the guest's IPv6 address is known at the time the user
      wants to connect to the guest. The request can still fail if the
      guest doesn't have an IPv6 address yet (e.g., it's still early in
      the boot). Such requests are immediately rejected.
      Signed-off-by: Doug Evans's avatarDoug Evans <dje@google.com>
      f8bc26ad
  13. 07 Apr, 2021 1 commit