1. 29 4月, 2015 1 次提交
    • F
      configure: Add support for tcmalloc · 2847b469
      Fam Zheng 提交于
      This adds "--enable-tcmalloc" and "--disable-tcmalloc" to allow linking
      to libtcmalloc from gperftools.
      
      tcmalloc is a malloc implementation that works well with threads and is
      fast, so it is good for performance.
      
      It is disabled by default, because the MALLOC_PERTURB_ flag we use in
      tests doesn't work with tcmalloc. However we can enable tcmalloc
      specific heap checker and profilers later.
      
      An IOPS gain can be observed with virtio-blk-dataplane, other parts of
      QEMU will directly benefit from it as well:
      
      ==========================================================
                             glibc malloc
      ----------------------------------------------------------
      rw         bs         iodepth    bw     iops       latency
      read       4k         1          150    38511      24
      ----------------------------------------------------------
      
      ==========================================================
                               tcmalloc
      ----------------------------------------------------------
      rw         bs         iodepth    bw     iops       latency
      read       4k         1          156    39969      23
      ----------------------------------------------------------
      Signed-off-by: NFam Zheng <famz@redhat.com>
      Message-Id: <1427338992-27057-1-git-send-email-famz@redhat.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      2847b469
  2. 13 4月, 2015 1 次提交
    • P
      Revert seccomp tests that allow it to be used on non-x86 architectures · ae6e8ef1
      Peter Maydell 提交于
      Unfortunately it turns out that libseccomp 2.2 still does not work
      correctly on non-x86 architectures; return to the previous configure
      setup of insisting on libseccomp 2.1 or better and i386/x86_64 and
      disabling seccomp support in all other situations.
      
      This reverts the two commits:
       * "seccomp: libseccomp version varying according to arch"
         (commit 896848f0)
       * "seccomp: update libseccomp version and remove arch restriction"
         (commit 8e27fc20)
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Message-id: 1428670681-23032-1-git-send-email-peter.maydell@linaro.org
      ae6e8ef1
  3. 10 4月, 2015 1 次提交
  4. 27 3月, 2015 1 次提交
  5. 25 3月, 2015 1 次提交
  6. 19 3月, 2015 1 次提交
  7. 17 3月, 2015 1 次提交
  8. 12 3月, 2015 2 次提交
  9. 07 2月, 2015 2 次提交
  10. 26 1月, 2015 1 次提交
  11. 20 1月, 2015 1 次提交
  12. 06 1月, 2015 1 次提交
  13. 10 12月, 2014 1 次提交
  14. 12 11月, 2014 1 次提交
  15. 02 11月, 2014 1 次提交
  16. 15 10月, 2014 1 次提交
  17. 30 9月, 2014 1 次提交
    • P
      configure: Build GDB XML for 32 bit ARM CPUs into qemu aarch64 binaries · 8f95ce2e
      Peter Maydell 提交于
      The qemu-aarch64 and qemu-system-aarch64 binaries include support
      for all the 32 bit ARM CPUs as well as the 64 bit ones. This means
      we need to build in the GDB XML files for the 32 bit CPUs too.
      Otherwise gdb will complain:
       warning: while parsing target description (at line 1): Could not load XML document "arm-core.xml"
      when you try to connect to our gdbserver to debug a 32 bit CPU
      running in a qemu-aarch64 or qemu-system-aarch64 binary.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Message-id: 1410533739-13836-1-git-send-email-peter.maydell@linaro.org
      8f95ce2e
  18. 29 9月, 2014 1 次提交
  19. 26 9月, 2014 1 次提交
  20. 22 9月, 2014 1 次提交
  21. 20 9月, 2014 2 次提交
  22. 19 9月, 2014 1 次提交
    • M
      tests: disable global props test for old glib · 9d41401b
      Michael S. Tsirkin 提交于
      follow-up patch moves global property tests to subprocesses.
      Unfortunately with old glib this causes:
      
      tests/test-qdev-global-props.c: In function
      ‘test_static_prop’:
      tests/test-qdev-global-props.c:80:5: error: implicit
      declaration of function ‘g_test_trap_subprocess’
      [-Werror=implicit-function-declaration]
      tests/test-qdev-global-props.c:80:5: error: nested extern
      declaration of ‘g_test_trap_subprocess’ [-Werror=nested-externs]
      
      This function was only added in glib 2.38, and our
      minimum version is 2.12.
      
      To fix, disable the test for glib < 2.38.
      
      Apply before that patch to avoid breaking bisect.
      Reported-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      9d41401b
  23. 15 9月, 2014 1 次提交
    • H
      configure: check for pixman-1 version · 236f282c
      Hu Tao 提交于
      commit a93a3af9 introduces use of PIXMAN_TYPE_RGBA, but it's only available
      in pixman >= 0.21.8. If pixman doesn't meet the version requirement, qemu
      will fail to build with following message:
      
      qemu/ui/qemu-pixman.c: In function ‘qemu_pixelformat_from_pixman’:
      qemu/ui/qemu-pixman.c:42: error: ‘PIXMAN_TYPE_RGBA’ undeclared (first use in this function)
      qemu/ui/qemu-pixman.c:42: error: (Each undeclared identifier is reported only once
      qemu/ui/qemu-pixman.c:42: error: for each function it appears in.)
      
      This patch fixes the problem by checking the pixman version.
      Signed-off-by: NHu Tao <hutao@cn.fujitsu.com>
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      236f282c
  24. 01 9月, 2014 2 次提交
  25. 24 8月, 2014 1 次提交
  26. 22 8月, 2014 2 次提交
  27. 15 8月, 2014 2 次提交
  28. 09 8月, 2014 1 次提交
    • M
      l2tpv3 (configure): it is linux-specific · bff6cb72
      Michael Tokarev 提交于
      Some non-linux systems, for example a system with
      FreeBSD kernel and glibc, may declare struct mmsghdr
      (in glibc) but may not have linux-specific header
      file linux/ip.h.  The actual implementation in qemu
      includes this linux-specific header file unconditionally,
      so compilation fails if it is not present.  Include
      this header in the configure test too.
      Signed-off-by: NMichael Tokarev <mjt@tls.msk.ru>
      bff6cb72
  29. 10 7月, 2014 1 次提交
    • M
      Enforce stack protector usage · 3b463a3f
      Miroslav Rezanina 提交于
      If --enable-stack-protector is used is used, configure script try to use
      --fstack-protector-strong. In case it's not supported, --fstack-protector-all
      is enabled. If both protectors are not supported, configure does not use
      any protector at all without any notification.
      
      This patch reports error when user requests stack protector to be used and
      both protector modes are not supported. Behavior is not changed in case
      user do not use any of --enable-stack-protector/--disable-stack-protector.
      Signed-off-by: NMiroslav Rezanina <mrezanin@redhat.com>
      [Fix non-POSIX operator in test. - Paolo]
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      3b463a3f
  30. 02 7月, 2014 1 次提交
  31. 01 7月, 2014 1 次提交
  32. 28 6月, 2014 1 次提交
  33. 25 6月, 2014 1 次提交
  34. 23 6月, 2014 1 次提交