- 03 10月, 2009 1 次提交
-
-
由 Michael S. Tsirkin 提交于
Looks like linux-user code was correct, just unreadable: what it wanted to do with "-=" was really assign a negative number, not decrement. Fix up accordingly. Reported-by: NLaurent Desnogues <laurent.desnogues@gmail.com> Signed-off-by: NMichael S. Tsirkin <mst@redhat.com> Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
-
- 02 10月, 2009 2 次提交
-
-
由 Anthony Liguori 提交于
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 99a0949b. Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
-
由 malc 提交于
Some not so obvious bits, slirp and Xen were left alone for the time being. Signed-off-by: Nmalc <av1474@comtv.ru>
-
- 01 10月, 2009 3 次提交
-
-
由 Michael S. Tsirkin 提交于
Put space between = and & when taking a pointer, to avoid confusion with old-style "&=". Signed-off-by: NMichael S. Tsirkin <mst@redhat.com> Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
-
由 Michael S. Tsirkin 提交于
Modern compilers do not parse "=-" as decrement: you must use "-=" for that. Signed-off-by: NMichael S. Tsirkin <mst@redhat.com> Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
-
由 Michael S. Tsirkin 提交于
Put space between = and * when dereferencing a pointer, to avoid confusion with old-style "*=" Signed-off-by: NMichael S. Tsirkin <mst@redhat.com> Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
-
- 26 9月, 2009 2 次提交
-
-
由 Juan Quintela 提交于
Signed-off-by: NJuan Quintela <quintela@redhat.com> Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
-
由 Juan Quintela 提交于
Signed-off-by: NJuan Quintela <quintela@redhat.com> Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
-
- 22 9月, 2009 2 次提交
-
-
由 Blue Swirl 提交于
Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
-
由 Blue Swirl 提交于
Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
-
- 20 9月, 2009 1 次提交
-
-
由 Blue Swirl 提交于
Callers must pass ELF machine, byte swapping and symbol LSB clearing information to ELF loader. A.out loader needs page size information, pass that too as a parameter. Extract prototypes to a separate file. Move loader.[ch] and elf_ops.h under hw. Adjust callers. Also use target_phys_addr_t instead of target_ulong for addresses: loader addresses aren't virtual. Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
-
- 14 9月, 2009 1 次提交
-
-
由 Blue Swirl 提交于
This reverts commit 91b40c5b. Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
-
- 13 9月, 2009 1 次提交
-
-
由 Blue Swirl 提交于
While i386, x86_64 and Sparc64/OpenBSD still worked after df70204d, Sparc32 and Sparc64 Linux hosts broke. Partially revert the commit: make the restored code conditional to !CONFIG_USER_PIE. Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
-
- 12 9月, 2009 2 次提交
-
-
由 Kirill A. Shutemov 提交于
There is a link hack in linux-user which produces an executable that looks like PIE, but always has text relocations since all object files isn't position-independent (compiled without -fpic/-fpie). Dynamic loader has to do more work to load a binary with text relocations. The best way to keep this functionality is to build a true PIE without text relocations. Signed-off-by: NKirill A. Shutemov <kirill@shutemov.name> Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
-
由 Blue Swirl 提交于
Problem: Our file sys-queue.h is a copy of the BSD file, but there are some additions and it's not entirely compatible. Because of that, there have been conflicts with system headers on BSD systems. Some hacks have been introduced in the commits 15cc9235, f40d7537, 96555a96 and 3990d09a but the fixes were fragile. Solution: Avoid the conflict entirely by renaming the functions and the file. Revert the previous hacks. Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
-
- 11 9月, 2009 1 次提交
-
-
由 malc 提交于
The same issue (and the same patch to the byte) was experienced/proposed by Vince Weaver. Signed-off-by: Nmalc <av1474@comtv.ru>
-
- 05 9月, 2009 1 次提交
-
-
由 Blue Swirl 提交于
Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
-
- 25 8月, 2009 10 次提交
-
-
由 Kirill A. Shutemov 提交于
qemu's page table can be incomple if /proc/self/maps is unavailable or host allocating a memory with mmap(), so we can't use it to find free memory area. New version mmap_find_vma() uses mmap() without MAP_FIXED to find free memory. Tested-by: Martin Mohring <martin.mohring@opensuse.org> : quite some time ago this patch had been sent by Kirill to the QEMU ml. At that time, the patch was rejected. Now we found out why the current user mode memory allocator sometimes fails: - Kernel Bug linux/fs/proc/task_mmu.c (fixed after 2.6.27) http://bugzilla.kernel.org/attachment.cgi?id=17219 - use of proc file system to find memory mappings => bad idea So I please apply the attached patch from Kirill to qemu to fix this longstanding bug, because it causes all older linux distros (using kernel 2.6.26 or older) to fail the QEMU memory allocator in user mode. Signed-off-by: NKirill A. Shutemov <kirill@shutemov.name> Signed-off-by: NRiku Voipio <riku.voipio@iki.fi>
-
由 Ulrich Hecht 提交于
The fstat implementation does not initialize the nanosecond fields in the stat buffer; this caused funny values to turn up there, preventing, for instance, cp -p from preserving timestamps because utimensat rejected the out-of-bounds nanosecond values. Resetting the entire structure to zero fixes that. Signed-off-by: NUlrich Hecht <uli@suse.de> Signed-off-by: NRiku Voipio <riku.voipio@iki.fi>
-
由 Ulrich Hecht 提交于
good enough to pass all LTP fadvise64 tests Signed-off-by: NUlrich Hecht <uli@suse.de> Signed-off-by: NRiku Voipio <riku.voipio@iki.fi>
-
由 Ulrich Hecht 提交于
works perfectly fine with the example from getdents(2) and passes the LTP tests (tested with s390x on x86_64 emulation) Signed-off-by: NUlrich Hecht <uli@suse.de> Signed-off-by: NRiku Voipio <riku.voipio@iki.fi>
-
由 Ulrich Hecht 提交于
Fixes swaps on l_pid which were pretty much of random size. Implements F_SETLEASE, F_GETLEASE. Now passes all LTP fcntl tests. Signed-off-by: NUlrich Hecht <uli@suse.de> Signed-off-by: NRiku Voipio <riku.voipio@iki.fi>
-
由 Nathan Froyd 提交于
mqueue.h is only available if __NR_mq_open is defined. So don't include it unconditionally. Similarly, the mq_* family of syscalls depend on __NR_mq_open. Finally, the copy_{from,to}_user_mq_attr functions should not be defined unconditionally, but only if we're going to use the mq_* syscalls. Signed-off-by: Nathan Froyd <froydnj@codesourcery.com Signed-off-by: NRiku Voipio <riku.voipio@iki.fi>
-
由 Laurent Vivier 提交于
As setup_frame() and setup_rt_frame() are now implemented we can now enable sigaltstack(). Signed-off-by: NLaurent Vivier <laurent@vivier.eu> Signed-off-by: NRiku Voipio <riku.voipio@iki.fi>
-
由 Laurent Vivier 提交于
This patch implements setup_rt_frame(). Signed-off-by: NLaurent Vivier <laurent@vivier.eu> Signed-off-by: NRiku Voipio <riku.voipio@iki.fi>
-
由 Laurent Vivier 提交于
This patch adds signals management for linux-user. It implements setup_frame() which allows to call the user signal handler. setup_rt_frame() is always unimplemented. Signed-off-by: NLaurent Vivier <laurent@vivier.eu> Signed-off-by: NRiku Voipio <riku.voipio@iki.fi>
-
由 Riku Voipio 提交于
Straightforward implementation. This syscall is rare enough that we don't need to support the odder cases, just disable it if host glibc is too old. Signed-off-by: NRiku Voipio <riku.voipio@iki.fi>
-
- 16 8月, 2009 1 次提交
-
-
由 Blue Swirl 提交于
Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
-
- 15 8月, 2009 2 次提交
-
-
由 Blue Swirl 提交于
Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
-
由 Blue Swirl 提交于
Also merge bsd-user/path.c and linux-user/path.c. Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
-
- 11 8月, 2009 1 次提交
-
-
由 Laurent Desnogues 提交于
this patch fixes an issue in symfind. Assume you have the following symbols: Address Size 0045bca0 00000080 T s0 0045bd20 00000112 T s1 You'll notice that s1 is s0 + size. So the current symfind will find that address 0045bd20 belongs to s0 instead of s1. Laurent Signed-off-by: NLaurent Desnogues <laurent.desnogues@gmail.com> Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com> Message-Id:
-
- 05 8月, 2009 1 次提交
-
-
由 Igor Kovalenko 提交于
tl and tsptr of members sparc64 cpu state must be changed simultaneously to keep trap state window in sync with current trap level. Currently translation of store to tl does not change tsptr, which leads to corrupt trap state on corresponding trap level. This patch removes tsptr from sparc64 cpu state and replaces all uses with call to helper routine. Changes v0->v1: - reimplemented helper routine with tcg generator - on cpu reset trap type and pstate are populated with power-on reset values, including tl=maxtl Signed-off-by: igor.v.kovalenko@gmail.com Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
-
- 04 8月, 2009 2 次提交
-
-
由 Nathan Froyd 提交于
Signed-off-by: NNathan Froyd <froydnj@codesourcery.com> Signed-off-by: Nmalc <av1474@comtv.ru>
-
由 Nathan Froyd 提交于
We handle conditional stores as an exception so we can ensure that no other thread is changing memory out from underneath us. Signed-off-by: NNathan Froyd <froydnj@codesourcery.com> Signed-off-by: Nmalc <av1474@comtv.ru>
-
- 01 8月, 2009 1 次提交
-
-
由 Blue Swirl 提交于
Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
-
- 28 7月, 2009 3 次提交
-
-
由 Juan Quintela 提交于
Signed-off-by: NJuan Quintela <quintela@redhat.com> Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
-
由 Juan Quintela 提交于
Signed-off-by: NJuan Quintela <quintela@redhat.com> Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
-
由 Juan Quintela 提交于
Use was not consistent, in Makefile was TARGET_GPROF and in *h HAVE_GPROF Signed-off-by: NJuan Quintela <quintela@redhat.com> Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
-
- 21 7月, 2009 1 次提交
-
-
由 Blue Swirl 提交于
I used the following command to enable debugging: perl -p -i -e 's/^\/\/#define DEBUG/#define DEBUG/g' * */* */*/* Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
-
- 18 7月, 2009 1 次提交
-
-
由 malc 提交于
All elf64_note structure members are Elf64_Word (which is 32bit value) hence using bswaptls to byteswap it on 64bit platforms is incorrect. Signed-off-by: Nmalc <av1474@comtv.ru>
-