1. 22 8月, 2012 1 次提交
  2. 17 8月, 2012 4 次提交
    • E
      Adding support for libseccomp in configure and Makefile (v8) · f794573e
      Eduardo Otubo 提交于
      Adding basic options to the configure script to use libseccomp or not.
      The default is set to 'no'. If the flag --enable-libseccomp is used, the
      script will check for its existence using pkg-config.
      Signed-off-by: NEduardo Otubo <otubo@linux.vnet.ibm.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      ---
      v1 -> v2:
       - As I removed all the code related to seccomp from vl.c, I created
         qemu-seccomp.[ch].
       - Also making the configure script to add the specific line to
         Makefile.obj in order to compile with appropriate support to seccomp.
      
      v2 -> v3:
       - Removing the line from Makefile.obj and adding it to Makefile.objs.
       - Marking libseccomp default option to 'yes' in the configure script.
      
      v3 -> v8:
       - fix configure probe if libseccomp isn't available (aliguori)
      f794573e
    • P
      Support using a different compiler for Objective-C files · 3c4a4d0d
      Peter Maydell 提交于
      MacOSX 10.8 ("Mountain Lion") requires us to compile our one
      Objective-C source file with clang even if the rest of QEMU
      requires a real gcc, because the system headers we use make
      use of Apple's "Blocks" extension to C/ObjC, and mainline
      gcc doesn't support that. Since we only need to use a true
      gcc for the parts of QEMU that use the fixed-register
      env variable, we can simply use clang to build the ObjC
      file: it will link to the gcc-built objects with no problems.
      
      Add the necessary support for an OBJCC variable in the
      makefile and configure machinery; we default to clang
      if we have it, otherwise whatever CC is (since gcc
      might be the Apple gcc which does support Blocks).
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      3c4a4d0d
    • P
      configure: Define OS_OBJECT_USE_OBJC=0 for MacOSX builds · a0b7cf6b
      Peter Maydell 提交于
      MacOSX 10.8 ("Mountain Lion") defaults to trying to use automated
      reference counting on certain objects.  This means that the system
      header files will use some Objective C syntax constructs even when
      compiling pure C, which confuses mainline gcc. Suppress this by
      setting OS_OBJECT_USE_OBJC=0. This avoids a compile error like this:
      
      In file included from
      /System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:5:0,
                       from /usr/include/os/object.h:74,
                       from /usr/include/dispatch/dispatch.h:48,
                       from /System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h:56,
                       from block/raw-posix.c:35:
      /System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:409:1: error: stray ‘@’ in program
      [with a large number of further run-on errors]
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      a0b7cf6b
    • P
      configure: Don't override user's --cpu on MacOS and Solaris · bbea4050
      Peter Maydell 提交于
      Both MacOS and Solaris have special case handling for the CPU
      type, because the check_define probes will return i386 even if
      the hardware is 64 bit and x86_64 would be preferable. Move
      these checks earlier in the configure probing so that we can
      do them only if the user didn't specify a CPU with --cpu. This
      fixes a bug where the user's command line argument was being
      ignored.
      Reviewed-by: NAndreas F=E4rber <afaerber@suse.de>
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      bbea4050
  3. 16 8月, 2012 1 次提交
    • J
      audio: Make pcspk card selectable again · 5a4d701a
      Jan Kiszka 提交于
          [ The following text is in the "ISO-8859-1" character set. ]
          [ Your display is set for the "KOI8-R" character set.  ]
          [ Some special characters may be displayed incorrectly. ]
      
      Since we moved pcspk into hwlib, CONFIG_PCSPK is no longer defined per
      target. Therefore, statically built soundhw array in arch_init.c stopped
      including this card.
      
      Work around this by re-adding this define to config-target.mak.
      Long-term, a dynamic creation of this soundhw list will be necessary.
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      Signed-off-by: Nmalc <av1474@comtv.ru>
      5a4d701a
  4. 15 8月, 2012 1 次提交
  5. 14 8月, 2012 1 次提交
  6. 11 8月, 2012 3 次提交
  7. 09 8月, 2012 1 次提交
  8. 04 8月, 2012 2 次提交
  9. 01 8月, 2012 13 次提交
  10. 28 7月, 2012 2 次提交
  11. 20 7月, 2012 2 次提交
  12. 17 7月, 2012 1 次提交
  13. 14 7月, 2012 1 次提交
    • A
      configure: add -Werror to QEMU_CFLAGS early · 417c9d72
      Alexander Graf 提交于
      We want all configure tests pass with -Werror if it is enabled. So we
      need to update QEMU_CFLAGS early on to make sure we also pass it in to
      all the compile test jobs.
      
      This fixes a warning-became-error bug in nss for me with the default
      configuration:
      
      In file included from /usr/include/nss3/pkcs11t.h:1780,
                       from /usr/include/nss3/keythi.h:41,
                       from /usr/include/nss3/keyt.h:41,
                       from /usr/include/nss3/pk11pub.h:43,
                       from libcacard/vcard_emul_nss.c:21:
      /usr/include/nss3/pkcs11n.h:365:26: error: "__GNUC_MINOR" is not defined
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      Acked-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      417c9d72
  14. 12 7月, 2012 1 次提交
    • P
      ARM: Make target_phys_addr_t 64 bits and physaddrs 40 bits · 3cc0cd61
      Peter Maydell 提交于
      Make target_phys_addr_t 64 bits for ARM targets, and set
      TARGET_PHYS_ADDR_SPACE_BITS to 40.  This should have no effect for ARM
      boards where physical addresses really are 32 bits (except perhaps a
      slight performance hit on 32 bit hosts for system emulation) but allows
      us to implement the Large Physical Address Extensions for Cortex-A15,
      which mean 40 bit physical addresses.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      3cc0cd61
  15. 02 7月, 2012 1 次提交
  16. 28 6月, 2012 2 次提交
  17. 24 6月, 2012 1 次提交
  18. 22 6月, 2012 2 次提交