1. 07 5月, 2013 1 次提交
    • E
      target-i386: Add "feature-words" property to X86CPU · 8e8aba50
      Eduardo Habkost 提交于
      This property will be useful for libvirt, as libvirt already has logic
      based on low-level feature bits (not feature names), so it will be
      really easy to convert the current libvirt logic to something using the
      "feature-words" property.
      
      The property will have two main use cases:
       - Checking host capabilities, by checking the features of the "host"
         CPU model
       - Checking which features are enabled on each CPU model
      
      Example output:
      
        $ ./QMP/qmp --path=/tmp/m \
          qom-get --path=/machine/icc-bridge/icc/child[0] \
                  --property=feature-words
        item[0].cpuid-register: EDX
        item[0].cpuid-input-eax: 2147483658
        item[0].features: 0
        item[1].cpuid-register: EAX
        item[1].cpuid-input-eax: 1073741825
        item[1].features: 0
        item[2].cpuid-register: EDX
        item[2].cpuid-input-eax: 3221225473
        item[2].features: 0
        item[3].cpuid-register: ECX
        item[3].cpuid-input-eax: 2147483649
        item[3].features: 101
        item[4].cpuid-register: EDX
        item[4].cpuid-input-eax: 2147483649
        item[4].features: 563346425
        item[5].cpuid-register: EBX
        item[5].cpuid-input-eax: 7
        item[5].features: 0
        item[5].cpuid-input-ecx: 0
        item[6].cpuid-register: ECX
        item[6].cpuid-input-eax: 1
        item[6].features: 2155880449
        item[7].cpuid-register: EDX
        item[7].cpuid-input-eax: 1
        item[7].features: 126614521
      Signed-off-by: NEduardo Habkost <ehabkost@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      Signed-off-by: NAndreas Färber <afaerber@suse.de>
      8e8aba50
  2. 24 4月, 2013 1 次提交
  3. 16 4月, 2013 1 次提交
    • P
      tpm: reorganize headers and split hardware part · bdee56f5
      Paolo Bonzini 提交于
      The TPM subsystem does not have a full front-end/back-end separation.
      The sole available backend, tpm_passthrough, depends on the data
      structures of the sole available frontend, tpm_tis.
      
      However, we can at least try to split the user interface (tpm.c) from the
      implementation (hw/tpm).  The patches makes tpm.c not include tpm_int.h,
      which is shared between tpm_tis.c and tpm_passthrough.c; instead it
      moves more stuff to tpm_backend.h.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      bdee56f5
  4. 08 4月, 2013 1 次提交
    • P
      configure: Don't fall back to gthread coroutine backend · 7c2acc70
      Peter Maydell 提交于
      The gthread coroutine backend is broken and does not produce a working
      QEMU; it is only useful for some very limited debugging situations.
      Clean up the backend selection logic in configure so that it now runs
      "if on windows use windows; else prefer ucontext; else sigaltstack".
      
      To do this we refactor the configure code to separate out "test
      whether we have a working ucontext", "pick a default if user didn't
      specify" and "validate that user didn't specify something invalid",
      rather than having all three of these run together. We also simplify
      the Makefile logic so it just links in the backend the configure
      script selects.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Message-id: 1365419487-19867-3-git-send-email-peter.maydell@linaro.org
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      7c2acc70
  5. 13 3月, 2013 1 次提交
    • S
      Support for TPM command line options · d1a0cf73
      Stefan Berger 提交于
      This patch adds support for TPM command line options.
      The command line options supported here are
      
      ./qemu-... -tpmdev passthrough,path=<path to TPM device>,id=<id>
                 -device tpm-tis,tpmdev=<id>,id=<other id>
      
      and
      
      ./qemu-... -tpmdev help
      
      where the latter works similar to -soundhw help and shows a list of
      available TPM backends (for example 'passthrough').
      
      Using the type parameter, the backend is chosen, i.e., 'passthrough' for the
      passthrough driver. The interpretation of the other parameters along
      with determining whether enough parameters were provided is pushed into
      the backend driver, which needs to implement the interface function
      'create' and return a TPMDriverOpts structure if the VM can be started or
      'NULL' if not enough or bad parameters were provided.
      
      Monitor support for 'info tpm' has been added. It for example prints the
      following:
      
      (qemu) info tpm
      TPM devices:
       tpm0: model=tpm-tis
        \ tpm0: type=passthrough,path=/dev/tpm0,cancel-path=/sys/devices/pnp0/00:09/cancel
      Signed-off-by: NStefan Berger <stefanb@linux.vnet.ibm.com>
      Reviewed-by: NCorey Bryant <coreyb@linux.vnet.ibm.com>
      Reviewed-by: NJoel Schopp <jschopp@linux.vnet.ibm.com>
      Message-id: 1361987275-26289-2-git-send-email-stefanb@linux.vnet.ibm.com
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      d1a0cf73
  6. 01 3月, 2013 2 次提交
  7. 18 2月, 2013 1 次提交
  8. 01 2月, 2013 1 次提交
  9. 26 1月, 2013 4 次提交
  10. 13 1月, 2013 12 次提交
  11. 09 1月, 2013 1 次提交
  12. 06 1月, 2013 1 次提交
  13. 24 12月, 2012 1 次提交
  14. 21 12月, 2012 1 次提交
  15. 19 12月, 2012 5 次提交
  16. 19 11月, 2012 1 次提交
  17. 16 11月, 2012 1 次提交
  18. 05 11月, 2012 1 次提交
  19. 01 11月, 2012 1 次提交
  20. 31 10月, 2012 2 次提交