[Qemu-devel] qemu/hw mips_r4k.c

2007-12-06 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/12/07 01:13:38 Modified files: hw : mips_r4k.c Log message: Remove broken ds1225y init, it is useless on this machine anyway. Spotted by Atsushi Nemoto. CVSWeb URLs: http

[Qemu-devel] qemu vl.c

2007-12-06 Thread Andrzej Zaborowski
CVSROOT:/sources/qemu Module name:qemu Changes by: Andrzej Zaborowski 07/12/06 22:11:20 Modified files: . : vl.c Log message: Give emulated drives more monitor-friendly name strings. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/vl.c?cvs

[Qemu-devel] qemu/hw omap.c

2007-12-06 Thread Andrzej Zaborowski
CVSROOT:/sources/qemu Module name:qemu Changes by: Andrzej Zaborowski 07/12/06 22:05:05 Modified files: hw : omap.c Log message: Correct my 'thinko' in OMAP interrupt handler commit, fix by Lauro Ramos Venancio. CVSWeb URLs: http://cvs.savannah.

[Qemu-devel] [PATCH] SVM IOIO intercept does not check all bits

2007-12-06 Thread Bernhard Kauer
The SVM IOIO intercept does not check all bits in the IO permission map for in/outs with word or long operand size. The attached patch fix this. Bernhard Kauer Index: target-i386/helper.c --- target-i386/helper.c 18 Nov 2007 01:44:38 - 1.95 +++ target-i386/helper.c 6 Dec 2007 19:22:55

Re: [Qemu-devel] [PATCH] sparc32 machine specific maximums

2007-12-06 Thread Blue Swirl
On 12/5/07, Robert Reif <[EMAIL PROTECTED]> wrote: > Blue Swirl wrote: > > >On 12/4/07, Robert Reif <[EMAIL PROTECTED]> wrote: > > > > > >>I would be surprised if an SMP kernel actually worked on a multi CPU SS5. > >> > >> > > > >Prepare for a surprise: > > > > > > > That's interesting because the

Re: [Qemu-devel] [PATCH v2] Real SCSI device passthrough

2007-12-06 Thread Laurent Vivier
Le jeudi 06 décembre 2007 à 09:30 -0600, Anthony Liguori a écrit : > Hi Laurent, Hi Anthony, > This patch is really neat. I'd like to do the same with virtio-blk. Thank you, > Can you separate out the general cleanups from the function of this patch? Yes, of course. I merged all by laziness..

Re: [Qemu-devel] EFI BIOS on QEMU

2007-12-06 Thread Kuniyasu Suzaki
Tristan, >>From: Tristan Gingold <[EMAIL PROTECTED]> >>Subject: Re: [Qemu-devel] EFI BIOS on QEMU >> >>IIRC, tiano only support eepro100. But I have never tested it. I see. I should try an e100 emulator on QEMU, if I want to use EFI on QMEU. -- suzaki

Re: [Qemu-devel] [PATCH v2] Real SCSI device passthrough

2007-12-06 Thread Anthony Liguori
Hi Laurent, This patch is really neat. I'd like to do the same with virtio-blk. Can you separate out the general cleanups from the function of this patch? Regards, Anthony Liguori Laurent Vivier wrote: This patch allows to connect the virtual SCSI interface of Qemu to a real SCSI device of

Re: [Qemu-devel] and now bus error for i386 guest

2007-12-06 Thread Blue Swirl
The first problem was gcc flag -mflat, removing that made the code better. Then there were these global register mangles. I made a wrapper around setjmp and longjmp and now the emulators can execute several blocks until crashing. Some helper calls don't work. Index: qemu/cpu-exec.c ===

[Qemu-devel] [PATCH v2] Real SCSI device passthrough

2007-12-06 Thread Laurent Vivier
This patch allows to connect the virtual SCSI interface of Qemu to a real SCSI device of the host. Using the devices /dev/sg, it allows to send the SCSI commands from the virtual SCSI interface to the real device. It has been tested with a SATA disk and an ATA CD burner with ide-scsi module and

[Qemu-devel] [PATCH 3/5] gcc4 warnings: qemu_put signedness fixes

2007-12-06 Thread Andre Przywara
qemu_{put|get}_{16,32,64}s takes an unsigned pointer, signed variables produce a warning. Since most of the variables are actually ints, I reverted to use qemu_{put|get}_{16,32,64} (without the 's' and using the value instead of the pointer). This fixes those warnings. I couldn't get the point

[Qemu-devel] [PATCH 4/5] gcc4 warnings: fix bdrv_get_geometry to return uint64_t

2007-12-06 Thread Andre Przywara
bdrv_get_geometry never returns a negative number, so I changed the return type to unsigned, changes quite a lot of declarations. -- Andre Przywara AMD-Operating System Research Center (OSRC), Dresden, Germany Tel: +49 351 277-84917 to satisfy European Law for business letters: AMD Saxony Li

[Qemu-devel] [PATCH 5/5] gcc4 warnings: miscellaneous minor things

2007-12-06 Thread Andre Przywara
some things found on the way: - missing include in hw/adlib.c - avoid double definition of NDEBUG in aes.h - fix some strange pointer acrobatics in hw/ide.c#padstr - fix getsockopt socklen_t warning - fix uninitialized variable warning in monitor.c - fix wrong signedness in le16_to_cpus calls in h

[Qemu-devel] [PATCH 0/5] fix various gcc4 compile warnings

2007-12-06 Thread Andre Przywara
Hi, after my first try last week now a reworked version of the patches to fix (gcc4) compiler warnings. These warnings occur when compiling for instance the "embedded" QEmu in Xen. I splitted the big patch to address several issues separately: 1/5: fix wrong types (wrong signedness) 2/5: fix char

[Qemu-devel] [PATCH 2/5] gcc4 warnings: fix char* signedness

2007-12-06 Thread Andre Przywara
Text strings are char*, buffers are usually uint8_t*, sometimes both are mixed, casts are mostly necessary here. -- Andre Przywara AMD-Operating System Research Center (OSRC), Dresden, Germany Tel: +49 351 277-84917 to satisfy European Law for business letters: AMD Saxony Limited Liability C

[Qemu-devel] [PATCH 1/5] gcc4 warnings: fix wrong signedness

2007-12-06 Thread Andre Przywara
This fixes the signedness of some variables to fit the signedness of the functions called. -- Andre Przywara AMD-Operating System Research Center (OSRC), Dresden, Germany Tel: +49 351 277-84917 to satisfy European Law for business letters: AMD Saxony Limited Liability Company & Co. KG, Wilsch

Re: [Qemu-devel] Re: [PATCH 2/3] virtio network device

2007-12-06 Thread Jamie Lokier
Anthony Liguori wrote: > virtio makes things a bit trickier though. There's a shared ring queue > between the host and guest. Does this work when the host and guest are different architectures, or different word sizes (x86/x86_64)? -- Jamie

Re: [Qemu-devel] EFI BIOS on QEMU

2007-12-06 Thread Tristan Gingold
On Dec 6, 2007, at 5:58 AM, Kuniyasu Suzaki wrote: Hello, We tried EFI BIOS on QEMU. http://bellard.org/qemu/efi-bios.tar.bz2 It' fine but the network is not effective. The "devices" command of EFI does not find a NIC. # Linux can not set up also network. Please tell me how to solve th

Re: [Qemu-devel] and now bus error for i386 guest

2007-12-06 Thread Blue Swirl
On 12/6/07, Shaddy Baddah <[EMAIL PROTECTED]> wrote: > Hi, > > Blue Swirl wrote: > > On 12/5/07, Shaddy Baddah <[EMAIL PROTECTED]> wrote: > >> 0x1e958 : ld [ %l6 + 0x8c ], %l1 > >> 0x1e95c : call 0xa90b4 > >> 0x1e960 : mov %l1, %o0 > > > > Maybe you missed the effect of the delay slot. Th