#
81bbe906 |
| 11-Apr-2010 |
takasi-y@ops.dti.ne.jp <takasi-y@ops.dti.ne.jp> |
linux-user: rlimit conversion between host and target. rlim_t conversion between host and target added. Otherwise there are some incorrect case like - RLIM_INFINITY on 32bit target -
linux-user: rlimit conversion between host and target. 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: Takashi YOSHII <takasi-y@ops.dti.ne.jp> Acked-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
show more ...
|
#
a6dac6a9 |
| 03-May-2010 |
Anthony Liguori <aliguori@us.ibm.com> |
Merge remote branch 'qemu-kvm/uq/master' into HEAD
|
#
a4b388ff |
| 12-Apr-2010 |
Richard Henderson <rth@twiddle.net> |
target-alpha: Enable NPTL. Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
|
#
caa97225 |
| 26-Apr-2010 |
Anthony Liguori <aliguori@us.ibm.com> |
Merge remote branch 'qmp/for-anthony' into staging
|
#
ed18c5ce |
| 26-Apr-2010 |
Richard Henderson <rth@twiddle.net> |
linux-user: Fix sparc32plus stat64 syscalls. Check TARGET_ABI_BITS, not TARGET_LONG_BITS, when deciding whether or not the guest needs special 64-bit stat translation. Signed-of
linux-user: Fix sparc32plus stat64 syscalls. Check TARGET_ABI_BITS, not TARGET_LONG_BITS, when deciding whether or not the guest needs special 64-bit stat translation. Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
show more ...
|
#
bf3de7f1 |
| 13-Apr-2010 |
Anthony Liguori <aliguori@us.ibm.com> |
Merge remote branch 'mst/for_anthony' into staging
|
#
e00ac249 |
| 10-Apr-2010 |
takasi-y@ops.dti.ne.jp <takasi-y@ops.dti.ne.jp> |
linux-user: do_shmdt(): Fix page_set_flags's 2nd arg. 2nd arg of page_set_flags() should be start+size, but size. Signed-off-by: Takashi YOSHII <takasi-y@ops.dti.ne.jp> Acked-by
linux-user: do_shmdt(): Fix page_set_flags's 2nd arg. 2nd arg of page_set_flags() should be start+size, but size. Signed-off-by: Takashi YOSHII <takasi-y@ops.dti.ne.jp> Acked-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
show more ...
|
#
a1606b0b |
| 28-Mar-2010 |
Stefan Weil <weil@mail.berlios.de> |
Fix compilation with missing inotify_init1 Commit c05c7a7306a23a4b01d1606172b142c45caffc92 breaks cross compilation for mips (and other compilations without CONFIG_INOTIFY1):
Fix compilation with missing inotify_init1 Commit c05c7a7306a23a4b01d1606172b142c45caffc92 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: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
show more ...
|
#
60e99246 |
| 28-Mar-2010 |
Aurelien Jarno <aurelien@aurel32.net> |
linux-user/ia64: workaround ia64 strangenesses ia64 has some strangenesses that need to be workaround: - it has a __clone2() syscall instead of the using clone() one, with differen
linux-user/ia64: workaround ia64 strangenesses 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.
show more ...
|
#
c05c7a73 |
| 26-Mar-2010 |
Riku Voipio <riku.voipio@nokia.com> |
linux-user: add inotify_init1 syscall support New syscall which gets actively used when you have a fresh kernel. Signed-off-by: Riku Voipio <riku.voipio@nokia.com> Signed-of
linux-user: add inotify_init1 syscall support New syscall which gets actively used when you have a fresh kernel. Signed-off-by: Riku Voipio <riku.voipio@nokia.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
show more ...
|
#
597c0212 |
| 17-Feb-2010 |
takasi-y@ops.dti.ne.jp <takasi-y@ops.dti.ne.jp> |
linux-user: Fix syscall pipe2() retval on sh4 On linux/sh4 pipe() return values by r0:r1 as SH C calling convention. pipe2() return values on memory as traditional unix way.
linux-user: Fix syscall pipe2() retval on sh4 On linux/sh4 pipe() return values by r0:r1 as SH C calling convention. pipe2() return values on memory as traditional unix way. Signed-off-by: Takashi YOSHII <takasi-y@ops.dti.ne.jp> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
show more ...
|
#
6049f4f8 |
| 27-Dec-2009 |
Richard Henderson <rth@twiddle.net> |
alpha-linux-user: Implement signals. Move userland PALcode handling into linux-user main loop so that we can send signals from there. This also makes alpha_palcode.c system-level on
alpha-linux-user: Implement signals. Move userland PALcode handling into linux-user main loop so that we can send signals from there. This also makes alpha_palcode.c system-level only, so don't build it for userland. Add defines for GENTRAP PALcall mapping to signals. Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
show more ...
|
#
8217d945 |
| 08-Feb-2010 |
Anthony Liguori <aliguori@us.ibm.com> |
Merge remote branch 'qemu-kvm/uq/master' into staging-tmp
|
#
da79030f |
| 29-Dec-2009 |
Loïc Minier <lool@dooz.org> |
linux-user: adapt uname machine to emulated CPU This patch for linux-user adapts the output of the emulated uname() syscall to match the configured CPU. Tested with x86, x86-64 and arm
linux-user: adapt uname machine to emulated CPU This patch for linux-user adapts the output of the emulated uname() syscall to match the configured CPU. Tested with x86, x86-64 and arm emulation. Signed-off-by: Riku Voipio <riku.voipio@iki.fi> Signed-off-by: Loïc Minier <lool@dooz.org>
show more ...
|
#
8b0ee8c5 |
| 28-Dec-2009 |
Vince Weaver <vince@csl.cornell.edu> |
alpha: fix stat64 issue The stat64/fstat64 syscalls are broken for alpha linux-user. This is because Alpha, even though it is native 64-bits, has a stat64 syscall that is differ
alpha: fix stat64 issue The stat64/fstat64 syscalls are broken for alpha linux-user. This is because Alpha, even though it is native 64-bits, has a stat64 syscall that is different than regular stat. This means that the "TARGET_LONG_BITS==64" check in syscall.c isn't enough. Below is a patch that fixes things for me, although it might not be the cleanest fix. This issue keeps sixtrack and fma3d spec2k benchmarks from running. Signed-off-by: Vince Weaver <vince@csl.cornell.edu> Acked-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
show more ...
|
#
ba0e276d |
| 09-Dec-2009 |
Richard Henderson <rth@twiddle.net> |
target-alpha: Fixes for alpha-linux syscalls. 1. Add correct definitions of error numbers. 2. Implement SYS_osf_sigprocmask 3. Implement SYS_osf_get/setsysinfo for IEEE_FP_CONTROL.
target-alpha: Fixes for alpha-linux syscalls. 1. Add correct definitions of error numbers. 2. Implement SYS_osf_sigprocmask 3. Implement SYS_osf_get/setsysinfo for IEEE_FP_CONTROL. This last requires exposing the FPCR value to do_syscall. Since this value is actually split up into the float_status, expose routines from helper.c to access it. Finally, also add a float_exception_mask field to float_status. We don't actually use it to control delivery of exceptions to the emulator yet, but simply hold the value that we placed there when loading/storing the FPCR. Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
show more ...
|
#
b4558d74 |
| 07-Nov-2009 |
Blue Swirl <blauwirbel@gmail.com> |
(x86/Sparc/PPC)-user: fix cpu_copy b55a37c981914aa8ecd21b9a2a2fb37f39b917c5 moved the call to cpu_reset to user emulators. But cpu_copy also initializes a CPU structure, so add the c
(x86/Sparc/PPC)-user: fix cpu_copy b55a37c981914aa8ecd21b9a2a2fb37f39b917c5 moved the call to cpu_reset to user emulators. But cpu_copy also initializes a CPU structure, so add the call also there. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
show more ...
|
#
102251a4 |
| 21-Oct-2009 |
Anthony Liguori <aliguori@us.ibm.com> |
Merge commit 'linux-user/linux-user-for-upstream' into staging
|
#
dab46405 |
| 17-Oct-2009 |
Jan-Simon Möller <dl9pf@gmx.de> |
Re: linux-user/syscall.c - don't add GUEST_BASE to NULL pointer This patch fixes the mount call. GUEST_BASE shouldn't be added to a NULL pointer on arg5 . failing call: mount("rootfs", "
Re: linux-user/syscall.c - don't add GUEST_BASE to NULL pointer This patch fixes the mount call. GUEST_BASE shouldn't be added to a NULL pointer on arg5 . failing call: mount("rootfs", "/", 0x47a78, MS_MGC_VAL|MS_REMOUNT, 0x10000) = -1 EFAULT (Bad address) correct call: mount("rootfs", "/", 0x37ab0, MS_MGC_VAL|MS_REMOUNT, NULL) = 0 Signed-off-by: Jan-Simon Möller <dl9pf@gmx.de> Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
show more ...
|
#
f7680a55 |
| 16-Oct-2009 |
Ulrich Hecht <uli@suse.de> |
linux-user: KD/VT/FB ioctls everything needed to run SDL on a framebuffer device in the userspace emulator Signed-off-by: Ulrich Hecht <uli@suse.de> Signed-off-by: Riku Voipio <
linux-user: KD/VT/FB ioctls everything needed to run SDL on a framebuffer device in the userspace emulator Signed-off-by: Ulrich Hecht <uli@suse.de> Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
show more ...
|
#
69137206 |
| 17-Sep-2009 |
Ulrich Hecht <uli@suse.de> |
linux-user: getpriority errno fix getpriority returned wrong errno; fixes LTP test getpriority02. Signed-off-by: Ulrich Hecht <uli@suse.de> Signed-off-by: Riku Voipio <riku.voip
linux-user: getpriority errno fix getpriority returned wrong errno; fixes LTP test getpriority02. Signed-off-by: Ulrich Hecht <uli@suse.de> Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
show more ...
|
#
d0927938 |
| 17-Sep-2009 |
Ulrich Hecht <uli@suse.de> |
implementations of dup3 and fallocate that are good enough to fool LTP updated fallocate check to new configure, added dup3 check as suggested by Jan-Simon Möller. Riku: updated
implementations of dup3 and fallocate that are good enough to fool LTP updated fallocate check to new configure, added dup3 check as suggested by Jan-Simon Möller. Riku: updated to apply to current git. Signed-off-by: Ulrich Hecht <uli@suse.de> Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
show more ...
|
#
c227f099 |
| 01-Oct-2009 |
Anthony Liguori <aliguori@us.ibm.com> |
Revert "Get rid of _t suffix" In the very least, a change like this requires discussion on the list. The naming convention is goofy and it causes a massive merge problem. Something
Revert "Get rid of _t suffix" In the very least, a change like this requires discussion on the list. The naming convention is goofy and it causes a massive merge problem. Something like this _must_ be presented on the list first so people can provide input and cope with it. This reverts commit 99a0949b720a0936da2052cb9a46db04ffc6db29. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
show more ...
|
#
99a0949b |
| 01-Oct-2009 |
malc <av1474@comtv.ru> |
Get rid of _t suffix Some not so obvious bits, slirp and Xen were left alone for the time being. Signed-off-by: malc <av1474@comtv.ru>
|
#
e8bbe36c |
| 30-Sep-2009 |
Michael S. Tsirkin <mst@redhat.com> |
linux-user: fix coding style nit Put space between = and & when taking a pointer, to avoid confusion with old-style "&=". Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
linux-user: fix coding style nit Put space between = and & when taking a pointer, to avoid confusion with old-style "&=". Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
show more ...
|