RE: [Qemu-devel] Re: Audio output for CS4231, patch/RFC

2006-09-23 Thread Blue Swirl
After having a cursory look at it only one thing really caught my attention: in the audio callback you set s->audio_free to the provided value, but then in you never use it. If i'm reading everything correctly this would lead to reading N bytes from DMA in write_audio, succeeding in writing only

Re: [Qemu-devel] [PATCH] IRQ sharing in PCI bus

2006-09-23 Thread Blue Swirl
As mentioned in the comments for the new code it looks like sparc64 IRQs are totally busted. I couldn't figure out out what the correct implementation was supposed to be, so I made something up. Sparc64 IRQs are completely unimplemented. I've postponed that until I get OpenBIOS to the point w

[Qemu-devel] VLAN for win32

2006-09-23 Thread Kazu
Hi, A patch below improves a performance of VLAN for win32. It is from three to five times faster than now. I used events to handle network instead of select and used WaitForMultipleObjects to detect events. Binary. http://www.h6.dion.ne.jp/~kazuw/qemu-win/qemu-20060922-vlan-tap.zip Patch. http:

[Qemu-devel] Physical hard disk drive for win32

2006-09-23 Thread Kazu
Hi, An attached patch fixes to use raw access to physical hard disk drive for win32. It can be used as -hdb \\.\PhysicalDrive0 or -hdb //./PhysicalDrive0. For example, if the guest OS is Linux, the second partition can be accessed by /dev/hdb2. Regards, Kazu qemu-20060922-harddisk.patch Descri

[Qemu-devel] Win32 build

2006-09-23 Thread Kazu
Hi, Win32 build has been still broken. Regards, Kazu ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel

[Qemu-devel] Re: Audio output for CS4231, patch/RFC

2006-09-23 Thread malc
Blue Swirl hotmail.com> writes: > > Hi, > > This patch hooks CS4231 to the audio subsystem. It's not ready for applying, > though I can already make some noise. Any comments? After having a cursory look at it only one thing really caught my attention: in the audio callback you set s->audio_fr

Re: [Qemu-devel] [PATCH] IRQ sharing in PCI bus

2006-09-23 Thread Paul Brook
On Saturday 23 September 2006 18:25, andrzej zaborowski wrote: > This allows multiple PCI devices on a bus to use the same IRQ lines. You patch was missing the mapping from device to bus IRQ lines. I applied a fix that includes this, and removes the hacks for PPC IRQ routing. As mentioned in the

[Qemu-devel] qemu vl.h hw/apb_pci.c hw/grackle_pci.c hw/pci....

2006-09-23 Thread Paul Brook
CVSROOT:/sources/qemu Module name:qemu Changes by: Paul Brook 06/09/24 00:16:34 Modified files: . : vl.h hw : apb_pci.c grackle_pci.c pci.c piix_pci.c prep_pci.c unin_pci.c versatile_pci.c Log message:

[Qemu-devel] why is not kqemu free?

2006-09-23 Thread Mihamina Rakotomandimby
Hi, I am looking for an explanation about kqemu is not free. I read somewhere I may not launch more than 4 instances of guests, with both 1Go of "RAM" each. I lost the link on wich I read that. I also lost the link where I saw some reason kqemu is not free (some relation with BOCHS, I think...) Wou

Re: [Qemu-devel] qemu-i386 on ppc: tls issues

2006-09-23 Thread Johannes Schindelin
Hi, On Sat, 23 Sep 2006, Paul Brook wrote: > On Saturday 23 September 2006 20:59, Johannes Schindelin wrote: > > > > since I got my iBook (now running Linux), I always wanted to use qemu-i386 > > to run those fancy i386-only gimmicks like Flash player etc. > > > > Now, I finally got around to act

[Qemu-devel] Is there any option to control the real-time clock?

2006-09-23 Thread Alexey Eremenko
Hi all !I would like to know if there is any option in Qemu to control the speed of the real-time clock, like in Bochs emulator?In Bochs, I can speed up the RTC, for example 2x, which means that all dialogs, that are time based (not CPU based) will run 2x faster... or 2x slower, depends on the sett

Re: [Qemu-devel] qemu-i386 on ppc: tls issues

2006-09-23 Thread Paul Brook
On Saturday 23 September 2006 20:59, Johannes Schindelin wrote: > Hi, > > since I got my iBook (now running Linux), I always wanted to use qemu-i386 > to run those fancy i386-only gimmicks like Flash player etc. > > Now, I finally got around to actually try to get it working, but I always > fail wi

[Qemu-devel] qemu-i386 on ppc: tls issues

2006-09-23 Thread Johannes Schindelin
Hi, since I got my iBook (now running Linux), I always wanted to use qemu-i386 to run those fancy i386-only gimmicks like Flash player etc. Now, I finally got around to actually try to get it working, but I always fail with "cannot set up thread-local storage: set_thread_area failed when setti

[Qemu-devel] Re: Audio output for CS4231, patch/RFC

2006-09-23 Thread Blue Swirl
One comment: you could move the DMA related functions and registers to sparc32_dma.c because it seems reasonnable that the DMA stuff was really implemented outside of the cs4231 chip (I believe the same chip was used in some PC cards with an ISA based DMA). I had thought about that, but the CS

Re: [Qemu-devel] [PATCH] IRQ sharing in PCI bus

2006-09-23 Thread Fabrice Bellard
Paul Brook wrote: On Saturday 23 September 2006 18:38, Fabrice Bellard wrote: andrzej zaborowski wrote: This allows multiple PCI devices on a bus to use the same IRQ lines. The signals from all devices are ORed. It will only work if the guest OS'es drivers supports that. Linux guest required

[Qemu-devel] Re: Audio output for CS4231, patch/RFC

2006-09-23 Thread Fabrice Bellard
Blue Swirl wrote: Hi, This patch hooks CS4231 to the audio subsystem. It's not ready for applying, though I can already make some noise. Any comments? One comment: you could move the DMA related functions and registers to sparc32_dma.c because it seems reasonnable that the DMA stuff was real

Re: [Qemu-devel] [PATCH] IRQ sharing in PCI bus

2006-09-23 Thread Paul Brook
On Saturday 23 September 2006 18:38, Fabrice Bellard wrote: > andrzej zaborowski wrote: > > This allows multiple PCI devices on a bus to use the same IRQ lines. > > The signals from all devices are ORed. It will only work if the guest > > OS'es drivers supports that. > > > > Linux guest required th

[Qemu-devel] qemu Makefile.target vl.c vl.h hw/pl080.c hw/ve...

2006-09-23 Thread Paul Brook
CVSROOT:/sources/qemu Module name:qemu Changes by: Paul Brook 06/09/23 17:40:58 Modified files: . : Makefile.target vl.c vl.h hw : pl080.c versatile_pci.c versatilepb.c Added files: hw : arm_gic.c arm_sysctl.c real

[Qemu-devel] Linux ACPI RSDT probe bug

2006-09-23 Thread Fabrice Bellard
Hi, While moving the PCI, MP Table and ACPI table initialisation code to the Bochs BIOS, I found that even recent Linux kernels do not scan the ACPI RSDT table at the right addresses in the Extended BIOS Data Area. Does anyone know why it was never fixed ? It is very disturbing for QEMU becau

Re: [Qemu-devel] [PATCH] IRQ sharing in PCI bus

2006-09-23 Thread Fabrice Bellard
andrzej zaborowski wrote: This allows multiple PCI devices on a bus to use the same IRQ lines. The signals from all devices are ORed. It will only work if the guest OS'es drivers supports that. Linux guest required that to have scsi disks and usb devices working at the same time on an emulated V

[Qemu-devel] [PATCH] IRQ sharing in PCI bus

2006-09-23 Thread andrzej zaborowski
This allows multiple PCI devices on a bus to use the same IRQ lines. The signals from all devices are ORed. It will only work if the guest OS'es drivers supports that. Linux guest required that to have scsi disks and usb devices working at the same time on an emulated Versatile PB machine. qemu

[Qemu-devel] Audio output for CS4231, patch/RFC

2006-09-23 Thread Blue Swirl
Hi, This patch hooks CS4231 to the audio subsystem. It's not ready for applying, though I can already make some noise. Any comments? _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.