1. 05 5月, 2016 2 次提交
    • L
      network: fix DHCPv6 on networks with prefix != 64 · 8ceb0fea
      Laine Stump 提交于
      According to the dnsmasq manpage, the netmask for IPv4 address ranges
      will be auto-deteremined from the interface dnsmasq is listening on,
      but it can't do this for IPv6 for some reason - it instead assumes a
      network prefix of 64 for all IPv6 address ranges. If this is
      incorrect, dnsmasq will refuse to give out an address to clients,
      instead logging this message:
      
       dnsmasq-dhcp[2380]: no address range available for DHCPv6 request via virbr0
      
      The solution is for libvirt to add ",$prefix" to all IPv6 dhcp-range
      arguments when building the dnsmasq.conf file.
      
      Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1033739
      (cherry picked from commit bf3d9f30)
      8ceb0fea
    • B
      rpc: Don't leak fd via CreateXMLWithFiles · 5d4a0b00
      Ben Gray 提交于
      FD passing APIs like CreateXMLWithFiles or OpenGraphicsFD will leak
      file descriptors. The user passes in an fd, which is dup()'d in
      virNetClientProgramCall. The new fd is what is transfered to the
      server virNetClientIOWriteMessage.
      
      Once all the fds have been written though, the parent msg->fds list
      is immediately free'd, so the individual fds are never closed.
      
      This closes each FD as its send to the server, so all fds have been
      closed by the time msg->fds is free'd.
      
      https://bugzilla.redhat.com/show_bug.cgi?id=1159766
      (cherry picked from commit 5ba48584)
      5d4a0b00
  2. 21 4月, 2016 1 次提交
  3. 20 4月, 2016 30 次提交
  4. 15 4月, 2016 3 次提交
  5. 06 4月, 2016 1 次提交
  6. 05 4月, 2016 3 次提交