1. 26 1月, 2009 1 次提交
  2. 24 1月, 2009 1 次提交
  3. 17 1月, 2009 2 次提交
  4. 16 1月, 2009 2 次提交
    • A
      report issues causing the kvm probe to fail (Christian Ehrhardt) · 9fd8d8d7
      aliguori 提交于
      The patch applies to upstream qemu as well as kvm-userspace, but since it is
      the qemu configure script I think it should go to upstream qemu (Anthony)
      first and with the next merge to kvm-userspace. On the other hand it is the kvm
      probe so an ack from Avi in case v3 is ok would be reasonable.
      
      *updates*
      v2 - it also reports other errors than just #error preprocessor statements
           (requested by Avi)
      v3 - In case awk or grep is not installed it now gracfully (silently)
           fails still disabling kvm (requested by Anthony)
      
      This patch is about reporting more details of the issue if configuring kvm
      fails. Therefore this patch keeps the qemu style configure output which is a
      list of "$Feature $Status", but extend the "no" result like "KVM Support no"
      with some more information.
      
      There might be a lot of things going wrong with that probe and I don't want
      to handle all of them, but if it is one of the known checks e.g. for
      KVM_API_VERSION then we could grep/awk that out and report it. The patch
      reports in case of a known case in the style
      "KVM support no - (Missing KVM capability KVM_CAP_DESTROY_MEMORY_REGION_WORKS)"
      
      In case more than one #error is triggered it creates a comma separated list in
      those brackets and in case it is something else than an #error it just reports
      plain old "no".
      Signed-off-by: NChristian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6334 c046a42c-6fe2-441c-8c8c-71466251a162
      9fd8d8d7
    • A
      Fix kvm configure test for PPC · 406b430d
      aliguori 提交于
      QEMU uses "ppc" whereas Linux uses "powerpc".
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6326 c046a42c-6fe2-441c-8c8c-71466251a162
      406b430d
  5. 15 1月, 2009 2 次提交
  6. 10 1月, 2009 1 次提交
  7. 09 1月, 2009 1 次提交
  8. 08 1月, 2009 1 次提交
  9. 07 1月, 2009 1 次提交
  10. 01 1月, 2009 1 次提交
  11. 30 12月, 2008 1 次提交
    • A
      Parse --cc and --cross-prefix earlier and use CC to determine cpu and host · ac0df51d
      aliguori 提交于
      We have been relying on uname to determine the host cpu architecture and
      operating system.  This is totally broken for cross compilation.  It was
      workable in the past because you can manually override both settings but after
      the host USB passthrough refactoring, cross host builds were broken.
      
      This moves the parsing of --cc and --cross-prefix to before the probes for cpu
      and host.  Complation testing is used to determine the host and CPU types.  I've
      only added checks for i386, x86_64, Linux, and Windows since these are the only
      platforms I have access to for testing.  Everything else falls back to uname.
      
      It should be relatively easy to add the right checks for other platforms and
      eliminate uname altogether.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6141 c046a42c-6fe2-441c-8c8c-71466251a162
      ac0df51d
  12. 18 12月, 2008 1 次提交
  13. 16 12月, 2008 3 次提交
  14. 15 12月, 2008 2 次提交
  15. 13 12月, 2008 2 次提交
    • A
      Make sure to link librt if we need to. · da93a1fd
      aliguori 提交于
      This is really a stop-gap.  The recent thread pool changes uncovered a 
      deeper issue with how we use librt.  We really should be probing for 
      timer_create and then conditionally enabling that code.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5997 c046a42c-6fe2-441c-8c8c-71466251a162
      da93a1fd
    • A
      Replace posix-aio with custom thread pool · 3c529d93
      aliguori 提交于
      glibc implements posix-aio as a thread pool and imposes a number of limitations.
      
      1) it limits one request per-file descriptor.  we hack around this by dup()'ing
      file descriptors which is hideously ugly
      
      2) it's impossible to add new interfaces and we need a vectored read/write
      operation to properly support a zero-copy API.
      
      What has been suggested to me by glibc folks, is to implement whatever new
      interfaces we want and then it can eventually be proposed for standardization.
      This requires that we implement our own posix-aio implementation though.
      
      This patch implements posix-aio using pthreads.  It immediately eliminates the
      need for fd pooling.
      
      It performs at least as well as the current posix-aio code (in some
      circumstances, even better).
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5996 c046a42c-6fe2-441c-8c8c-71466251a162
      3c529d93
  16. 10 12月, 2008 1 次提交
  17. 09 12月, 2008 1 次提交
  18. 08 12月, 2008 4 次提交
  19. 07 12月, 2008 2 次提交
  20. 06 12月, 2008 2 次提交
  21. 30 11月, 2008 2 次提交
  22. 27 11月, 2008 1 次提交
  23. 23 11月, 2008 3 次提交
  24. 18 11月, 2008 1 次提交
  25. 06 11月, 2008 1 次提交