1. 02 3月, 2016 3 次提交
    • M
      datatypes.c: Replace 'close' with 'closeData' · f5f1ccbc
      Michal Privoznik 提交于
      Older compilers fail to see that 'close' is not used a function
      rather than a variable and produce the following error:
      
      cc1: warnings being treated as errors
      ../../src/datatypes.c: In function 'virConnectCloseCallbackDataReset':
      ../../src/datatypes.c:149: error: declaration of 'close' shadows a global declaration [-Wshadow]
      
      Replace all the 'close' occurrences with 'closeData' to resolve
      this.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      f5f1ccbc
    • J
      util: Fix missing initializer for agent · 95aa1017
      John Ferlan 提交于
      In virPolkitAgentCreate neglected to initialize agent to NULL. If
      there was an error in the pipe, then we jump to error and would have
      an issue. Found by coverity.
      95aa1017
    • J
      Libvirt: Add missing default value for config option max_queued_clients · b3a4b176
      Jason J. Herne 提交于
      Commit 1199edb1 added config option max_queued_clients and documented the
      default value as 1000 but never actually set that value. This patch sets the
      default value.
      
      This addresses an issue whereby the following error message is reported if too
      many migrations are started simultaneously:
      
      error: End of file while reading data: Ncat: Invalid argument.: Input/output error
      
      The problem is that too many ncat processes are spawned on the destination
      system. They all attempt to connect to the libvirt socket. Because the
      destination libvirtd cannot respond to the connect requests quickly enough we
      overrun the socket's pending connections queue.
      Signed-off-by: NJason J. Herne <jjherne@linux.vnet.ibm.com>
      Reviewed-by: NBoris Fiuczynski <fiuczy@linux.vnet.ibm.com>
      b3a4b176
  2. 01 3月, 2016 37 次提交