Skip to content
Snippets Groups Projects
  1. Jun 11, 2010
  2. Jun 09, 2010
  3. May 29, 2010
  4. May 28, 2010
  5. May 21, 2010
  6. May 19, 2010
  7. May 18, 2010
    • Takashi Yoshii's avatar
      linux-user: rlimit conversion between host and target. · 81bbe906
      Takashi Yoshii authored
      
      rlim_t conversion between host and target added.
      Otherwise there are some incorrect case like
      - RLIM_INFINITY on 32bit target -> 64bit host.
      - RLIM_INFINITY on 64bit host -> mips and sparc target ?
      - Big value(for 32bit target) on 64bit host -> 32bit target.
      
      One is added into getrlimit, setrlimit, and ugetrlimit. It converts both
      RLIM_INFINITY and value bigger than target can hold(>31bit) to RLIM_INFINITY.
      
      Another one is added to guest_stack_size calculation introduced by
      703e0e89. The rule is mostly same except the result on the case is keeping
      the value of guest_stack_size.
      
      Slightly tested for SH4, and x86_64 -linux-user on x86_64-pc-linux host.
      
      Signed-off-by: default avatarTakashi YOSHII <takasi-y@ops.dti.ne.jp>
      Acked-by: default avatarRichard Henderson <rth@twiddle.net>
      Signed-off-by: default avatarAurelien Jarno <aurelien@aurel32.net>
      81bbe906
  8. May 09, 2010
  9. May 05, 2010
  10. Apr 27, 2010
  11. Apr 26, 2010
  12. Apr 25, 2010
  13. Apr 13, 2010
  14. Apr 08, 2010
  15. Apr 01, 2010
    • Stefan Weil's avatar
      Fix compilation with missing inotify_init1 · a1606b0b
      Stefan Weil authored
      
      Commit c05c7a73
      breaks cross compilation for mips (and other
      compilations without CONFIG_INOTIFY1):
      
      make[1]: Entering directory `/qemu/bin/mips'
        CC    i386-linux-user/syscall.o
      cc1: warnings being treated as errors
      /qemu/linux-user/syscall.c: In function ‘do_syscall’:
      /qemu/linux-user/syscall.c:7067: error: implicit declaration of function ‘sys_inotify_init1’
      
      Cc: Riku Voipio <riku.voipio@nokia.com>
      Cc: Aurelien Jarno <aurelien@aurel32.net>
      Signed-off-by: default avatarStefan Weil <weil@mail.berlios.de>
      Signed-off-by: default avatarAurelien Jarno <aurelien@aurel32.net>
      a1606b0b
    • Aurelien Jarno's avatar
      linux-user/ia64: workaround ia64 strangenesses · 60e99246
      Aurelien Jarno authored
      ia64 has some strangenesses that need to be workaround:
      - it has a __clone2() syscall instead of the using clone() one, with
        different arguments, and which is not declared in the usual headers.
      - ucontext.uc_sigmask is declared with type long int, while it is
        actually of type sigset_t.
      - uc_mcontext, uc_sigmask, uc_stack, uc_link are declared using #define,
        which clashes with the target_ucontext fields. Change their names to
        tuc_*, as already done for some target architectures.
      60e99246
  16. Mar 29, 2010
  17. Mar 28, 2010
  18. Mar 27, 2010
    • Richard Henderson's avatar
      linux-user: Use RLIMIT_STACK for default stack size. · 703e0e89
      Richard Henderson authored
      
      The current default stack limit of 512kB is far too small; a fair
      number of gcc testsuite failures (for all guests) are directly
      attributable to this.  Using the -s option in every invocation of
      the emulator is annoying to say the least.
      
      A reasonable compromise seems to be to honor the system rlimit.
      At least on two Linux distributions, this is set to 8MB and 10MB
      respectively.  If the system does not limit the stack, then we're
      no worse off than before.
      
      At the same time, rename the variable from x86_stack_size and
      change the ultimate fallback size from 512kB to 8MB.
      
      Signed-off-by: default avatarRichard Henderson <rth@twiddle.net>
      Signed-off-by: default avatarAurelien Jarno <aurelien@aurel32.net>
      703e0e89
  19. Mar 26, 2010
  20. Mar 18, 2010
  21. Mar 13, 2010
Loading