1. 24 6月, 2019 1 次提交
    • P
      ssh: switch from libssh2 to libssh · b10d49d7
      Pino Toscano 提交于
      Rewrite the implementation of the ssh block driver to use libssh instead
      of libssh2.  The libssh library has various advantages over libssh2:
      - easier API for authentication (for example for using ssh-agent)
      - easier API for known_hosts handling
      - supports newer types of keys in known_hosts
      
      Use APIs/features available in libssh 0.8 conditionally, to support
      older versions (which are not recommended though).
      
      Adjust the iotest 207 according to the different error message, and to
      find the default key type for localhost (to properly compare the
      fingerprint with).
      Contributed-by: NMax Reitz <mreitz@redhat.com>
      
      Adjust the various Docker/Travis scripts to use libssh when available
      instead of libssh2. The mingw/mxe testing is dropped for now, as there
      are no packages for it.
      Signed-off-by: NPino Toscano <ptoscano@redhat.com>
      Tested-by: NPhilippe Mathieu-Daudé <philmd@redhat.com>
      Acked-by: NAlex Bennée <alex.bennee@linaro.org>
      Message-id: 20190620200840.17655-1-ptoscano@redhat.com
      Reviewed-by: NPhilippe Mathieu-Daudé <philmd@redhat.com>
      Message-id: 5873173.t2JhDm7DL7@lindworm.usersys.redhat.com
      Signed-off-by: NMax Reitz <mreitz@redhat.com>
      b10d49d7
  2. 03 6月, 2019 1 次提交
  3. 29 5月, 2019 3 次提交
  4. 23 5月, 2019 3 次提交
  5. 22 5月, 2019 1 次提交
  6. 17 5月, 2019 1 次提交
  7. 13 5月, 2019 1 次提交
  8. 03 5月, 2019 4 次提交
  9. 02 5月, 2019 3 次提交
  10. 30 4月, 2019 1 次提交
    • P
      configure: Remove --source-path option · 79d77bcd
      Peter Maydell 提交于
      Normally configure identifies the source path by looking
      at the location where the configure script itself exists.
      We also provide a --source-path option which lets the user
      manually override this.
      
      There isn't really an obvious use case for the --source-path
      option, and in commit 92712822 in 2017 we
      accidentally added some logic that looks at $source_path
      before the command line option that overrides it has been
      processed.
      
      The fact that nobody complained suggests that there isn't
      any use of this option and we aren't testing it either;
      remove it. This allows us to move the "make $source_path
      absolute" logic up so that there is no window in the script
      where $source_path is set but not yet absolute.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: NDaniel P. Berrangé <berrange@redhat.com>
      Message-id: 20190318134019.23729-1-peter.maydell@linaro.org
      79d77bcd
  11. 17 4月, 2019 1 次提交
  12. 25 3月, 2019 1 次提交
  13. 19 3月, 2019 2 次提交
  14. 18 3月, 2019 1 次提交
    • M
      qga: Fix guest-get-fsinfo PCI address collection in Windows · 996b9cdc
      Matt Hines 提交于
      The Windows QEMU guest agent erroneously tries to collect PCI information
      directly from the physical drive. However, windows stores SCSI/IDE information
      with the drive and PCI information with the underlying storage controller
      This changes get_pci_info to use the physical drive's underlying storage
      controller to get PCI information.
      
      * Additionally Fixes incorrect size being passed to DeviceIoControl
        when getting volume extents. Can occasionally crash the guest agent
      Signed-off-by: NMatt Hines <mhines@scalecomputing.com>
      *fix up some checkpatch warnings
      *fix domain reporting and add some sanity checks for debug
      Signed-off-by: NMichael Roth <mdroth@linux.vnet.ibm.com>
      996b9cdc
  15. 14 3月, 2019 1 次提交
  16. 13 3月, 2019 2 次提交
  17. 12 3月, 2019 2 次提交
  18. 11 3月, 2019 2 次提交
    • P
      configure: Disable W^X on OpenBSD · 7776ea6b
      Philippe Mathieu-Daudé 提交于
      Since OpenBSD 6.0 [1], W^X is enforced by default [2].
      TCG requires WX access. Disable W^X if it is available.
      This fixes:
      
        # lm32-softmmu/qemu-system-lm32
        Could not allocate dynamic translator buffer
      
        # sysctl kern.wxabort=1
        kern.wxabort: 0 -> 1
        # lm32-softmmu/qemu-system-lm32
        mmap: Not supported
        Abort trap (core dumped)
        # gdb -q lm32-softmmu/qemu-system-lm32 qemu-system-lm32.core
        (gdb) bt
        #0  0x000017e3c156c50a in _thread_sys___syscall () at {standard input}:5
        #1  0x000017e3c15e5d7a in *_libc_mmap (addr=Variable "addr" is not available.) at /usr/src/lib/libc/sys/mmap.c:47
        #2  0x000017e17d9abc8b in alloc_code_gen_buffer () at /usr/src/qemu/accel/tcg/translate-all.c:1064
        #3  0x000017e17d9abd04 in code_gen_alloc (tb_size=0) at /usr/src/qemu/accel/tcg/translate-all.c:1112
        #4  0x000017e17d9abe81 in tcg_exec_init (tb_size=0) at /usr/src/qemu/accel/tcg/translate-all.c:1149
        #5  0x000017e17d9897e9 in tcg_init (ms=0x17e45e456800) at /usr/src/qemu/accel/tcg/tcg-all.c:66
        #6  0x000017e17d9891b8 in accel_init_machine (acc=0x17e3c3f50800, ms=0x17e45e456800) at /usr/src/qemu/accel/accel.c:63
        #7  0x000017e17d989312 in configure_accelerator (ms=0x17e45e456800, progname=0x7f7fffff07b0 "lm32-softmmu/qemu-system-lm32") at /usr/src/qemu/accel/accel.c:111
        #8  0x000017e17d9d8616 in main (argc=1, argv=0x7f7fffff06b8, envp=0x7f7fffff06c8) at vl.c:4325
      
      [1] https://www.openbsd.org/faq/upgrade60.html
      [2] https://undeadly.org/cgi?action=article&sid=20160527203200Signed-off-by: NPhilippe Mathieu-Daudé <philmd@redhat.com>
      Message-Id: <20190307142822.8531-3-philmd@redhat.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      7776ea6b
    • A
      configure: Enable werror for git worktrees · fd73745d
      Alexey Kardashevskiy 提交于
      The configure script checks multiple times whether it works in a git
      repository and it does this by "test -e "${source_path}/.git" in 4 cases
      but in one case where it tries to enable werror "-d" is used there which
      fails on git worktrees as .git is a file then and not a directory.
      
      This changes the test to "-e" as other occurrences.
      Signed-off-by: NAlexey Kardashevskiy <aik@ozlabs.ru>
      Message-Id: <20190228043503.68494-1-aik@ozlabs.ru>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      fd73745d
  19. 08 3月, 2019 5 次提交
  20. 07 3月, 2019 2 次提交
  21. 28 2月, 2019 1 次提交
  22. 26 2月, 2019 1 次提交