1. 08 3月, 2018 9 次提交
  2. 07 3月, 2018 2 次提交
    • J
      qemu: report a nicer error when USB is disabled · 1cdc9ece
      Ján Tomko 提交于
      If the user tries to define a domain that has
      
        <controller type='usb' model='none'/>
      
      and also some USB devices, we report an error:
        error: internal error: No free USB ports
      
      Which is technically still correct for a domain with no USB ports.
      
      Change it to:
      
      USB is disabled for this domain, but USB devices are present in the domain XML
      
      https://bugzilla.redhat.com/show_bug.cgi?id=1347550Signed-off-by: NJán Tomko <jtomko@redhat.com>
      1cdc9ece
    • M
      qemuDomainObjBeginJob: Don't account DESTROY job to maxQueuedJobs · c1766641
      Michal Privoznik 提交于
      When trying to destroy a domain (e.g. because we've seen EOF on
      the monitor) we try to acquire QEMU_JOB_DESTROY. However, if
      max_queued is set in qemu.conf this may fail and since our code
      doesn't count on that we will still report domain as active even
      though the qemu process is long gone. More specifically, if we've
      seen EOF on the monitor, qemuProcessHandleMonitorEOF() is called
      which sends MONITOR_EOF job to the event worker pool and
      unregisters monitor from the event loop. The worker pool calls
      processMonitorEOFEvent() which tries to set job which may fail
      due to the limit as described above.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      c1766641
  3. 06 3月, 2018 27 次提交
  4. 05 3月, 2018 2 次提交
    • D
      Post-release version bump to 4.2.0 · 11c0aadb
      Daniel P. Berrangé 提交于
      Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
      11c0aadb
    • D
      travis: force install of python2 into $PATH on macOS · c9c9fc90
      Daniel P. Berrangé 提交于
      The homebrew formula's ignored Python PEP-0394 recommendations and
      changed the plain python binary in /usr/local/bin to point to Python 3
      instead of Python 2. Python 2 is not even installed into a location that
      is in $PATH by default anymore. The homebrew packages print a message
      to stderr claiming to provide a way to fix this
      
      [quote]
        This formula installs a python2 executable to /usr/local/opt/python@2/bin
      
        If you wish to have this formula's python executable in your PATH then add
      
        the following to ~/.bash_profile:
      
          export PATH="/usr/local/opt/python@2/libexec/bin:$PATH"
      [/quote]
      
      When trying to update $PATH are suggested we find out this message is a
      lie and /usr/local/opt/python@2 does not even exist, instead Python
      seems to end up in /usr/local/Cellar/python@2/2.7.14_1
      
      Rather than hardcoding this version specific directory in our travis
      config, we change to run "brew link --force python@2", to make it create
      symlinks in /usr/local/bin for the python2 binary.
      
      The original change triggering this problem was
      
        https://github.com/Homebrew/homebrew-core/pull/24604#issue-171653084
      
      There are countless bug reports against homebrew-core that are closed
      without fixes, so it seems they are determined to ignore the Python
      PEP 0394 recommendations on this.
      Reviewed-by: NAndrea Bolognani <abologna@redhat.com>
      Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
      c9c9fc90