[Qemu-devel] Only one USB disk can be used in Windows XP guest domain, and a method to solve this problem

2007-05-07 Thread Yu, Xiaoyang
If we use something like "usb_add disk:/dev/sdb" to assign USB disks to Windows XP guest domain, assign one USB disk can work properly, but assign the second USB disk will cause problem in Windows device manager, and the second USB disk cannot be used properly. The attached patch can fix this p

[Qemu-devel] Data CDs cannot be automaticly mounted in Linux guest domain and a method to fix it

2007-05-07 Thread Yu, Xiaoyang
I met the problem that Linux guest domain cannot mount a data CD properly. If a data CD is inserted, and was assigned to the guest domain by issue something like "change hdc /dev/cdrom", there will be an error message reported by guest Linux kernel "This disc doesn't have any tracks I recogniz

[Qemu-devel] qemu qemu-doc.texi hw/pxa2xx.c target-arm/cpu.h...

2007-05-07 Thread Paul Brook
CVSROOT:/sources/qemu Module name:qemu Changes by: Paul Brook 07/05/08 02:30:40 Modified files: . : qemu-doc.texi hw : pxa2xx.c target-arm : cpu.h helper.c Log message: ARM946 CPU support. CVSWeb URLs: http://cv

Re: [Qemu-devel] workaround: qemu-0.9.0 emulating mipsel (32-bit R3000) on amd64

2007-05-07 Thread Paul Brook
> > --- a/qemu-0.9.0/target-mips/helper.c 2007-05-05 15:39:21.0 > > -0700 +++ b/qemu-0.9.0/target-mips/helper.c 2007-05-07 > > 13:24:50.0 -0700 @@ -358,6 +358,7 @@ > > goto set_EPC; > > case EXCP_BREAK: > > cause = 9; > > + tlb_flush_page(env, env->P

Re: [Qemu-devel] workaround: qemu-0.9.0 emulating mipsel (32-bit R3000) on amd64

2007-05-07 Thread Paul Brook
On Monday 07 May 2007, John Reiser wrote: > Daniel Jacobowitz wrote: > > On Sun, May 06, 2007 at 09:04:52PM +0100, Thiemo Seufer wrote: > >>This looks like another instance of "Qemu/MIPS doesn't handle > >>self-modifying code correctly" (the break instructions inserted > >>by gdb are exactly this).

Re: [Qemu-devel] [PATCH] qemu Makefile.target cpu-all.h cpu-exec.c dynge...

2007-05-07 Thread Johannes Schindelin
Hi Stefan, On Mon, 7 May 2007, Stefan Weil wrote: > here is a (partially crude) patch which mixes your code with my own MIPS > host extension and code parts from a MIPS host made by Johannes E. > Schindelin 2 years ago. Hey, that's cool! I did not have the motivation/time/machines to pick up

Re: [Qemu-devel] workaround: qemu-0.9.0 emulating mipsel (32-bit R3000) on amd64

2007-05-07 Thread John Reiser
Daniel Jacobowitz wrote: > On Sun, May 06, 2007 at 09:04:52PM +0100, Thiemo Seufer wrote: > >>This looks like another instance of "Qemu/MIPS doesn't handle >>self-modifying code correctly" (the break instructions inserted >>by gdb are exactly this). >> >>A gross workaround is >>http://lists.nongnu

Re: [Qemu-devel] [PATCH] qemu Makefile.target cpu-all.h cpu-exec.c dynge...

2007-05-07 Thread Stefan Weil
For Linux usermode emulation, this patch was missing. Stefan Index: cpu-exec.c === --- cpu-exec.c (Revision 656) +++ cpu-exec.c (Arbeitskopie) @@ -1545,9 +1545,10 @@ #elif defined(__mips__) -int cpu_signal_handler(int host_signu

Re: [Qemu-devel] [PATCH] qemu Makefile.target cpu-all.h cpu-exec.c dynge...

2007-05-07 Thread Stefan Weil
Hello Thiemo, here is a (partially crude) patch which mixes your code with my own MIPS host extension and code parts from a MIPS host made by Johannes E. Schindelin 2 years ago. Using this new code I was able to start a Linux kernel using qemu-system-mipsel running in an emulated MALTA machine.

Re: [Qemu-devel] [PATCH] qemu Changelog gdbstub.c target-mips/TODO targe...

2007-05-07 Thread Stefan Weil
gcc on MIPS defines "mips", so for the new MIPS host a small patch (or a variable rename) in op.c is needed. Stefan Thiemo Seufer schrieb: > CVSROOT: /sources/qemu > Module name: qemu > Changes by: Thiemo Seufer 07/05/07 13:55:33 > > Modified files: > . : Changelo

[Qemu-devel] qemu/target-sparc op_helper.c

2007-05-07 Thread Blue Swirl
CVSROOT:/cvsroot/qemu Module name:qemu Changes by: Blue Swirl 07/05/07 18:05:05 Modified files: target-sparc : op_helper.c Log message: Enable unaligned access faults CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/target-sparc/op_helper.c?cvsroot=qemu&

[Qemu-devel] qemu/pc-bios README openbios-sparc32

2007-05-07 Thread Blue Swirl
CVSROOT:/cvsroot/qemu Module name:qemu Changes by: Blue Swirl 07/05/07 17:59:32 Modified files: pc-bios: README openbios-sparc32 Log message: Update OpenBIOS/Sparc32 to SVN 144. Changes: - Fix power-management location - Fix out of boun

[Qemu-devel] qemu/target-sparc translate.c

2007-05-07 Thread Blue Swirl
CVSROOT:/cvsroot/qemu Module name:qemu Changes by: Blue Swirl 07/05/07 17:01:15 Modified files: target-sparc : translate.c Log message: Fix pc/npc for unaligned load/stores, maybe other exceptions CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/target-s

Re: [Qemu-devel] bug: qemu-0.9.0 emulating mipsel (32-bit R3000) on amd64

2007-05-07 Thread Paul Brook
On Monday 07 May 2007, Daniel Jacobowitz wrote: > On Sun, May 06, 2007 at 09:04:52PM +0100, Thiemo Seufer wrote: > > This looks like another instance of "Qemu/MIPS doesn't handle > > self-modifying code correctly" (the break instructions inserted > > by gdb are exactly this). > > > > A gross workar

[Qemu-devel] qemu Changelog gdbstub.c target-mips/TODO targe...

2007-05-07 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/05/07 13:55:33 Modified files: . : Changelog gdbstub.c target-mips: TODO cpu.h exec.h fop_template.c helper.c op.c op_mem.c translate.c translate_ini

[Qemu-devel] qemu/target-mips TODO

2007-05-07 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/05/07 12:52:18 Modified files: target-mips: TODO Log message: Update TODO. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/target-mips/TODO?cvsroot=qemu&r1=1.8&r2=1.9

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

2007-05-07 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/05/07 12:46:25 Modified files: target-mips: helper.c Log message: Clear BD slot on next exception if appropriate. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/target-mips/helper

Re: [Qemu-devel] bug: qemu-0.9.0 emulating mipsel (32-bit R3000) on amd64

2007-05-07 Thread Daniel Jacobowitz
On Sun, May 06, 2007 at 09:04:52PM +0100, Thiemo Seufer wrote: > This looks like another instance of "Qemu/MIPS doesn't handle > self-modifying code correctly" (the break instructions inserted > by gdb are exactly this). > > A gross workaround is > http://lists.nongnu.org/archive/html/qemu-devel/2

[Qemu-devel] IO devices and softmmu

2007-05-07 Thread Shashidhar Mysore
Hi, Can somebody please help me understand how IO devices are emulated and what's the role of softmmu* files in QEMU? I am having trouble in understanding how the CPU reads data from IO devices, any help will be appreciated. Thanks, -Shashi.