[Qemu-devel] PATCH: Solaris softfloat

2006-04-28 Thread Ben Taylor
This is an updated patch to modify configure and files in the fpu directory to allow qemu to compile on Solaris. This patch has been extensively tested with Solaris 10 on X86 and Solaris 9 on Sparc. diff -ruN qemu/configure qemu-solaris/configure --- qemu/configure 2006-04-27

[Qemu-devel] PATCH: solaris sparc and hw patch

2006-04-28 Thread Ben Taylor
This patch adds support for compiling/running on Solaris SPARC (9 and 10) This patch allows qemu to compile on Solaris X86 and SPARC, under Solaris 9, 10 and Solaris express.. This should apply against the current CVS tree. Comments? Ben diff -ruN qemu/Makefile qemu-solaris/Makefile ---

Re: [Qemu-devel] [PATCH] Fix overflow conditions for MIPS add / subtract

2006-04-28 Thread Daniel Jacobowitz
On Thu, Apr 13, 2006 at 08:49:19PM +0200, Stefan Weil wrote: -if ((T0 31) ^ (T1 31) ^ (tmp 31)) { +if (((tmp ^ T1 ^ (-1)) (T0 ^ T1)) 31) { + /* operands of same sign, result different sign */ CALL_FROM_TB1(do_raise_exception_direct, EXCP_OVERFLOW); } I see this

Re: [Qemu-devel] PATCH: solaris sparc and hw patch

2006-04-28 Thread Ben Taylor
Ben Taylor [EMAIL PROTECTED] wrote: This patch adds support for compiling/running on Solaris SPARC (9 and 10) This patch allows qemu to compile on Solaris X86 and SPARC, under Solaris 9, 10 and Solaris express.. This should apply against the current CVS tree. But will require

Re: [Qemu-devel] [PATCH] Fix overflow conditions for MIPS add / subtract

2006-04-28 Thread Dirk Behme
Daniel Jacobowitz wrote: I haven't tested the patched qemu, but I did test the expressions themselves in standalone code, and they definitely do not detect overflow. Maybe you can test Ralf's alternative proposal http://lists.gnu.org/archive/html/qemu-devel/2006-02/msg00154.html as well?

[Qemu-devel] [usb] fixes for emulated usb hub - rediff against current

2006-04-28 Thread Lonnie Mendez
This is a rediff against CVS of the hub patch. It implements changes to allow dynamic size for ports 7 (the hub uses 8 ports so we run into problems). The FreeBSD workaround as mentioned in the patch is best explained here: http://fxr.watson.org/fxr/source/dev/usb/uhub.c#L83 uhub

[Qemu-devel] qemu/fpu softfloat-native.h

2006-04-28 Thread Paul Brook
CVSROOT:/sources/qemu Module name:qemu Branch: Changes by: Paul Brook [EMAIL PROTECTED] 06/04/28 15:26:51 Modified files: fpu: softfloat-native.h Log message: Fix typo in BSD FP rounding mode names. CVSWeb URLs:

Re: [Qemu-devel] [PATCH] Fix overflow conditions for MIPS add / subtract

2006-04-28 Thread Daniel Jacobowitz
On Fri, Apr 28, 2006 at 04:51:39PM +0200, Dirk Behme wrote: Daniel Jacobowitz wrote: I haven't tested the patched qemu, but I did test the expressions themselves in standalone code, and they definitely do not detect overflow. Maybe you can test Ralf's alternative proposal

Re: [Qemu-devel] [PATCH] Fix overflow conditions for MIPS add / subtract

2006-04-28 Thread Julian Seward
-if ((T0 31) ^ (T1 31) ^ (tmp 31)) { +if (((tmp ^ T1 ^ (-1)) (T0 ^ T1)) 31) { + /* operands of same sign, result different sign */ CALL_FROM_TB1(do_raise_exception_direct, EXCP_OVERFLOW); } I see this went in, but - huh? The math doesn't make sense.

[Qemu-devel] Updated PATCH: solaris-softloat.diff

2006-04-28 Thread Ben Taylor
After figuring out there was some typos in fpu/softfloat-native.h, this patch has been reworked to more closely mirror the BSD structure. This is against the current CVS post pbrook's patching of fpu/softfloat-native.h Bendiff -ruN qemu/configure qemu-solaris/configure --- qemu/configure

[Qemu-devel] Solaris SPARC host patch

2006-04-28 Thread Ben Taylor
This patch is to allow Solaris Hardware host a qemu session. This is a current patch requires CVS plus the latest current solaris-softfloat.diff patch diff -ruN qemu/Makefile qemu-solaris/Makefile --- qemu/Makefile 2006-04-23 13:57:59.0 -0400 +++ qemu-solaris/Makefile 2006-04-28

Re: [Qemu-devel] hw/ide.c patch

2006-04-28 Thread Hetz Ben Hamo
Solaris for Sparc on X86? Thanks, Hetz On 4/28/06, Ben Taylor [EMAIL PROTECTED] wrote: With this patch, I can boot and install Solaris Express from a local DVD drive. Previously, the DVD would boot, but halfway through the questions, it would come up and tell me it wasn't Solaris DVD. Ben

[Qemu-devel] Bios Bug?

2006-04-28 Thread Ben Dailey
After much searching I believe I have found a problem with the bochs bios in cvs. I found that I was not able to boot the fedora core 5 or 4 or 3 rescue cds or the Fedora 4 image from free.oszoo.org. Fedora core 2 booted correctly as well as Windows 2000 and Windows XP. I tried the build with and

[Qemu-devel] Qemu cleanup

2006-04-28 Thread Ben Taylor
This is just a cosmetic patch to move declarations to the begining of functions, and change things like int x=(rand(y)) to int x; x=(rand(y)); As always, this is against the current CVS archive. Ben Reporting-MTA: dns; eastrmmtao04.cox.net Arrival-Date: Fri, 28 Apr 2006 14:54:59 -0400

Re: [Qemu-devel] hw/ide.c patch

2006-04-28 Thread Ben Taylor
Hetz Ben Hamo [EMAIL PROTECTED] wrote: Solaris for Sparc on X86? Solaris for X86, on X86. Prior attempts with a known working DVD failed when it tried to read the catalog off the disk. Ben ___ Qemu-devel mailing list

Re: [Qemu-devel] Qemu cleanup

2006-04-28 Thread Anthony Liguori
There is no patch attached to this note. Regards, Anthony Liguori Ben Taylor wrote: This is just a cosmetic patch to move declarations to the begining of functions, and change things like int x=(rand(y)) to int x; x=(rand(y)); As always, this is against the current CVS archive. Ben

Re: {Filename?} [Qemu-devel] Qemu cleanup

2006-04-28 Thread Ben Dailey
You may want to send this may having gotten stripped by peoples viruses scanners. Ben Ben Taylor [EMAIL PROTECTED] 04/28/06 3:28 PM Warning: This message has had one or more attachments removed Warning: (qemu-cleanup.diff.htm). Warning: Please read the bhmsd-Attachment-Warning.txt

Re: [Qemu-devel] Bios Bug?

2006-04-28 Thread Ed Swierk
On 4/28/06, Ben Dailey [EMAIL PROTECTED] wrote: After much searching I believe I have found a problem with the bochs bios in cvs. I found that I was not able to boot the fedora core 5 or 4 or 3 rescue cds or the Fedora 4 image from free.oszoo.org. Fedora core 2 booted correctly as well as

Re: [Qemu-devel] Bios Bug?

2006-04-28 Thread Ben Dailey
Ed, You should also note that I have not been able to use the new -kernel-kqemu option with the old bios. The bios in cvs was specifically patched for the new kqemu support from my understanding so that is expected. Just a quick heads. Thanks, Ben [EMAIL PROTECTED] 04/28/06 4:05 PM On

[Qemu-devel] Re: playing with qemu's 8139 nic and FreeBSD (loopback mode missing?)

2006-04-28 Thread Juergen Lock
On Fri, Apr 28, 2006 at 08:25:02PM +0400, Igor Kovalenko wrote: Juergen Lock wrote: I played with qemu -monitor stdio -m 256 -cdrom 6.1-RC1-i386-disc1.iso -usb -soundhw es1370 -kernel-kqemu -net nic,model=rtl8139 -net user and got it as far as re0: diagnostic failed, failed to

Re: [Qemu-devel] VLAN connection issue between Qemu instances.

2006-04-28 Thread Ben Dailey
Karel, Try: qemu -hda openbsd-fw1.img -net nic,macaddr=22:33:77:55:66:00 -net socket,listen=127.0.0.1:11234 qemu -hda openbsd-fw2.img -net nic,macaddr=11:22:33:44:55:66 -net socket,connect=127.0.0.1:11234 Ben [EMAIL PROTECTED] 04/28/06 5:04 PM Hello, I'm trying to get qemu 0.8.0 working

Re: [Qemu-devel] Bios Bug?

2006-04-28 Thread Fabrice Bellard
The bug comes from the APM CPU idle function added in the Bochs BIOS. I am about to commit a fix. Fabrice. Ben Dailey wrote: Ed, You should also note that I have not been able to use the new -kernel-kqemu option with the old bios. The bios in cvs was specifically patched for the new kqemu

[Qemu-devel] qemu/pc-bios bios.bin bios.diff

2006-04-28 Thread Fabrice Bellard
CVSROOT:/sources/qemu Module name:qemu Branch: Changes by: Fabrice Bellard [EMAIL PROTECTED] 06/04/28 22:47:21 Modified files: pc-bios: bios.bin bios.diff Log message: APM CPU idle fix CVSWeb URLs:

Re: [Qemu-devel] VLAN connection issue between Qemu instances.

2006-04-28 Thread Karel Gardas
Ben, thanks for fast reply, but unfortunately this does not help. Interesting that now ping in guest works forever, which means it's not complaining about host down, but also loses 100% packets. What I see in tcpdump on host are good packets from server side qemu, but wrong (TCP checksum

Re: [Qemu-devel] Bios Bug?

2006-04-28 Thread Ed Swierk
On 4/28/06, Fabrice Bellard [EMAIL PROTECTED] wrote: The bug comes from the APM CPU idle function added in the Bochs BIOS. I am about to commit a fix. The fixed BIOS works fine. Thanks! --Ed ___ Qemu-devel mailing list Qemu-devel@nongnu.org

[Qemu-devel] Qemu cleanup. tale duex

2006-04-28 Thread Ben Taylor
Ben Dailey [EMAIL PROTECTED] wrote: You may want to send this may having gotten stripped by peoples viruses scanners. Ben Ben Taylor [EMAIL PROTECTED] 04/28/06 3:28 PM This is just a cosmetic patch to move declarations to the begining of functions, and change things like int

Re: [Qemu-devel] Large USB patch

2006-04-28 Thread Lonnie Mendez
lo. The bug with the usb hub is a simple fix. We're simply using handle_packet to pass USB_MSG_RESET when this should be passed to handle_msg: hw/usb-hub.c - line 388: case PORT_RESET: if (dev) { dev-handle_packet(dev,

Re: [Qemu-devel] vnc patch

2006-04-28 Thread Christian Bourque
Eric, is it possible to tweak something to fix the mouse issue? Because under w2k my mouse is completely out of sync... I tried disabling mouse acceleration like I read on the list but that didn't help... Thanks Christian ___ Qemu-devel mailing

Re: [Qemu-devel] vnc patch

2006-04-28 Thread Lonnie Mendez
Christian Bourque wrote: Eric, is it possible to tweak something to fix the mouse issue? Because under w2k my mouse is completely out of sync... I tried disabling mouse acceleration like I read on the list but that didn't help... CVS has a usb tablet mouse that features absolute coordinate

Re: [Qemu-devel] vnc patch

2006-04-28 Thread Lonnie Mendez
Lonnie Mendez wrote: There is another vnc patch by Anthony Liguori (same person involved with the tablet along with others). From what I've heard it will reduce the bandwidth usage greatly. Also, afaik this is still under development. The source was posted on the irc channel a few

Re: [Qemu-devel] Large USB patch

2006-04-28 Thread Lonnie Mendez
Ran into this as well when testing a gps device. Looking at hw/usb.c and usb_20 8.5.3 now. frame 1346: pid=OUT addr=0x03 ep=2 len=1 data_out= 30 usb_generic_handle_data(): handle setup usb.c: usb_generic_handle_data, send more than oneconfig paket out not implemented yet - FIXME frame

Re: [Qemu-devel] vnc patch

2006-04-28 Thread Anthony Liguori
Lonnie Mendez wrote: Lonnie Mendez wrote: There is another vnc patch by Anthony Liguori (same person involved with the tablet along with others). From what I've heard it will reduce the bandwidth usage greatly. Also, afaik this is still under development. The source was posted on the