1. 15 Apr, 2013 1 commit
    • Paolo Bonzini's avatar
      tpm: reorganize headers and split hardware part · bdee56f5
      Paolo Bonzini authored
      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: default avatarPaolo Bonzini <pbonzini@redhat.com>
  2. 08 Apr, 2013 1 commit
    • Peter Maydell's avatar
      configure: Don't fall back to gthread coroutine backend · 7c2acc70
      Peter Maydell authored
      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: default avatarPeter Maydell <peter.maydell@linaro.org>
      Message-id: 1365419487-19867-3-git-send-email-peter.maydell@linaro.org
      Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
  3. 12 Mar, 2013 1 commit
    • Stefan Berger's avatar
      Support for TPM command line options · d1a0cf73
      Stefan Berger authored
      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>
      ./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
      (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: default avatarStefan Berger <stefanb@linux.vnet.ibm.com>
      Reviewed-by: default avatarCorey Bryant <coreyb@linux.vnet.ibm.com>
      Reviewed-by: default avatarJoel Schopp <jschopp@linux.vnet.ibm.com>
      Message-id: 1361987275-26289-2-git-send-email-stefanb@linux.vnet.ibm.com
      Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
  4. 01 Mar, 2013 2 commits
  5. 18 Feb, 2013 1 commit
  6. 01 Feb, 2013 1 commit
  7. 26 Jan, 2013 4 commits
  8. 12 Jan, 2013 12 commits
  9. 08 Jan, 2013 1 commit
  10. 06 Jan, 2013 1 commit
  11. 23 Dec, 2012 1 commit
  12. 20 Dec, 2012 1 commit
  13. 19 Dec, 2012 5 commits
  14. 18 Nov, 2012 1 commit
  15. 16 Nov, 2012 1 commit
  16. 05 Nov, 2012 1 commit
  17. 01 Nov, 2012 1 commit
  18. 31 Oct, 2012 3 commits
  19. 30 Oct, 2012 1 commit
    • Paolo Bonzini's avatar
      aio: add Win32 implementation · f42b2207
      Paolo Bonzini authored
      The Win32 implementation will only accept EventNotifiers, thus a few
      drivers are disabled under Windows.  EventNotifiers are a good match
      for the GSource implementation, too, because the Win32 port of glib
      allows to place their HANDLEs in a GPollFD.
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>