1. 06 2月, 2018 5 次提交
    • J
      qemu: Introduce qemuProcessHandleDumpCompleted · 3455a735
      John Ferlan 提交于
      Handle a DUMP_COMPLETED event processing the status, stats, and
      error string. Use the @status in order to copy the error that
      was generated whilst processing the @stats data. If an error was
      provided by QEMU, then use that instead.
      
      If there's no async job, we can just ignore the data.
      Reviewed-by: NJiri Denemark <jdenemar@redhat.com>
      3455a735
    • J
      qemu: Add support for DUMP_COMPLETED event · fd1a9e5c
      John Ferlan 提交于
      The event will be fired when the domain memory only dump completes.
      
      Fill in a return buffer to store/pass along the dump statistics that
      will be eventually shared by a query-dump command. Also pass along
      the status of the filling and any possible error received.
      Reviewed-by: NJiri Denemark <jdenemar@redhat.com>
      fd1a9e5c
    • J
      qemu: Introduce QEMU_DOMAIN_JOB_STATS_TYPE_MEMDUMP · 2a4d847e
      John Ferlan 提交于
      Define the qemuMonitorDumpStats as a new job JobStatsType to handle
      being able to get memory dump statistics. For now do nothing with
      the new TYPE_MEMDUMP.
      Reviewed-by: NJiri Denemark <jdenemar@redhat.com>
      2a4d847e
    • J
      qemu: Introduce QEMU_DOMAIN_JOB_STATS_TYPE_SAVEDUMP · 9d73df98
      John Ferlan 提交于
      Add a TYPE_SAVEDUMP so that when coalescing stats for a save or
      dump we don't needlessly try to get the mirror stats for a migration.
      Other conditions can still use MIGRATION and SAVEDUMP interchangably
      including usage of the @migStats field to fetch/store the data.
      Reviewed-by: NJiri Denemark <jdenemar@redhat.com>
      9d73df98
    • J
      qemu: Convert jobInfo stats into a union · 93412bb8
      John Ferlan 提交于
      Convert the stats field in _qemuDomainJobInfo to be a union. This
      will allow for the collection of various different types of stats
      in the same field.
      
      When starting the async job that will end up being used for stats,
      set the @statsType value appropriately. The @mirrorStats are
      special and are used with stats.mig in order to generate the
      returned job stats for a migration.
      
      Using the NONE should avoid the possibility that some random
      async job would try to return stats for migration even though
      a migration is not in progress.
      
      For now a migration and a save job will use the same statsType
      Reviewed-by: NJiri Denemark <jdenemar@redhat.com>
      93412bb8
  2. 05 2月, 2018 10 次提交
  3. 03 2月, 2018 20 次提交
  4. 02 2月, 2018 5 次提交