1. 25 9月, 2019 1 次提交
  2. 19 9月, 2019 4 次提交
  3. 18 9月, 2019 2 次提交
  4. 12 9月, 2019 2 次提交
  5. 06 9月, 2019 2 次提交
  6. 23 8月, 2019 1 次提交
  7. 14 8月, 2019 1 次提交
  8. 07 8月, 2019 2 次提交
  9. 26 7月, 2019 1 次提交
    • J
      qemu: Translate features in virQEMUCapsGetCPUFeatures · 1fd28a2e
      Jiri Denemark 提交于
      Starting with QEMU 4.1 qemuMonitorCPUModelInfo structure in virQEMUCaps
      stores only canonical feature names which may differ from the name used
      by libvirt. We need translate these canonical names into libvirt names
      for further consumption.
      
      This fixes a bug in qemuConnectBaselineHypervisorCPU which would remove
      all features for which libvirt's spelling differs from the QEMU's
      preferred name. For example, the following result of
      qemuConnectBaselineHypervisorCPU on my host with QEMU 4.1 is wrong:
      
          <cpu mode='custom' match='exact'>
            <model fallback='forbid'>Skylake-Client</model>
            <vendor>Intel</vendor>
            <feature policy='require' name='ss'/>
            <feature policy='require' name='vmx'/>
            <feature policy='require' name='hypervisor'/>
            <feature policy='require' name='clflushopt'/>
            <feature policy='require' name='umip'/>
            <feature policy='require' name='arch-capabilities'/>
            <feature policy='require' name='xsaves'/>
            <feature policy='require' name='pdpe1gb'/>
            <feature policy='require' name='invtsc'/>
            <feature policy='disable' name='pclmuldq'/>
            <feature policy='disable' name='lahf_lm'/>
          </cpu>
      
      The 'pclmuldq' and 'lahf_lm' should not be disabled in the baseline CPU
      as they are supported by QEMU on this host.
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      Reviewed-by: NAndrea Bolognani <abologna@redhat.com>
      1fd28a2e
  10. 15 7月, 2019 1 次提交
  11. 20 6月, 2019 10 次提交
  12. 12 6月, 2019 1 次提交
    • E
      backup: Add two new qemu capabilities · 6abda7a4
      Eric Blake 提交于
      Add two capabilities for testing features required for the upcoming
      virDomainBackupBegin: use block-dirty-bitmap-merge as the generic
      witness of bitmap support needed for checkpoints (since all of the
      bitmap management functionalities were finalized in the same qemu 4.0
      release), and the bitmap parameter to nbd-server-add for pull-mode
      backup support.  Even though both capabilities are likely to be
      present or absent together (that is, it is unlikely to encounter a
      qemu that backports only one of the two), it still makes sense to keep
      two capabilities as the two uses are orthogonal (full backups don't
      require checkpoints, push mode backups don't require NBD bitmap
      support, and checkpoints can be used for more than just incremental
      backups).
      
      Existing code is not affected by the new capabilities.
      Signed-off-by: NEric Blake <eblake@redhat.com>
      Acked-by: NPeter Krempa <pkrempa@redhat.com>
      6abda7a4
  13. 04 6月, 2019 1 次提交
    • J
      qemu: Make virQEMUCapsProbeHostCPUForEmulator more generic · dd3fc650
      Jiri Denemark 提交于
      The function is renamed as virQEMUCapsProbeHostCPU and it does not get
      the list of allowed CPU models from qemuCaps anymore. This is
      responsibility is moved to the caller. The result is just a very thin
      wrapper around virCPUGetHost mostly required mocking in tests.
      
      The generic function is used in place of a direct call to virCPUGetHost
      in virQEMUCapsInitHostCPUModel to make sure tests don't accidentally
      probe host CPU.
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      dd3fc650
  14. 03 6月, 2019 1 次提交
  15. 17 5月, 2019 5 次提交
  16. 25 4月, 2019 1 次提交
  17. 15 4月, 2019 2 次提交
  18. 12 4月, 2019 2 次提交