Re: [Qemu-devel] AIO and savevm
Implementing it this way does mean savevm can effect the guest VM state (it causes all pending IO to complete immediately). However this should be safe, ie. it could occur be chance anyway, and qemu isn't deterministic to start with. What would be the right place for the AIO flush, how about bdrv_flush? Would it be OK to add bdrv_flush just before qemu_fopen_bdrv in do_savevm? _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
Re: [Qemu-devel] AIO and savevm
When savevm is issued, you need to halt the guest CPUs, and wait for all IO to complete. While doing this you need to allow device AIO completion routines to run, which may trigger additional IO. Once all IO has been completed you should then be able to safely save state. How's this patch? Qemu_aio_poll waits for all AIOs and calls the device completion routines when each AIO finishes. _ Don't just search. Find. Check out the new MSN Search! http://search.msn.com/ Improve savevm consistency by flushing pending AIO before saving. Index: qemu/vl.c === --- qemu.orig/vl.c 2006-09-03 10:31:48.0 + +++ qemu/vl.c 2006-09-03 10:33:51.0 + @@ -4551,6 +4551,9 @@ return; } +/* Flush pending AIO before saving */ +qemu_aio_poll(); + saved_vm_running = vm_running; vm_stop(0); ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
Re: [Qemu-devel] AIO and savevm
On Sunday 03 September 2006 11:42, Blue Swirl wrote: When savevm is issued, you need to halt the guest CPUs, and wait for all IO to complete. While doing this you need to allow device AIO completion routines to run, which may trigger additional IO. Once all IO has been completed you should then be able to safely save state. How's this patch? Qemu_aio_poll waits for all AIOs and calls the device completion routines when each AIO finishes. qemu_aio_poll doesn't wait. It returns immediately if IO has not completed yet. Paul ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
Re: [Qemu-devel] AIO and savevm
qemu_aio_poll doesn't wait. It returns immediately if IO has not completed yet. You're right, sorry. How's this version then? Though there is a race condition where the AIO signal is received between checking for AIO and waiting for it. _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ Improve savevm consistency by flushing pending AIO before saving. Index: qemu/vl.c === --- qemu.orig/vl.c 2006-09-03 10:45:28.0 + +++ qemu/vl.c 2006-09-03 11:06:13.0 + @@ -4551,6 +4551,17 @@ return; } +/* Flush pending AIO before saving */ +ret = qemu_aio_poll(); +if (ret) { +qemu_aio_wait_start(); +do { +qemu_aio_wait(); +ret = qemu_aio_poll(); +} while (ret); +qemu_aio_wait_end(); +} + saved_vm_running = vm_running; vm_stop(0); Index: qemu/block-raw.c === --- qemu.orig/block-raw.c 2006-09-03 11:00:39.0 + +++ qemu/block-raw.c2006-09-03 11:03:40.0 + @@ -206,10 +206,12 @@ #endif } -void qemu_aio_poll(void) +int qemu_aio_poll(void) { RawAIOCB *acb, **pacb; -int ret; +int ret, aios_active; + +aios_active = 0; for(;;) { pacb = first_aio; @@ -240,11 +242,14 @@ qemu_aio_release(acb); break; } else { +/* aio still active */ pacb = acb-next; +aios_active = 1; } } } - the_end: ; + the_end: +return aios_active; } /* wait until at least one AIO was handled */ Index: qemu/vl.h === --- qemu.orig/vl.h 2006-09-03 11:00:43.0 + +++ qemu/vl.h 2006-09-03 11:04:10.0 + @@ -579,7 +579,7 @@ void bdrv_aio_cancel(BlockDriverAIOCB *acb); void qemu_aio_init(void); -void qemu_aio_poll(void); +int qemu_aio_poll(void); void qemu_aio_wait_start(void); void qemu_aio_wait(void); void qemu_aio_wait_end(void); ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
[Qemu-devel] pic_set_irq to pic_set_irq_new for sun4m
Hi, This patch changes most Sun4m uses of pic_set_irq to pic_set_irq_new. I didn't change floppy or nvram. I can do that as well if it's OK for their other users. Comments? _ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ Change pic_set_irq to pic_set_irq_new. Index: qemu/hw/slavio_misc.c === --- qemu.orig/hw/slavio_misc.c 2006-09-03 10:29:53.0 + +++ qemu/hw/slavio_misc.c 2006-09-03 10:31:19.0 + @@ -36,6 +36,9 @@ #ifdef DEBUG_MISC #define MISC_DPRINTF(fmt, args...) \ do { printf(MISC: fmt , ##args); } while (0) +#define pic_set_irq_new(intctl, irq, level) \ +do { printf(MISC: set_irq(%d): %d\n, (irq), (level)); \ +pic_set_irq_new((intctl), (irq),(level));} while (0) #else #define MISC_DPRINTF(fmt, args...) #endif @@ -45,6 +48,7 @@ uint8_t config; uint8_t aux1, aux2; uint8_t diag, mctrl, sysctrl; +void *intctl; } MiscState; #define MISC_MAXADDR 1 @@ -54,9 +58,9 @@ MiscState *s = opaque; if ((s-aux2 0x4) (s-config 0x8)) { -pic_set_irq(s-irq, 1); +pic_set_irq_new(s-intctl, s-irq, 1); } else { -pic_set_irq(s-irq, 0); +pic_set_irq_new(s-intctl, s-irq, 0); } } @@ -210,7 +214,7 @@ return 0; } -void *slavio_misc_init(uint32_t base, int irq) +void *slavio_misc_init(uint32_t base, int irq, void *intctl) { int slavio_misc_io_memory; MiscState *s; @@ -236,6 +240,7 @@ cpu_register_physical_memory(base + 0xa00, MISC_MAXADDR, slavio_misc_io_memory); s-irq = irq; +s-intctl = intctl; register_savevm(slavio_misc, base, 1, slavio_misc_save, slavio_misc_load, s); qemu_register_reset(slavio_misc_reset, s); Index: qemu/vl.h === --- qemu.orig/vl.h 2006-09-03 10:29:53.0 + +++ qemu/vl.h 2006-09-03 10:31:19.0 + @@ -1028,7 +1028,6 @@ /* sun4m.c */ extern QEMUMachine sun4m_machine; -void pic_set_irq_cpu(int irq, int level, unsigned int cpu); /* iommu.c */ void *iommu_init(uint32_t addr); @@ -1053,11 +1052,11 @@ unsigned long vram_offset, int vram_size, int width, int height); /* slavio_intctl.c */ +void pic_set_irq_cpu(void *opaque, int irq, int level, unsigned int cpu); void *slavio_intctl_init(); void slavio_intctl_set_cpu(void *opaque, unsigned int cpu, CPUState *env); void slavio_pic_info(void *opaque); void slavio_irq_info(void *opaque); -void slavio_pic_set_irq(void *opaque, int irq, int level); void slavio_pic_set_irq_cpu(void *opaque, int irq, int level, unsigned int cpu); /* loader.c */ @@ -1067,14 +1066,16 @@ int load_aout(const char *filename, uint8_t *addr); /* slavio_timer.c */ -void slavio_timer_init(uint32_t addr, int irq, int mode, unsigned int cpu); +void slavio_timer_init(uint32_t addr, int irq, int mode, unsigned int cpu, + void *intctl); /* slavio_serial.c */ -SerialState *slavio_serial_init(int base, int irq, CharDriverState *chr1, CharDriverState *chr2); -void slavio_serial_ms_kbd_init(int base, int irq); +SerialState *slavio_serial_init(int base, int irq, CharDriverState *chr1, +CharDriverState *chr2, void *intctl); +void slavio_serial_ms_kbd_init(int base, int irq, void *intctl); /* slavio_misc.c */ -void *slavio_misc_init(uint32_t base, int irq); +void *slavio_misc_init(uint32_t base, int irq, void *intctl); void slavio_set_power_fail(void *opaque, int power_failing); /* esp.c */ Index: qemu/hw/slavio_timer.c === --- qemu.orig/hw/slavio_timer.c 2006-09-03 10:29:53.0 + +++ qemu/hw/slavio_timer.c 2006-09-03 10:31:19.0 + @@ -28,6 +28,9 @@ #ifdef DEBUG_TIMER #define DPRINTF(fmt, args...) \ do { printf(TIMER: fmt , ##args); } while (0) +#define pic_set_irq_new(intctl, irq, level) \ +do { printf(TIMER: set_irq(%d): %d\n, (irq), (level));\ +pic_set_irq_new((intctl), (irq),(level));} while (0) #else #define DPRINTF(fmt, args...) #endif @@ -57,6 +60,7 @@ int reached, stopped; int mode; // 0 = processor, 1 = user, 2 = system unsigned int cpu; +void *intctl; } SLAVIO_TIMERState; #define TIMER_MAXADDR 0x1f @@ -103,7 +107,7 @@ DPRINTF(irq %d limit %d reached %d d % PRId64 count %d s-c %x diff % PRId64 stopped %d mode %d\n, s-irq, limit, s-reached?1:0, (ticks-s-count_load_time), count, s-count, s-expire_time - ticks, s-stopped, s-mode); if (s-mode != 1) - pic_set_irq_cpu(s-irq, out, s-cpu); + pic_set_irq_cpu(s-intctl, s-irq, out, s-cpu); } // timer callback @@ -130,7 +134,7 @@ // part of counter (user mode) if (s-mode != 1) { //
[Qemu-devel] Kqemu issue
Hi all,I use Debian host os with debian guest os. The problem is that I must to reinstall kqemu every time I boot my host system.When I try to load qemu it tells me that it can't open kqemu (first I load kqemu with modprobe naturallyand it is ok), I chmod 777 /dev/kqemu and it tells me that there isn't this file! Can someone help me? Thanks.Ale ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
Re: [Qemu-devel] Kqemu issue
Alessandro Corradi wrote: Hi all, I use Debian host os with debian guest os. The problem is that I must to reinstall kqemu every time I boot my host system. When I try to load qemu it tells me that it can't open kqemu (first I load kqemu with modprobe naturallyand it is ok), I chmod 777 /dev/kqemu and it tells me that there isn't this file! Can someone help me? If you are running udev and a new enough kernel, load kqemu with modprobe kqemu major=0 and udev should create the device node for you. If you are running with devfs, you will need to mknod every time you boot, or however Debian lets you do it. Brad -- Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to do so. -- Douglas Adams ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
Re: [Qemu-devel] AIO and savevm
On Sunday 03 September 2006 12:14, Blue Swirl wrote: qemu_aio_poll doesn't wait. It returns immediately if IO has not completed yet. You're right, sorry. How's this version then? Though there is a race condition where the AIO signal is received between checking for AIO and waiting for it. I moved it into a separate routine, and fixed the race condition. We also need to flush AIO requests before doing loadvm. Paul ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
[Qemu-devel] qemu vl.c qemu-doc.texi
CVSROOT:/sources/qemu Module name:qemu Changes by: Fabrice Bellard bellard 06/09/03 14:10:53 Modified files: . : vl.c qemu-doc.texi Log message: allow disabling of serial or parallel devices (Stefan Weil) CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/vl.c?cvsroot=qemur1=1.211r2=1.212 http://cvs.savannah.gnu.org/viewcvs/qemu/qemu-doc.texi?cvsroot=qemur1=1.107r2=1.108 ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
[Qemu-devel] FDC fixes
Change pic_set_irq to pic_set_irq_new, adjust callers. Make floppy size tables const. Remove TARGET_SPARC dependant code. _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ fdc_fix.diff.bz2 Description: Binary data ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
[Qemu-devel] qemu/hw pcnet.c lance.c
CVSROOT:/sources/qemu Module name:qemu Changes by: Fabrice Bellard bellard 06/09/03 16:07:02 Modified files: hw : pcnet.c Removed files: hw : lance.c Log message: initial sparc32 lance and pcnet merge CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/hw/pcnet.c?cvsroot=qemur1=1.4r2=1.5 http://cvs.savannah.gnu.org/viewcvs/qemu/hw/lance.c?cvsroot=qemur1=1.9r2=0 ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
[Qemu-devel] qemu Makefile.target vl.h hw/esp.c hw/iommu.c h...
CVSROOT:/sources/qemu Module name:qemu Changes by: Fabrice Bellard bellard 06/09/03 16:09:07 Modified files: . : Makefile.target vl.h hw : esp.c iommu.c sun4m.c Added files: hw : sparc32_dma.c Log message: Separate the DMA controllers - Convert ESP to new DMA methods (Blue Swirl) CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/Makefile.target?cvsroot=qemur1=1.124r2=1.125 http://cvs.savannah.gnu.org/viewcvs/qemu/vl.h?cvsroot=qemur1=1.146r2=1.147 http://cvs.savannah.gnu.org/viewcvs/qemu/hw/esp.c?cvsroot=qemur1=1.15r2=1.16 http://cvs.savannah.gnu.org/viewcvs/qemu/hw/iommu.c?cvsroot=qemur1=1.7r2=1.8 http://cvs.savannah.gnu.org/viewcvs/qemu/hw/sun4m.c?cvsroot=qemur1=1.19r2=1.20 http://cvs.savannah.gnu.org/viewcvs/qemu/hw/sparc32_dma.c?cvsroot=qemurev=1.1 ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
[Qemu-devel] qemu/hw pcnet.c
CVSROOT:/sources/qemu Module name:qemu Changes by: Fabrice Bellard bellard 06/09/03 16:40:12 Modified files: hw : pcnet.c Log message: endianness fixes CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/hw/pcnet.c?cvsroot=qemur1=1.5r2=1.6 ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
[Qemu-devel] qemu/target-i386 translate.c
CVSROOT:/sources/qemu Module name:qemu Changes by: Fabrice Bellard bellard 06/09/03 17:09:02 Modified files: target-i386: translate.c Log message: multi byte nop support CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/target-i386/translate.c?cvsroot=qemur1=1.59r2=1.60 ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
[Qemu-devel] qemu qemu-doc.texi
CVSROOT:/sources/qemu Module name:qemu Changes by: Fabrice Bellard bellard 06/09/03 17:10:41 Modified files: . : qemu-doc.texi Log message: typo CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/qemu-doc.texi?cvsroot=qemur1=1.108r2=1.109 ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
[Qemu-devel] Is there a way to install Minix 2.0.4 on my own image file?
hi, I am wondering if there is a way to install minix 2.0.4 on my own image file instead of just running on an existing one. For Minix 3, we can install it from emulated CD ROM. But for minix 2.0.4, I cannot map the USR.MNX to the fda while the ROOT.MNX is mapped to it. The command I used: qemu -localtime -net user -net nic -m 128 -fda ROOT.MNX -hda neo_minix.img -boot a. You may get the screen shot from the attachment. Thanks, Neo -- I would remember that if researchers were not ambitious probably today we haven't the technology we are using! ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
Re: [Qemu-devel] Is there a way to install Minix 2.0.4 on my own image file?
But for minix 2.0.4, I cannot map the USR.MNX to the fda while the ROOT.MNX is mapped to it. You can change the floppy disk image later during the boot process by using qemu monitor. * enter qemu monitor (probably Ctrl-Alt-1) * change the floppy using the following command : change fda USR.MNX -- vincent ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
[Qemu-devel] qemu vl.h hw/pcnet.c hw/sparc32_dma.c
CVSROOT:/sources/qemu Module name:qemu Changes by: Fabrice Bellard bellard 06/09/03 19:48:17 Modified files: . : vl.h hw : pcnet.c sparc32_dma.c Log message: better PCNET endianness support CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/vl.h?cvsroot=qemur1=1.147r2=1.148 http://cvs.savannah.gnu.org/viewcvs/qemu/hw/pcnet.c?cvsroot=qemur1=1.6r2=1.7 http://cvs.savannah.gnu.org/viewcvs/qemu/hw/sparc32_dma.c?cvsroot=qemur1=1.1r2=1.2 ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
[Qemu-devel] Re: esd audio output patch and debuging.
Frederick Reeve cylix at solace.info writes: Hello. [..snip..] Now, I would not have you thinking this patch is a ready to go. I am writing this email because I am having a little trouble with this. It outputs sound fine but it produces artafacts. I'm not sure of the cause. Though I think it may have to do with frame alignment or with the conversion process (see code). It sounds like its clipping at high sample volume but this is the first time I have done anything with audio programing. I had planed to submit a completed patch but... anyway if anyone can point me in the right direction I would appreciate it. Alternately if you just want to fix it that would be great to. Implemented the ideas described in previous post, latency is no good (something to be expected) but the quality seems to be fine now. Fabrice: i think this can be safely applied. -- mailto:[EMAIL PROTECTED]Index: Makefile.target === RCS file: /home/malc/cvsroot/bellard/qemu/Makefile.target,v retrieving revision 1.1.1.10 retrieving revision 1.1.1.1.2.11 diff -u -r1.1.1.10 -r1.1.1.1.2.11 --- Makefile.target 4 Aug 2006 23:49:02 - 1.1.1.10 +++ Makefile.target 3 Sep 2006 21:56:08 - 1.1.1.1.2.11 @@ -315,6 +315,10 @@ AUDIODRV += dsoundaudio.o LIBS += -lole32 -ldxguid endif +ifdef CONFIG_ESD +AUDIODRV += esdaudio.o +LIBS += -lesd +endif ifdef CONFIG_FMOD AUDIODRV += fmodaudio.o audio.o fmodaudio.o: DEFINES := -I$(CONFIG_FMOD_INC) $(DEFINES) @@ -539,7 +543,7 @@ endif ifeq (1, 0) -audio.o sdlaudio.o dsoundaudio.o ossaudio.o wavaudio.o noaudio.o \ +audio.o sdlaudio.o dsoundaudio.o ossaudio.o wavaudio.o noaudio.o esdaudio.o \ fmodaudio.o alsaaudio.o mixeng.o sb16.o es1370.o gus.o adlib.o: \ CFLAGS := $(CFLAGS) -Wall -Werror -W -Wsign-compare endif Index: configure === RCS file: /home/malc/cvsroot/bellard/qemu/configure,v retrieving revision 1.1.1.8 retrieving revision 1.1.1.1.2.6 diff -u -r1.1.1.8 -r1.1.1.1.2.6 --- configure 27 Jun 2006 11:05:10 - 1.1.1.8 +++ configure 3 Sep 2006 21:56:15 - 1.1.1.1.2.6 @@ -81,6 +81,7 @@ dsound=no coreaudio=no alsa=no +esd=no fmod=no fmod_lib= fmod_inc= @@ -207,6 +208,8 @@ ;; --enable-dsound) dsound=yes ;; + --enable-esd) esd=yes + ;; --enable-fmod) fmod=yes ;; --fmod-lib=*) fmod_lib=$optarg @@ -282,6 +285,7 @@ echo --enable-adlib enable Adlib emulation echo --enable-coreaudio enable Coreaudio audio driver echo --enable-alsaenable ALSA audio driver +echo --enable-esd enable esd audio echo --enable-fmodenable FMOD audio driver echo --enabled-dsound enable DirectSound audio driver echo --enable-system enable all system emulation targets @@ -545,6 +549,7 @@ echo CoreAudio support $coreaudio echo ALSA support $alsa echo DSound support$dsound +echo ESD support $esd if test $fmod = yes; then if test -z $fmod_lib || test -z $fmod_inc; then echo @@ -694,6 +699,10 @@ echo CONFIG_DSOUND=yes $config_mak echo #define CONFIG_DSOUND 1 $config_h fi +if test $esd = yes ; then + echo CONFIG_ESD=yes $config_mak + echo #define CONFIG_ESD 1 $config_h +fi if test $fmod = yes ; then echo CONFIG_FMOD=yes $config_mak echo CONFIG_FMOD_LIB=$fmod_lib $config_mak Index: audio/audio.c === RCS file: /home/malc/cvsroot/bellard/qemu/audio/audio.c,v retrieving revision 1.1.1.8 retrieving revision 1.1.1.1.2.20 diff -u -r1.1.1.8 -r1.1.1.1.2.20 --- audio/audio.c 4 Aug 2006 23:49:09 - 1.1.1.8 +++ audio/audio.c 3 Sep 2006 21:57:03 - 1.1.1.1.2.20 @@ -46,6 +46,9 @@ #ifdef CONFIG_DSOUND dsound_audio_driver, #endif +#ifdef CONFIG_ESD +esd_audio_driver, +#endif #ifdef CONFIG_FMOD fmod_audio_driver, #endif @@ -605,11 +608,11 @@ } if (info-sign) { -memset (buf, 0x00, len info-shift); +memset (buf, len info-shift, 0x00); } else { if (info-bits == 8) { -memset (buf, 0x80, len info-shift); +memset (buf, len info-shift, 0x80); } else { int i; Index: audio/audio_int.h === RCS file: /home/malc/cvsroot/bellard/qemu/audio/audio_int.h,v retrieving revision 1.1.1.7 retrieving revision 1.1.1.1.2.7 diff -u -r1.1.1.7 -r1.1.1.1.2.7 --- audio/audio_int.h 4 Aug 2006 23:49:09 - 1.1.1.7 +++ audio/audio_int.h 3 Sep 2006 21:57:09 - 1.1.1.1.2.7 @@ -200,6 +200,7 @@ extern struct audio_driver wav_audio_driver; extern struct audio_driver fmod_audio_driver; extern struct audio_driver alsa_audio_driver; +extern struct audio_driver esd_audio_driver; extern struct audio_driver coreaudio_audio_driver;
[Qemu-devel] MIPS host
Greetings all, Has anyone managed to compile qemu-arm for a MIPS linux host? I have successfully built and used qemu to execute an ARM linux application using qemu-arm on an x86 linux host. I now want to run the same applicaiton on a MIPS linux host and am having trouble building qemu for a MIPS host. I have applied the patch at http://libvncserver.sourceforge.net/qemu/qemu-irix.patch.gz As suggested on the linux-mips website. I get the the follwoing error after configuring with: ./configure --cross-prefix=mipsel-linux- --cpu=mips --target-list=arm-user make dyngen: jr ra expected at the end of op_movl_TO_r0 Admittedly the patch did not apply completely cleanly... a little fuzz. I performed a CVS checkout of qemu using a date of 15/11/2004 (Same as the patch timestamp) in order to apply the patch. Thanks in advance. /James ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel