1. 08 3月, 2018 16 次提交
  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 22 次提交