1. 05 6月, 2018 4 次提交
  2. 29 5月, 2018 2 次提交
  3. 23 5月, 2018 1 次提交
  4. 16 5月, 2018 1 次提交
  5. 11 5月, 2018 2 次提交
  6. 07 5月, 2018 1 次提交
  7. 19 4月, 2018 1 次提交
  8. 17 4月, 2018 7 次提交
  9. 12 4月, 2018 2 次提交
  10. 03 4月, 2018 1 次提交
  11. 23 3月, 2018 1 次提交
  12. 19 2月, 2018 1 次提交
  13. 07 2月, 2018 1 次提交
  14. 06 2月, 2018 4 次提交
    • 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: 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
  15. 05 2月, 2018 1 次提交
  16. 06 12月, 2017 2 次提交
  17. 25 11月, 2017 2 次提交
  18. 24 11月, 2017 1 次提交
  19. 23 11月, 2017 1 次提交
    • P
      qemu: domain: Don't call namespace setup for storage already accessed by vm · 3746a38e
      Peter Krempa 提交于
      When doing block commit we need to allow write for members of the
      backing chain so that we can commit the data into them.
      
      qemuDomainDiskChainElementPrepare was used for this which since commit
      786d8d91 calls qemuDomainNamespaceSetupDisk which has very adverse
      side-effects, namely it relabels the nodes to the same label it has in
      the main namespace. This was messing up permissions for the commit
      operation since its touching various parts of a single backing chain.
      
      Since we are are actually not introducing new images at that point add a
      flag for qemuDomainDiskChainElementPrepare which will refrain from
      calling to the namespace setup function.
      
      Calls from qemuDomainSnapshotCreateSingleDiskActive and
      qemuDomainBlockCopyCommon do introduce new members all calls from
      qemuDomainBlockCommit do not, so the calls are anotated accordingly.
      
      Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1506072
      3746a38e
  20. 03 11月, 2017 3 次提交
    • A
      Remove backslash alignment attempts · 3e7db8d3
      Andrea Bolognani 提交于
      Right-aligning backslashes when defining macros or using complex
      commands in Makefiles looks cute, but as soon as any changes is
      required to the code you end up with either distractingly broken
      alignment or unnecessarily big diffs where most of the changes
      are just pushing all backslashes a few characters to one side.
      
      Generated using
      
        $ git grep -El '[[:blank:]][[:blank:]]\\$' | \
          grep -E '*\.([chx]|am|mk)$$' | \
          while read f; do \
            sed -Ei 's/[[:blank:]]*[[:blank:]]\\$/ \\/g' "$f"; \
          done
      Signed-off-by: NAndrea Bolognani <abologna@redhat.com>
      3e7db8d3
    • P
      qemu: domain: Remove pointless alias check · beb1661f
      Peter Krempa 提交于
      When attaching the disks, aliases are always generated.
      beb1661f
    • P
      qemu: domain: Simplify using DAC permissions of top of backing chain · 2b757b96
      Peter Krempa 提交于
      qemuDomainGetImageIds and qemuDomainStorageFileInit are helpful when
      trying to access a virStorageSource from the qemu driver since they
      figure out the correct uid and gid for the image.
      
      When accessing members of a backing chain the permissions for the top
      level would be used. To allow using specific permissions per backing
      chain level but still allow inheritance from the parent of the chain we
      need to add a new parameter to the image ID APIs.
      2b757b96
  21. 26 10月, 2017 1 次提交
    • J
      qemu: Add pause-before-switchover migration capability · 6addde24
      Jiri Denemark 提交于
      This new capability enables a pause before device state serialization so
      that we can finish all block jobs without racing with the end of the
      migration. The pause is indicated by "pre-switchover" state. Once we're
      done QEMU enters "device" migration state.
      
      This patch just defines the new capability and QEMU migration states and
      their mapping to our job states.
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      6addde24