1. 02 7月, 2015 21 次提交
  2. 26 3月, 2015 1 次提交
  3. 04 2月, 2015 1 次提交
    • O
      cpu: add Freescale ppc64 CPU models · 5a1998d3
      Olivia Yin 提交于
      With this patch, Freescale ppc64 CPU modesl could be recognized.
      
      virsh # cpu-models ppc64
      POWERPC_e6500
      POWERPC_e5500
      power8
      power8e
      power7+
      power7
      power6
      POWER8_v1.0
      POWER7+_v2.1
      POWER7_v2.3
      POWER7_v2.1
      POWER7
      
      virsh # capabilities
      <capabilities>
        <host>
          <uuid>5a54efa6-20dc-4da7-b271-0b7fb7062cb8</uuid>
          <cpu>
            <arch>ppc64</arch>
            <model>POWERPC_e6500</model>
            <vendor>Freescale</vendor>
      5a1998d3
  4. 07 11月, 2014 1 次提交
    • P
      PowerPC:Improve PVR handling to fall back to cpu generation. · 1e911742
      Prerna Saxena 提交于
      IBM Power processors differ uniquely across generations (such as power6,
      power7, power8). Each generation signifies a new PowerISA version
      that exhibits features unique to that generation.
      The higher 16 bits of PVR for IBM Power processors encode the CPU
      generation, while the CPU chip (sub)version is encoded in lower 16 bits.
      
      For all practical purposes of launching a VM, we care about the
      generation which the vCPU will belong to, and not specifically the chip
      version. This patch updates the libvirt PVR check to reflect this
      relationship. It allows libvirt to select the right CPU generation
      in case the exact match for a a specific CPU is not found.
      Hence, there will no longer be a need to add each PowerPC CPU model to
      cpu_map.xml; just adding entry for the matching ISA generation will
      suffice.
      
      It also contains changes to cpu_map.xml since processor generations
      as understood by QEMU compat mode go as "power6", "power7" or "power8"
      [Reference : QEMU commit 8dfa3a5e85 ]
      Signed-off-by: NPrerna Saxena <prerna@linux.vnet.ibm.com>
      Signed-off-by: NPradipta Kr. Banerjee <bpradip@in.ibm.com>
      Signed-off-by: NAnton Blanchard <anton@samba.org>
      Reviewed-by: NMichal Privoznik <mprivozn@redhat.com>
      1e911742
  5. 05 9月, 2014 1 次提交
  6. 02 7月, 2014 1 次提交
  7. 27 6月, 2014 1 次提交
  8. 14 8月, 2013 1 次提交
  9. 19 4月, 2013 2 次提交
    • J
      cpu: Remove hardcoded list of PowerPC models · 7a4f1238
      Jiri Denemark 提交于
      The cpu_map.xml file is there to separate CPU model definitions from the
      code. Having the only interesting data for PowerPC models only in the
      source code. This patch moves this data to the XML file and removes the
      hardcoded list completely.
      7a4f1238
    • J
      cpu: Fix loading PowerPC vendor from cpu_map.xml · ba8ba247
      Jiri Denemark 提交于
      When ppcVendorLoad fails to parse the vendor element for whatever
      reason, it is supposed to ignore it and return 0 rather than -1. The
      patch also removes PowerPC vendor string from the XML as it is not
      actually used for anything.
      ba8ba247
  10. 26 11月, 2012 1 次提交
    • P
      cpu: Add Intel Haswell cpu model · bb2704e7
      Peter Krempa 提交于
      The new model supports following features in addition to those supported
      by SandyBridge:
      
      fma, pcid, movbe, fsgsbase, bmi1, hle, avx2, smep, bmi2, erms, invpcid,
      rtm
      bb2704e7
  11. 03 11月, 2012 2 次提交
  12. 30 10月, 2012 1 次提交
  13. 24 10月, 2012 1 次提交
    • P
      cpu: Add recently added cpu feature flags. · 012f9b19
      Peter Krempa 提交于
      Qemu has added some new feature flags. This patch adds them to libvirt.
      
      The new features are for the cpuid function 0x7 that takes an argument
      in the ecx register. Currently only 0x0 is used as the argument so I was
      lazy and I just clear the registers to 0 before calling cpuid. In future
      when there maybe will be some other possible arguments, we will need to
      improve the cpu detection code to take this into account.
      012f9b19
  14. 17 10月, 2012 1 次提交
  15. 20 3月, 2012 1 次提交
    • M
      Cpu mapping cleanup · d675a922
      Martin Kletzander 提交于
      Using inheritance, this patch cleans up the cpu_map.xml file and also
      sorts all CPU features according to the feature and registry
      values. Model features are sorted the same way as foeatures in the
      specification.
      Also few models that are related were organized together and parts of
      the XML are marked with comments
      d675a922
  16. 14 3月, 2012 1 次提交
  17. 13 3月, 2012 1 次提交
    • M
      Added support for AMD Bulldozer CPU · 0ba86207
      Martin Kletzander 提交于
      AMD Bulldozer (or Opteron_G4 as called in QEMU) was added to the list
      of cpu models, flags were taken from upstream qemu cpu specifications
      and should be sorted by bit values (or first occurence in the feature
      specification part of cpu_map.xml).
      
      Based on QEMU upstream commit 885bb0369a4f0abe2c0185178f3cb347cb02cdf1.
      0ba86207
  18. 09 3月, 2012 1 次提交
    • M
      Removed more AMD-specific features from cpu64-rhel* models · 19e23502
      Martin Kletzander 提交于
      We found few more AMD-specific features in cpu64-rhel* models that
      made it impossible to start qemu guest on Intel host (with this
      setting) even though qemu itself starts correctly with them.
      This impacts one test, thus the fix in tests/cputestdata/.
      19e23502