1. 09 6月, 2016 11 次提交
  2. 20 5月, 2016 1 次提交
  3. 22 8月, 2015 1 次提交
  4. 11 8月, 2015 4 次提交
  5. 26 3月, 2015 1 次提交
  6. 02 3月, 2015 1 次提交
  7. 05 9月, 2014 1 次提交
  8. 29 1月, 2014 3 次提交
  9. 05 9月, 2013 1 次提交
  10. 17 8月, 2013 1 次提交
  11. 22 7月, 2013 1 次提交
    • J
      cpu: Let explicit features override model features · 67dfc772
      Jiri Denemark 提交于
      Until now CPU features inherited from a specified CPU model could only
      be overridden with 'disable' policy. With this patch, any explicitly
      specified feature always overrides the same feature inherited from a CPU
      model regardless on the specified policy.
      
      The CPU in x86-exact-force-Haswell.xml would previously be incompatible
      with x86-host-SandyBridge.xml CPU even though x86-host-SandyBridge.xml
      provides all features required by x86-exact-force-Haswell.xml.
      67dfc772
  12. 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
  13. 27 1月, 2012 1 次提交
    • P
      x86: add kvm32 and kvm64, update qemu64 · ef00a05e
      Paolo Bonzini 提交于
      Recently (or not so recently) QEMU added the kvm32 and kvm64
      architectures, representing a least common denominator of all
      hosts that can run KVM.  Add them to the machine map.
      
      Also, some features that TCG supports were added to qemu64.
      Add them to the cpu_map.xml whenever KVM is guaranteed to support
      those.  We still have to leave some out, because they would not
      be available to guests running on older hosts.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      ef00a05e
  14. 17 1月, 2012 3 次提交
    • J
      cpu: Update guest CPU in host-* mode · 277bc0dc
      Jiri Denemark 提交于
      VIR_DOMAIN_XML_UPDATE_CPU flag for virDomainGetXMLDesc may be used to
      get updated custom mode guest CPU definition in case it depends on host
      CPU. This patch implements the same behavior for host-model and
      host-passthrough CPU modes.
      277bc0dc
    • J
      Add support for cpu mode attribute · f7dd3a4e
      Jiri Denemark 提交于
      The mode can be either of "custom" (default), "host-model",
      "host-passthrough". The semantics of each mode is described in the
      following examples:
      
      - guest CPU is a default model with specified topology:
          <cpu>
            <topology sockets='1' cores='2' threads='1'/>
          </cpu>
      
      - guest CPU matches selected model:
          <cpu mode='custom' match='exact'>
            <model>core2duo</model>
          </cpu>
      
      - guest CPU should be a copy of host CPU as advertised by capabilities
        XML (this is a short cut for manually copying host CPU specification
        from capabilities to domain XML):
          <cpu mode='host-model'/>
      
        In case a hypervisor does not support the exact host model, libvirt
        automatically falls back to a closest supported CPU model and
        removes/adds features to match host. This behavior can be disabled by
          <cpu mode='host-model'>
            <model fallback='forbid'/>
          </cpu>
      
      - the same as previous returned by virDomainGetXMLDesc with
        VIR_DOMAIN_XML_UPDATE_CPU flag:
          <cpu mode='host-model' match='exact'>
            <model fallback='allow'>Penryn</model>       --+
            <vendor>Intel</vendor>                         |
            <topology sockets='2' cores='4' threads='1'/>  + copied from
            <feature policy='require' name='dca'/>         | capabilities XML
            <feature policy='require' name='xtpr'/>        |
            ...                                          --+
          </cpu>
      
      - guest CPU should be exactly the same as host CPU even in the aspects
        libvirt doesn't model (such domain cannot be migrated unless both
        hosts contain exactly the same CPUs):
          <cpu mode='host-passthrough'/>
      
      - the same as previous returned by virDomainGetXMLDesc with
        VIR_DOMAIN_XML_UPDATE_CPU flag:
          <cpu mode='host-passthrough' match='minimal'>
            <model>Penryn</model>                        --+ copied from caps
            <vendor>Intel</vendor>                         | XML but doesn't
            <topology sockets='2' cores='4' threads='1'/>  | describe all
            <feature policy='require' name='dca'/>         | aspects of the
            <feature policy='require' name='xtpr'/>        | actual guest CPU
            ...                                          --+
          </cpu>
      f7dd3a4e
    • J
      cpu: Optionally forbid fallback CPU models · a6f88cbd
      Jiri Denemark 提交于
      In case a hypervisor doesn't support the exact CPU model requested by a
      domain XML, we automatically fallback to a closest CPU model the
      hypervisor supports (and make sure we add/remove any additional features
      if needed). This patch adds 'fallback' attribute to model element, which
      can be used to disable this automatic fallback.
      a6f88cbd
  15. 01 12月, 2010 1 次提交