1. 15 11月, 2018 20 次提交
  2. 14 11月, 2018 5 次提交
  3. 13 11月, 2018 3 次提交
  4. 12 11月, 2018 3 次提交
  5. 09 11月, 2018 2 次提交
  6. 08 11月, 2018 5 次提交
  7. 07 11月, 2018 2 次提交
    • J
      qemu: Narrow the shutdown reconnection failure reason window · 8f0f8425
      John Ferlan 提交于
      The current qemuProcessReconnect logic paints a broad brush
      determining that the shutdown reason must be crashed if it was
      determined that the domain was started with -no-shutdown; however,
      there's many other ways to get to the error label, so let's narrow
      our reasoning window for using VIR_DOMAIN_SHUTOFF_CRASHED to the
      period where we essentially know we've tried to create to the
      monitor and before we were successful in opening the connection.
      
      Failures that occur outside that window would thus be considered
      as VIR_DOMAIN_SHUTOFF_UNKNOWN, at least for now.
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      ACKed-by: NMichal Privoznik <mprivozn@redhat.com>
      8f0f8425
    • J
      qemu: Restore lost shutdown reason · 296e05b5
      John Ferlan 提交于
      When qemuProcessReconnectHelper was introduced (commit d38897a5)
      reconnection failure used VIR_DOMAIN_SHUTOFF_FAILED; however, that
      was changed in commit bda2f17d to either VIR_DOMAIN_SHUTOFF_CRASHED
      or VIR_DOMAIN_SHUTOFF_UNKNOWN.
      
      When QEMU_CAPS_NO_SHUTDOWN checking was removed in commit fe35b1ad
      the conditional state was just left at VIR_DOMAIN_SHUTOFF_CRASHED.
      
      So introduce qemuDomainIsUsingNoShutdown which will manage the
      condition when the domain was started with -no-shutdown so that
      when/if reconnection failure occurs we can restore the decision
      point used to determine whether CRASHED or UNKNOWN is provided.
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      ACKed-by: NMichal Privoznik <mprivozn@redhat.com>
      296e05b5