1. 06 1月, 2020 11 次提交
  2. 03 1月, 2020 24 次提交
  3. 02 1月, 2020 2 次提交
    • D
      travis: fix homebrew install of python3 · db5d0499
      Daniel P. Berrangé 提交于
      The Python3 package has started failing to install from
      HomeBrew with the following:
      
        Error: The `brew link` step did not complete successfully
        The formula built, but is not symlinked into /usr/local
        Could not symlink Frameworks/Python.framework/Headers
        Target /usr/local/Frameworks/Python.framework/Headers
        is a symlink belonging to python@2. You can unlink it:
      
          brew unlink python@2
      
        To force the link and overwrite all conflicting files:
      
          brew link --overwrite python
      
      The result is that libvirt fails to find python3:
      
        checking for python3... no
        configure: error: 'python3' binary is required to build libvirt
      
      It is unclear what changed in Travis/HomeBrew to break our
      previously working setup, but running the suggested command
      fixes it well enough for libvirt's CI needs.
      Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
      db5d0499
    • J
      maint: update to latest gnulib · a8368b1c
      Ján Tomko 提交于
      Update to:
      
          commit 7d069378921bfa0d7c7198ea177aac0a2440016f
          Author:     Pádraig Brady <P@draigBrady.com>
          CommitDate: 2020-01-01 22:00:28 +0000
      
             md5, sha1, sha256, sha512: support --with-openssl=auto-gpl-compat
      Signed-off-by: NJán Tomko <jtomko@redhat.com>
      a8368b1c
  4. 25 12月, 2019 1 次提交
  5. 24 12月, 2019 2 次提交
    • N
      qemu: hide details of fake reboot · 6c6d93bc
      Nikolay Shirokovskiy 提交于
      If we use fake reboot then domain goes thru running->shutdown->running
      state changes with shutdown state only for short period of time.  At
      least this is implementation details leaking into API. And also there is
      one real case when this is not convinient. I'm doing a backup with the
      help of temporary block snapshot (with the help of qemu's API which is
      used in the newly created libvirt's backup API). If guest is shutdowned
      I want to continue to backup so I don't kill the process and domain is
      in shutdown state. Later when backup is finished I want to destroy qemu
      process. So I check if it is in shutdowned state and destroy it if it
      is. Now if instead of shutdown domain got fake reboot then I can destroy
      process in the middle of fake reboot process.
      
      After shutdown event we also get stop event and now as domain state is
      running it will be transitioned to paused state and back to running
      later. Though this is not critical for the described case I guess it is
      better not to leak these details to user too. So let's leave domain in
      running state on stop event if fake reboot is in process.
      
      Reconnection code handles this patch without modification. It detects
      that qemu is not running due to shutdown and then calls qemuProcessShutdownOrReboot
      which reboots as fake reboot flag is set.
      Signed-off-by: NNikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
      Reviewed-by: NCole Robinson <crobinso@redhat.com>
      6c6d93bc
    • Y
      Storage: Use errno parameter in virReportSystemError · 546e1c11
      Yi Li 提交于
      Use errno parameter in virReportSystemError.
      Remove hold function return values if don't need.
      Reviewed-by: NCole Robinson <crobinso@redhat.com>
      Signed-off-by: NYi Li <yili@winhong.com>
      546e1c11