1. 28 5月, 2018 1 次提交
  2. 16 10月, 2017 2 次提交
  3. 18 9月, 2017 2 次提交
  4. 19 4月, 2017 1 次提交
  5. 07 4月, 2017 1 次提交
    • J
      cpu: Introduce virCPUCopyMigratable · 05e91c79
      Jiri Denemark 提交于
      This new internal API makes a copy of virCPUDef while removing all
      features which would block migration. It uses cpu_map.xml as a database
      of such features, which should only be used as a fallback when we cannot
      get the data from a hypervisor. The main goal of this API is to decouple
      this filtering from virCPUUpdate so that the hypervisor driver can
      filter the features according to the hypervisor.
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      05e91c79
  6. 27 3月, 2017 5 次提交
  7. 23 3月, 2017 1 次提交
  8. 17 3月, 2017 1 次提交
    • J
      qemu: Update CPU definition according to QEMU · def9401a
      Jiri Denemark 提交于
      When starting a domain with custom guest CPU specification QEMU may add
      or remove some CPU features. There are several reasons for this, e.g.,
      QEMU/KVM does not support some requested features or the definition of
      the requested CPU model in libvirt's cpu_map.xml differs from the one
      QEMU is using. We can't really avoid this because CPU models are allowed
      to change with machine types and libvirt doesn't know (and probably
      doesn't even want to know) about such changes.
      
      Thus when we want to make sure guest ABI doesn't change when a domain
      gets migrated to another host, we need to update our live CPU definition
      according to the CPU QEMU created. Once updated, we will change CPU
      checking to VIR_CPU_CHECK_FULL to make sure the virtual CPU created
      after migration exactly matches the one on the source.
      
      https://bugzilla.redhat.com/show_bug.cgi?id=822148
      https://bugzilla.redhat.com/show_bug.cgi?id=824989Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      def9401a
  9. 14 3月, 2017 3 次提交
  10. 24 2月, 2017 1 次提交
  11. 22 2月, 2017 1 次提交
  12. 15 11月, 2016 7 次提交
  13. 22 9月, 2016 6 次提交
  14. 09 6月, 2016 3 次提交
  15. 11 5月, 2016 1 次提交
  16. 11 8月, 2015 1 次提交
  17. 05 8月, 2015 2 次提交
  18. 03 12月, 2014 1 次提交
    • D
      cpu-driver: Fix the cross driver function call · 86a15a25
      Daniel Hansel 提交于
      For Intel and PowerPC the implementation is calling a cpu driver
      function across driver layers (i.e. from qemu driver directly to cpu
      driver).
      The correct behavior is to use libvirt API functionality to perform such
      a inter-driver call.
      
      This patch introduces a new cpu driver API function getModels() to
      retrieve the cpu models. The currect implementation to process the
      cpu_map XML content is transferred to the INTEL and PowerPC cpu driver
      specific API functions.
      Additionally processing the cpu_map XML file is not safe due to the fact
      that the cpu map does not exist for all architectures. Therefore it is
      better to encapsulate the processing in the architecture specific cpu
      drivers.
      Signed-off-by: NDaniel Hansel <daniel.hansel@linux.vnet.ibm.com>
      Reviewed-by: NBoris Fiuczynski <fiuczy@linux.vnet.ibm.com>
      Reviewed-by: NViktor Mihajlovski <mihajlov@linux.vnet.ibm.com>
      86a15a25