Re: [Qemu-devel] [PATCH] SH4 Fix missing 6th arg of syscall.

2007-11-20 Thread Tomoyoshi ASANO
Hello, I tested big-endian binaries by sh4(eb)-linux-user with a small patch(attached) for building sh4eb-linux-user. But I don't understand that this patch is needed or not. sh4eb-linux-user is OK using static link binaries. But I feel that sh4eb-linux-users has some problem(?) using dynamic

[Qemu-devel] [PATCH] sparc32 iommu fix

2007-11-20 Thread Robert Reif
Set initial value of AFSR register properly. Index: hw/iommu.c === RCS file: /sources/qemu/qemu/hw/iommu.c,v retrieving revision 1.19 diff -p -u -r1.19 iommu.c --- hw/iommu.c 17 Nov 2007 17:14:42 - 1.19 +++ hw/iommu.c 21 No

[Qemu-devel] Re: [PATCH] 06_efault.5.timespec.patch

2007-11-20 Thread Thayne Harbaugh
This uses __get_user()/__put_user() for copy_{to,from}_user_timespec(). It checks and handles return values. Index: qemu/linux-user/syscall.c === --- qemu.orig/linux-user/syscall.c 2007-11-20 13:21:38.0 -0700 +++ qemu/linux-use

[Qemu-devel] Re: [PATCH] 06_efault.4.patch - timeval

2007-11-20 Thread Thayne Harbaugh
This is the EFAULT for copy_{to,from}_user_timeval(). This updates to use __get_user()/__put_user(), check return values of copy_{to,from}_user_timeval(). Index: qemu/linux-user/syscall.c === --- qemu.orig/linux-user/syscall.c 2007-11

Re: [Qemu-devel] [PATCH] SH4 Fix missing 6th arg of syscall.

2007-11-20 Thread Tomoyoshi ASANO
Hell, This is very nice! I tested using glibc-2.5 It seems good. Thank you On Wed, 21 Nov 2007 09:24:41 +0900 "Magnus Damm" <[EMAIL PROTECTED]> wrote: > Hi there, > > On Nov 20, 2007 11:48 PM, <[EMAIL PROTECTED]> wrote: > > I found 6th arg for syscall is missing on SH4 linux-user emulation.

Re: [Qemu-devel] [PATCH] SH4 Fix missing 6th arg of syscall.

2007-11-20 Thread Magnus Damm
Hi there, On Nov 20, 2007 11:48 PM, <[EMAIL PROTECTED]> wrote: > I found 6th arg for syscall is missing on SH4 linux-user emulation. > This seems to be the cause of shared library mapping failure. > I successfully run shared-lib'd binary, after applying following fix. Hehe, I managed to create t

[Qemu-devel] kqemu in x86_64: (host) exception 0x0d in monitor space

2007-11-20 Thread Mike Peters
Hi, Is there any known fix for the issue reported previously here - http://www.mail-archive.com/qemu-devel@nongnu.org/msg06241.html I'm seeing the same issue trying to install ubuntu-7.10-server-amd64 on ubuntu-7.10-desktop-amd64 (2.6.22-14-generic #1 SMP) using the current Ubuntu distributed qem

Re: [Qemu-devel] Online image backup

2007-11-20 Thread Fabrice Bellard
Matteo Bertini wrote: > Hello everyone, > > is there any support for an online image backup? Or some direction to > have it? > > Imagine I have an emulated server. How can I make an online backup of > the server state? > > If I'm right in the actual design this is very hard. > > Or there are so

[Qemu-devel] Online image backup

2007-11-20 Thread Matteo Bertini
Hello everyone, is there any support for an online image backup? Or some direction to have it? Imagine I have an emulated server. How can I make an online backup of the server state? If I'm right in the actual design this is very hard. Or there are some image internals update rules that permit

Re: [Qemu-devel] qemu block-vvfat.c block.c console.c dyngen.c e...

2007-11-20 Thread Igor Kovalenko
On Nov 18, 2007 4:44 AM, Paul Brook <[EMAIL PROTECTED]> wrote: > CVSROOT:/sources/qemu > Module name:qemu > Changes by: Paul Brook 07/11/18 01:44:38 > > Modified files: > . : block-vvfat.c block.c console.c dyngen.c > elf_ops.h i386

[Qemu-devel] [PATCH] Fix warning from qemu-doc.texi and more

2007-11-20 Thread Stefan Weil
Hi, "make info" gives a warning: makeinfo /head/qemu-doc.texi -o qemu-doc.info /head/qemu-doc.texi:949: warning: unlikely character , in @var. As I noticed an inconsistent usage of @var in qemu-doc.texi, I did not stop after fixing this warning but re-worked other parts, too. My patch fixes *

Re: [Qemu-devel] qemu fpu/softfloat-specialize.h fpu/softfloat.c...

2007-11-20 Thread Paul Brook
> > Log message: > > Add strict checking mode for softfp code. > > This commit has broken sparc-softmmu, Strange. My intention was for this commit to have absolutely no functional changes. FWIW I verified that the debian-sparc installer image booted successfully. I guess this probably d

Re: [Qemu-devel] qemu fpu/softfloat-specialize.h fpu/softfloat.c...

2007-11-20 Thread Blue Swirl
On 11/18/07, Paul Brook <[EMAIL PROTECTED]> wrote: > CVSROOT:/sources/qemu > Module name:qemu > Changes by: Paul Brook 07/11/18 14:33:24 > > Modified files: > fpu: softfloat-specialize.h softfloat.c softfloat.h > target-arm/nwfpe: double_cpdo.c singl

[Qemu-devel] Re: [PATCH] 06_efault.3.patch - copy_from_user_fdset()

2007-11-20 Thread Thayne Harbaugh
On Tue, 2007-11-20 at 12:08 -0700, Thayne Harbaugh wrote: > This updates target_to_host_fds() to match the copy_from_user() code. > It drops some unused variables, checks and handles return values for > copy_from_user_fdset() and corrects an error where the "n" value was > incorrectly multiplied w

[Qemu-devel] Re: [PATCH] 06_efault.3.patch - copy_from_user_fdset()

2007-11-20 Thread Thayne Harbaugh
This updates target_to_host_fds() to match the copy_from_user() code. It drops some unused variables, checks and handles return values for copy_from_user_fdset() and corrects an error where the "n" value was incorrectly multiplied with abi_long instead of used as one greater than the number of desc

[Qemu-devel] [PATCH] additional EFAULT patches

2007-11-20 Thread Thayne Harbaugh
These are some additional EFAULT patches. They improve the code consistency, check return values of copy_{to,from}_user() operations and provide minor fixes.

[Qemu-devel] kqemu on celeron 64-bit (fwd)

2007-11-20 Thread Ryan Jud Hughes
Hi. I'm not sure this message made it to the list (I never saw it come back), so I'm re-sending it. If it actually did make it before, I apologize. Thanks. --Ryan -- Forwarded message -- Date: Sat, 17 Nov 2007 12:13:45 -0500 (EST) From: Ryan Jud Hughes <[EMAIL PROTECTED]> To:

[Qemu-devel] qemu/linux-user main.c

2007-11-20 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/11/20 15:22:45 Modified files: linux-user : main.c Log message: SH4 Fix missing 6th arg of syscall, by "takasi-y". CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/main.c

[Qemu-devel] [PATCH] SH4 Fix missing 6th arg of syscall.

2007-11-20 Thread takasi-y
Hello, I found 6th arg for syscall is missing on SH4 linux-user emulation. This seems to be the cause of shared library mapping failure. I successfully run shared-lib'd binary, after applying following fix. /yoshii diff -u -r1.155 main.c --- a/linux-user/main.c 17 Nov 2007 01:37:43 - 1.1

[Qemu-devel] trying to run rtmach with -kernel-kqemu

2007-11-20 Thread Robert William Fuller
Hi, I have rtmach running in qemu, but I am having trouble with -kernel-kqemu. rtmach seems to be using a system call/return mechanism unexpected by -kernel-kqemu. Please see the linked to jpeg. I'm using the CVS version of qemu from November 19. http://img337.imageshack.us/my.php?image=rtmach

[Qemu-devel] PATCH: add input buffer to mux chr

2007-11-20 Thread Tristan Gingold
Hi, when the -nographic switch is set, the input can be blocked if the OS doesn't read bytes. This can be boring especially when the OS is frozen and you'd like to quit qemu or inspect registers. I propose a solution for this issue: add input buffers to the mux chr. Characters are accep

[Qemu-devel] qemu/hw omap.c omap.h

2007-11-20 Thread Andrzej Zaborowski
CVSROOT:/sources/qemu Module name:qemu Changes by: Andrzej Zaborowski 07/11/20 11:15:27 Modified files: hw : omap.c omap.h Log message: OMAP LPGs (LED pulse generators). OMAP MPUI bridge config register. CVSWeb URLs: http://cvs.savannah.g

Re: [Qemu-devel] [PATCH] allow setting static devfn values for pci devices from the command line

2007-11-20 Thread Izik Eidus
Jocelyn Mayer wrote: On Mon, 2007-11-19 at 18:53 +0200, Izik Eidus wrote: Izik Eidus wrote: hi, this patch make it possible to define from the command line a static devfn value for each pci device. it was wrote for addressing a problem that right now qemu devices get their devfn in r