[Qemu-devel] slirp as a static library?

2007-03-31 Thread C.W. Betts
I'm just wondering if anyone has thougt about making the slirp interface a static library so that each processor type doesn't have to build the same source code over and over again. This would make it so that it would build only once, saving time and processing power for the rest of the program

Re: [Qemu-devel] Clock runs at double speed in guest

2007-03-31 Thread C.W. Betts
What OS are you using? - Original Message - From: "Thomas Tuttle" <[EMAIL PROTECTED]> To: Sent: Wednesday, March 28, 2007 6:54 PM Subject: [Qemu-devel] Clock runs at double speed in guest >Hi. > > I have a 64-bit dual-core (Core 2 Duo) laptop, and I'm trying to install > Gentoo AMD64 on a

Re: [Qemu-devel] no meta key?

2007-03-31 Thread C.W. Betts
That doesn't fix the problem with the meta key not being in the "sendkey" qemu function. That is informative. - Original Message - From: "Daniel Jacobowitz" <[EMAIL PROTECTED]> To: Sent: Friday, March 30, 2007 7:01 AM Subject: Re: [Qemu-devel] no meta key? > On Thu, Mar 29, 2007 at 07

Re: [Qemu-devel] [PATCH] clone syscall fix

2007-03-31 Thread Stuart Anderson
On Sat, 31 Mar 2007, Thiemo Seufer wrote: Stuart Anderson wrote: Even though clone() and fork() are related, they don't seem to be close enough to allow a single routine to be used to implement both. With this patch, the LTP tests for clone now pass. But it still does the same, assuming VM_C

Re: [Qemu-devel] [PATCH] semaphore syscalls - refresh

2007-03-31 Thread Stuart Anderson
On Sat, 31 Mar 2007, Thiemo Seufer wrote: +switch( cmd ) { + case GETALL: + case SETALL: + case IPC_STAT: + case IPC_SET: + lock_user_struct(target_su, target_addr, 1); + target_to_host_semid_ds(ds,target_su->buf); + host_su->buf = ds; +

[Qemu-devel] [PATCH][SPARC] RDASR and WRASR instructions on SPARCv8

2007-03-31 Thread Aurelien Jarno
Hi all, The SPARCv8 RDASR and WRASR instructions currently generate an illegal_instruction trap for rs1 != 0, whereas the SPARCv8 manual explicitely says that an rs1 value of 1...14 in an RDASR instruction produces undefined results, but does not cause an illegal_instruction trap. The same appli

Re: [Qemu-devel] [SPARC][PATCH] Add a few missing illegal_instruction traps

2007-03-31 Thread Aurelien Jarno
On Sat, Mar 31, 2007 at 11:43:34PM +0200, Aurelien Jarno wrote: > Hi all, > > The current implementation of the SPARC CPU in QEMU does not generate > an illegal_instruction trap in a few cases: > > - The wrpsr instruction should generate an illegal_instruction trap if > CWP is greater than NWIN

[Qemu-devel] [SPARC][PATCH] Add a few missing illegal_instruction traps

2007-03-31 Thread Aurelien Jarno
Hi all, The current implementation of the SPARC CPU in QEMU does not generate an illegal_instruction trap in a few cases: - The wrpsr instruction should generate an illegal_instruction trap if CWP is greater than NWINDOWS. The current implementation ignores the higher bits instead. - The load

Re: [Qemu-devel] patch for PC target - OHCI use

2007-03-31 Thread Thiemo Seufer
Michal Schulz wrote: > > Hello. I've made small patch for qemu, which adds a new command line option - > the "-ohci". It instructs qemu that the OHCI controller should be emulated > instead of the default UHCI. What do you think about it? I would prefer to extend the -usb switch to e.g. "-usb h

[Qemu-devel] qemu cpu-exec.c target-i386/cpu.h target-i386/h...

2007-03-31 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/03/31 20:28:52 Modified files: . : cpu-exec.c target-i386: cpu.h helper.c Log message: Generate double and triple faults, by Bernhard Kauer. CVSWeb URLs: http://cvs

[Qemu-devel] qemu/hw pc.c

2007-03-31 Thread Paul Brook
CVSROOT:/sources/qemu Module name:qemu Changes by: Paul Brook 07/03/31 19:41:22 Modified files: hw : pc.c Log message: Large kernel initrd fix (initial patch by Daniel Jacobowitz). CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/hw/pc.c?cvs

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

2007-03-31 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/03/31 19:29:06 Modified files: linux-user : signal.c Log message: Don't let sigaction handle SIGKILL/SIGSTOP, by Stuart Anderson. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/li

Re: [Qemu-devel] [PATCH] clone syscall fix

2007-03-31 Thread Thiemo Seufer
Stuart Anderson wrote: > > Even though clone() and fork() are related, they don't seem to be close > enough to allow a single routine to be used to implement both. With this > patch, the LTP tests for clone now pass. But it still does the same, assuming VM_CLONE is set, except for passing additio

[Qemu-devel] qemu qemu-binfmt-conf.sh

2007-03-31 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/03/31 19:10:01 Modified files: . : qemu-binfmt-conf.sh Log message: Update for binfmt_misc handler, by Stefan Weil. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/qemu-bi

Re: [Qemu-devel] [PATCH] semaphore syscalls - refresh

2007-03-31 Thread Thiemo Seufer
Stuart Anderson wrote: > > This is a refresh of a prior patch to fix the semaphore system calls > sem*() in user-linux mode. Some additional cases have been dealt with, > and a small amount of code re-arrainging to prepare for the EFAULT patch. > Tested using Linux Test Project in the target. [sni

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

2007-03-31 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/03/31 18:59:32 Modified files: linux-user : syscall.c Log message: fcntl() remaining fix, by Stuart Anderson. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/syscall.c?c

[Qemu-devel] qemu/hw usb-hid.c usb-msd.c

2007-03-31 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/03/31 18:23:26 Modified files: hw : usb-hid.c usb-msd.c Log message: Fix usb hid and mass-storage protocol revision, by Juergen Keil. CVSWeb URLs: http://cvs.savannah.gnu.org/vie

[Qemu-devel] qemu vl.h hw/mips_int.c hw/mips_malta.c hw/seri...

2007-03-31 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/03/31 16:54:14 Modified files: . : vl.h hw : mips_int.c mips_malta.c serial.c target-mips: exec.h Log message: Malta CBUS UART support. CVSWeb

Re: [Qemu-devel] [PATCH] Increase max -kernel size

2007-03-31 Thread Paul Brook
> Like this? I can't reliably test that it fixes the problem - for some > bizarre reason, I can now load kernels without this patch. But it > looks right and I can load kernels with it, too. Turns out there's a problem. qemu puts ACPI tables at the top of ram. We have to be careful to avoid sto

Re: [Qemu-devel] [PATCH] Increase max -kernel size

2007-03-31 Thread Daniel Jacobowitz
On Wed, Mar 28, 2007 at 03:00:08PM +0100, Paul Brook wrote: > On Wednesday 28 March 2007 03:21, Daniel Jacobowitz wrote: > > On Wed, Mar 28, 2007 at 12:35:18AM +0100, Thiemo Seufer wrote: > > > Right, a piggyback-style loader would likely fail in that case. > > > > Which is exactly the interesting

[Qemu-devel] qemu/target-ppc helper.c

2007-03-31 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/03/31 12:57:57 Modified files: target-ppc : helper.c Log message: Support for PowerPC BookE exception model. No need to requeue timer exceptions. Fix nip saving for 64 bits Po

Re: [Qemu-devel] [SPARC][PATCH] Generate cp_disabled trap for Cpop instructions

2007-03-31 Thread Aurelien Jarno
On Fri, Mar 30, 2007 at 07:18:28PM +0200, Aurelien Jarno wrote: > Hi all, > > Both of the SPARC CPU currently emulated in QEMU do not have a > coprocessor. In such case executing a Cpop1 or a Cpop2 instruction > should generate a cp_disabled trap, but the current implementation > generates a ill

[Qemu-devel] Patch: generate double and triple faults

2007-03-31 Thread Bernhard Kauer
On Wed, Mar 28, 2007 at 02:39:31PM +0200, Bernhard Kauer wrote: > On Wed, Mar 28, 2007 at 10:13:49AM +0200, Sebastian Kaliszewski wrote: > > Bernhard Kauer wrote: > > >Qemu does not generate a double fault (DBF) on x86, if a general protection > > >fault could not be delivered. Instead it hangs in

[Qemu-devel] qemu/hw ppc.c

2007-03-31 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/03/31 11:38:38 Modified files: hw : ppc.c Log message: Embedded PowerPC timers support. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/hw/ppc.c?cvsroot=qemu&r1=1.12&r2=1.13

[Qemu-devel] qemu/target-ppc helper.c op_helper.c

2007-03-31 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/03/31 11:33:48 Modified files: target-ppc : helper.c op_helper.c Log message: Merge PowerPC 405 MMU model. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/helper.c?cvsroot=q

[Qemu-devel] qemu/target-ppc cpu.h helper.c

2007-03-31 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/03/31 11:10:49 Modified files: target-ppc : cpu.h helper.c Log message: As embedded PowerPC TLB model is very different from PowerPC 6xx ones, define ppc_tlb_t as an union of the two.

[Qemu-devel] qemu vl.h hw/openpic.c

2007-03-31 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/03/31 09:59:47 Modified files: . : vl.h hw : openpic.c Log message: Better fix for OpenPIC: should not depend on PowerPC. CVSWeb URLs: http://cvs.savannah.gnu.o

[Qemu-devel] Bugs

2007-03-31 Thread James Jacobs
> Using the start.bat file included with the QEMU package (except changing > cd-rom and hard disk image filenames as appropriate). > I haven't adjusted any audio settings, I'm using whatever the defaults are. which package ? 0.90 has the imagefile bug, so I normally use 0.82 instead >Not many s

[Qemu-devel] [patch] dont require many old syscalls

2007-03-31 Thread Mike Frysinger
the linux/syscall.c file assumes the target arch has a lot of historical syscall baggage ... this is not true for newer ports, so ive added more #ifdef's where needed in my case -mike pgpA76DTYr43u.pgp Description: PGP signature --- linux-user/syscall.c 22 Mar 2007 15:08:55 - 1.95 +++ linux

[Qemu-devel] [patch] use socklen_t with getsockopt()

2007-03-31 Thread Mike Frysinger
obvious fixup ... getsockopt() takes a socklen_t, not an int -mike pgpmFlADRziAp.pgp Description: PGP signature --- linux-user/syscall.c +++ linux-user/syscall.c @@ -642,7 +642,8 @@ static long do_setsockopt(int sockfd, in static long do_getsockopt(int sockfd, int level, int optname,