1. 05 10月, 2012 1 次提交
  2. 26 9月, 2012 1 次提交
  3. 22 9月, 2012 3 次提交
  4. 17 9月, 2012 1 次提交
  5. 16 9月, 2012 9 次提交
  6. 15 9月, 2012 1 次提交
  7. 14 9月, 2012 1 次提交
  8. 13 9月, 2012 2 次提交
  9. 11 9月, 2012 3 次提交
  10. 10 9月, 2012 2 次提交
  11. 09 9月, 2012 1 次提交
    • C
      qemu: Use valgrind annotations to mark kvm guest memory as defined · 62fe8331
      Christian Borntraeger 提交于
      valgrind with kvm produces a big amount of false positives regarding
      "Conditional jump or move depends on uninitialised value(s)". This
      happens because the guest memory is allocated with qemu_vmalloc which
      boils down posix_memalign etc. This function is (correctly) considered
      by valgrind as returning undefined memory.
      
      Since valgrind is based on jitting code, it will not be able to see
      changes made by the guest to guest memory if this is done by KVM_RUN,
      thus keeping most of the guest memory undefined.
      
      Now lots of places in qemu will then use guest memory to change behaviour.
      To avoid the flood of these messages, lets declare the whole guest
      memory as defined. This will reduce the noise and allows us to see real
      problems.
      
      In the future we might want to make this conditional, since there
      is actually something that we can use those false positives for:
      These messages will point to code that depends on guest memory, so
      we can use these backtraces to actually make an audit that is focussed
      only at those code places. For normal development we dont want to
      see those messages, though.
      Signed-off-by: NChristian Borntraeger <borntraeger@de.ibm.com>
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      62fe8331
  12. 05 9月, 2012 2 次提交
  13. 22 8月, 2012 1 次提交
  14. 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
  15. 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
  16. 15 8月, 2012 1 次提交
  17. 14 8月, 2012 1 次提交
  18. 11 8月, 2012 3 次提交
  19. 09 8月, 2012 1 次提交
  20. 04 8月, 2012 1 次提交