1. 25 7月, 2019 7 次提交
  2. 24 7月, 2019 1 次提交
  3. 23 7月, 2019 1 次提交
  4. 19 7月, 2019 1 次提交
  5. 18 7月, 2019 15 次提交
  6. 16 7月, 2019 4 次提交
  7. 15 7月, 2019 4 次提交
  8. 13 7月, 2019 2 次提交
    • E
      snapshot: Factor out redefine cycle validation · e3989ce3
      Eric Blake 提交于
      The code to check whether a redefined snapshot/checkpoint XML is
      attempting to create a cycle in the list of moments is lengthy, and
      common between the two types of list. Therefore, it belongs in the
      shared base file.
      Signed-off-by: NEric Blake <eblake@redhat.com>
      Acked-by: NPeter Krempa <pkrempa@redhat.com>
      e3989ce3
    • D
      tests: skip systemd activation test if FDs 3/4/5 are open · ff09b1f6
      Daniel P. Berrangé 提交于
      With systemd activation the passed in file descriptors are required to
      be numbered from STDERR_FILENO + 1 onwards. The unit tests thus require
      FDs 3, 4 and 5 to be available.
      
      This may not be the case in all environments in which the tests run. For
      example on RHEL7 it was seen that a library constructor (gcrypt probably)
      opens /dev/urandom and leaves the file handle open. This means FD 3 is
      not available and the activation tests fail.
      
      The best way to deal with this would be to create a standalone helper
      program for the tests, but that's much more work than just skipping the
      tests if we notice we have the problem.
      Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
      ff09b1f6
  9. 12 7月, 2019 4 次提交
  10. 11 7月, 2019 1 次提交
    • D
      rpc: always pass "-T -e none" args to ssh · 1939bcd5
      Daniel P. Berrangé 提交于
      Way back in the past, the "no_tty=1" option was added for the remote
      driver to disable local password prompting by disabling use of the local
      tty:
      
        commit b32f4298
        Author: Daniel P. Berrange <berrange@redhat.com>
        Date:   Fri Sep 21 20:17:09 2007 +0000
      
          Added a no_tty param to remote URIs to stop SSH prompting for password
      
      This was done by adding "-T -o BatchMode=yes -e none" args to ssh. This
      achieved the desired results but is none the less semantically flawed
      because it is mixing up config parameters for the local tty vs the
      remote tty.
      
      The "-T" arg stops allocation of a TTY on the remote host. This is good
      for all libvirt SSH tunnels as we never require a TTY for our usage
      model, so we should have just passed this unconditionally.
      
      The "-e none" option disables the escape character for sessions with a
      TTY. If we pass "-T" this is not required, but it also not harmful to
      add it, so we should just pass it unconditionally too.
      
      Only the "-o BatchMode=yes" option is related to disabling local
      password prompts and thus needs control via the no_tty URI param.
      Reviewed-by: NAndrea Bolognani <abologna@redhat.com>
      Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
      1939bcd5