[Qemu-devel] Single stepping for PPC broken?

2008-01-08 Thread Marius Groeger
Hello all, I'm having problems with qemu's (-M prep, -cpu 604) handling of the MSR_SE bit. My gdbstub can successfully step along regular code, but qemu chokes when stepping over a branch instruction like "blr". (Needless to say, that same gdbstub works fine on real hardware). I tried older ve

Re: [Qemu-devel] Re: Windows Vista 64 bit on QEMU

2008-01-08 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> "C.W. Betts" <[EMAIL PROTECTED]> writes: : Don't take my word for it, but I don't think AMD64 (or EM64T) uses : efi. I'd look it up for myself, but I gotta go to bed. Generally speaking they don't. Apple Intel Macs are the only ones I know that use efi

Re: [Qemu-devel] Re: Windows Vista 64 bit on QEMU

2008-01-08 Thread C.W. Betts
Don't take my word for it, but I don't think AMD64 (or EM64T) uses efi. I'd look it up for myself, but I gotta go to bed. - Original Message - From: Anup Gangwar To: qemu-devel@nongnu.org Sent: Tuesday, January 08, 2008 3:51 AM Subject: [Qemu-devel] Re: Windows Vista 64 bit o

Re: [Qemu-devel] Configuring qemu on Solaris

2008-01-08 Thread Ben Taylor
Juergen Keil <[EMAIL PROTECTED]> wrote: > > Andreas Färber <[EMAIL PROTECTED]> wrote: > > > The following part of configure is triggered on a fully-updated > > Solaris 10 8/07 amd64: > > > > # > > # Solaris specific configure tool chain decisions > > # > > if test "$solaris" = "yes" ; t

Re: [Qemu-devel] Configuring qemu on Solaris

2008-01-08 Thread Andreas Färber
Am 08.01.2008 um 11:39 schrieb Juergen Keil: Andreas Färber <[EMAIL PROTECTED]> wrote: The following part of configure is triggered on a fully-updated Solaris 10 8/07 amd64: # # Solaris specific configure tool chain decisions # if test "$solaris" = "yes" ; then # # gcc for solaris 10/fc

[Qemu-devel] scsi emulation throughput (was: Re: qemu-cvs FreeBSD guests, cirrus, vmwarevga emulation - experimental qemu-devel FreeBSD port update available for testing)

2008-01-08 Thread Juergen Lock
On Sun, Jan 06, 2008 at 11:44:50PM +0100, Juergen Lock wrote: > Hi! > > Yesterday (so, just before the qemu version commit...) I prepared a > FreeBSD qemu-devel port update using the 2008-01-05_05 snapshot, > http://people.freebsd.org/~nox/qemu/qemu-devel-20080105.patch > and I already got

[Qemu-devel] qemu vl.c

2008-01-08 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 08/01/08 19:32:16 Modified files: . : vl.c Log message: Fix segfault caused by fall through, by Juergen Lock. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/vl.c?cvsroot=qem

RE: [Qemu-devel] Request for Qemu bugzilla

2008-01-08 Thread Alexey Eremenko
Hi Lauro Ramos Venancio ! >I would like to volunteer me to maintain a stable branch (and eventually a bug >track) . >In 2008, I will work full time on qemu and I will need a stable version. I fully support the idea of having stable branch. Count me in, as your stable-branch BETA-tester :) -Al

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

2008-01-08 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 08/01/08 18:11:09 Modified files: target-mips: op_helper.c Log message: Fix broken absoluteness check for cabs.d.*. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/target-mips/op_help

[Qemu-devel] patch: qemu-system-arm -old-param segfault

2008-01-08 Thread Juergen Lock
Hi! I guess thats what I get for not testing cvs for so long... :) There's a break missing in vl.c, patch attached. The good news is with this patch the spitz emu seems to still work as well as with the (patched) August cvs snapshot that I was using when last tesing it. enjoy, Juergen

Re: [Qemu-devel] Request for Qemu bugzilla

2008-01-08 Thread Lauro Ramos Venancio
> The main limiting factor is a volunteer to do the work. You can always do > an "unofficial" bugfix-only release and get it blessed later. (That's how > the Windows and MacOS X binary releases seem to work.) I would like to volunteer me to maintain a stable branch (and eventually a bug track) .

[Qemu-devel] [PATCH] Fix double backslash problem in Windows

2008-01-08 Thread Hervé Poussineau
Hi, On Windows, since December 2nd, files names provided in command line have to double their backslash to work correctly, for example: "-hda c:\\disks\\qemu.qcow" instead of -hda c:\disks\qemu.qcow" This patch removes this need and reverts back to Qemu 0.9.0 behaviour Hervé no-double-ba

Re: [Qemu-devel] [PATCH] USB 2.0 EHCI emulation

2008-01-08 Thread Avi Kivity
Paul Brook wrote: On Tuesday 08 January 2008, Dor Laor wrote: On Tue, 2008-01-08 at 01:30 +, Paul Brook wrote: -The host kernel was configured with dynamic tick & hi-res timers, to allow the desired timer resolution. USB 2.0 microframe is 125usec. It still works even witho

[Qemu-devel] [PATCH] Add option to disable TB cache

2008-01-08 Thread Hervé Poussineau
Hi, This patch adds the "-translation no-cache" option to disable the use of Translation Blocks Cache. The emulated system runs much slower, but it is easier to debug it. The -translation value can be extended to handle more settings. It also adds help for "-startdate" flag and displays rig

Re: [Qemu-devel] [PATCH 9/9] Bochsbios patch

2008-01-08 Thread Thiemo Seufer
Alexander Graf wrote: > Several ACPI entries were missing from the bios and the new controllers > need to be initialized properly. > Furthermore COM2 is not being emulated, so Mac OS X broke trying to > initialize it. > The HPET ACPI table parts are optional. > > This patch is against the bochsbio

Re: [Qemu-devel] [PATCH] USB 2.0 EHCI emulation

2008-01-08 Thread Paul Brook
On Tuesday 08 January 2008, Dor Laor wrote: > On Tue, 2008-01-08 at 01:30 +, Paul Brook wrote: > > > -The host kernel was configured with dynamic tick & hi-res timers, to > > > allow the desired timer resolution. USB 2.0 microframe is 125usec. > > It still works even without accurate timing dem

[Qemu-devel] [PATCH 9/9] Bochsbios patch

2008-01-08 Thread Alexander Graf
Several ACPI entries were missing from the bios and the new controllers need to be initialized properly. Furthermore COM2 is not being emulated, so Mac OS X broke trying to initialize it. The HPET ACPI table parts are optional. This patch is against the bochsbios. Should this rather be sent to the

[Qemu-devel] [PATCH 8/9] Multiboot -kernel support

2008-01-08 Thread Alexander Graf
To boot Mac OS X a mach bootloader has to be run. David Elliot modified the original i386 Mac OS X BIOS based bootloader to emulate the EFI entries and support multiboot, an easy but straight-forward kernel loading interface founded by grub. To boot multiboot-compliant kernels directly, this adds s

[Qemu-devel] [PATCH 7/9] Intel Mac machine

2008-01-08 Thread Alexander Graf
To leave the default behavior unchanged, this adds a "mac" machine definition for x86 that automatically chooses the right hardware for an emulated Intel Mac. As x86 did not really know about models, the also adds a simple model interface. Index: qemu-snapshot-2008-01-08_05/hw/boards.h

[Qemu-devel] [PATCH 6/9] ICH-6 IDE controller

2008-01-08 Thread Alexander Graf
The oldest supported IDE controller in Mac OS X is the ICH6. This is an incomplete implementation for that controller, that suffices for running Mac OS X and worked with libata for me as well. Index: qemu-snapshot-2008-01-08_05/hw/ide.c ==

[Qemu-devel] [PATCH 5/9] CoreDUO CPU

2008-01-08 Thread Alexander Graf
Mac OS X as is has a condition to only run on family 13 Intel CPUs, so this adds a definition for a CoreDuo CPU. Furthermore it adds the MSR Mac OS X uses to read the CPU multiplier and the CPUID used to read the cache information. Index: qemu-snapshot-2008-01-08_05/target-i386/cpu.h ==

[Qemu-devel] [PATCH 4/9] AppleSMC device

2008-01-08 Thread Alexander Graf
Apples hardware dongle sits withing the fan control. To get Mac OS X up and running, this control device needs to be emulated and given the correct dongle key. This key has to be given via the command line. Index: qemu-snapshot-2008-01-08_05/Makefile.target =

[Qemu-devel] [PATCH 3/9] LPC device

2008-01-08 Thread Alexander Graf
The LPC is the "Low Pin Control", the reincanation of the "PCI-ISA-Bridge". As all Intel Macs have at least an ICH7 chipset, this bridge is required to exist and hosts the HPET device. Index: qemu-snapshot-2008-01-08_05/Makefile.target ===

[Qemu-devel] [PATCH 2/9] HPET device

2008-01-08 Thread Alexander Graf
This patch adds an HPET emulator device. Normally the HPET is not used by Mac OS X, but required to exist. This is mostly a dummy implementation to satisfy Mac OS X and I am not sure if it is safe to use. As it is only activated on the IntelMac target, I do not expect any problems with that though.

[Qemu-devel] [PATCH 1/9] SMBIOS support

2008-01-08 Thread Alexander Graf
This patch is based on the SMBios patch by Ryan Harper. As it is currently unclear, if this approach is taken or if the Bochsbios is going to be patched, I would recommend to not apply this patch for now. I still submit it for completeness and because I have touched parts of it. Mac OS X will not

[Qemu-devel] [PATCH 0/9] Intel Mac target support

2008-01-08 Thread Alexander Graf
Hi, the following patchset enables qemu to run Mac OS X with disabled AppleIntelCPUPowerManagement.kext, by emulating hardware that resembles an Intel Mac close enough. The following patches are included: 1. DMI This is based on the DMI support by Ryan Harper. As it is currently unclear, if this

Re: [Qemu-devel] EFI BIOS on QEMU

2008-01-08 Thread Tristan Gingold
On Jan 7, 2008, at 9:19 PM, Stefan Weil wrote: Hi, I just wanted to run QEMU CVS with EFI BIOS: i386-softmmu/qemu -snapshot -L efi-bios -hda efi-bios/efi.disk linux.img -net nic,model=i82551 -net user i82551 is part of the E100 emulator (eepro100.c). It does not work - no output on serial

Re: [Qemu-devel] build error

2008-01-08 Thread Edgar E. Iglesias
On Tue, Jan 08, 2008 at 03:43:34PM +0100, Andreas Färber wrote: > Hello, > > Am 08.01.2008 um 00:59 schrieb Rob Landley: > >> On Monday 07 January 2008 05:27:19 Edgar E. Iglesias wrote: >>> I needed this or similar to build recent qemu's with gcc-4. >>> >> Is that all you needed, and did the result

Re: [Qemu-devel] build error

2008-01-08 Thread Andreas Färber
Hello, Am 08.01.2008 um 00:59 schrieb Rob Landley: On Monday 07 January 2008 05:27:19 Edgar E. Iglesias wrote: I needed this or similar to build recent qemu's with gcc-4. Is that all you needed, and did the result work? For system emulation on OSX/ppc I only needed a fix for always_inline

Re: [Qemu-devel] [RFC] ide: multi-profile DVD-ROM support v2.1

2008-01-08 Thread Thiemo Seufer
Carlo Marcelo Arenas Belon wrote: > This is version 2.1 of the patch to re-implement the "GET CONFIGURATION" > MMC-6 command as used by the IDE emulation to match the published SPEC > and that was originally published in : > > http://lists.gnu.org/archive/html/qemu-devel/2007-11/msg00849.html >

[Qemu-devel] qemu/linux-user main.c

2008-01-08 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 08/01/08 14:39:44 Modified files: linux-user : main.c Log message: Fix section switching buglet, by Edgar E. Iglesias. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/main.

[Qemu-devel] Re: [kvm-devel] Slow Kernel Boot

2008-01-08 Thread Amit Shah
On Tuesday 08 January 2008 18:31:53 Amit Shah wrote: > On Tuesday 08 January 2008 12:12:53 Amit Shah wrote: > > On Tuesday 08 January 2008 03:35:48 Dave Hansen wrote: > > > With kvm-44, I thought my kernel was freezing during boot if I gave it > > > 1G of RAM. But, it boots fine with 512M. > > > >

[Qemu-devel] [RFC] ide: multi-profile DVD-ROM support v2.1

2008-01-08 Thread Carlo Marcelo Arenas Belon
This is version 2.1 of the patch to re-implement the "GET CONFIGURATION" MMC-6 command as used by the IDE emulation to match the published SPEC and that was originally published in : http://lists.gnu.org/archive/html/qemu-devel/2007-11/msg00849.html Important changes from the previous patches :

[Qemu-devel] mmap and pagesizes

2008-01-08 Thread Edgar E. Iglesias
Hello, I've been puzzled again by a problem related to different page-sizes between the host and the target. This time it's with fixed file mmaps. Apparently, when mapping files into a memory area larger than the file, accesses to pages beyond the file size will cause a SIGBUS. For example, if

[Qemu-devel] Re: Windows Vista 64 bit on QEMU

2008-01-08 Thread Anup Gangwar
Hello All, I did not get any response to this E-mail. Could someone please let me know in case there is any other forum to discuss such issues. The topics on QEMU user forum (relating to this issue) seem to be inactive. Thanks for the help. Regards, Anup On Jan 4, 2008 9:50 AM, Anup Gangwar <[

Re: [Qemu-devel] Configuring qemu on Solaris

2008-01-08 Thread Juergen Keil
Andreas Färber <[EMAIL PROTECTED]> wrote: > The following part of configure is triggered on a fully-updated > Solaris 10 8/07 amd64: > > # > # Solaris specific configure tool chain decisions > # > if test "$solaris" = "yes" ; then ># ># gcc for solaris 10/fcs in /usr/sfw/bin doesn't co

Re: [Qemu-devel] [PATCH] USB 2.0 EHCI emulation

2008-01-08 Thread Dor Laor
On Tue, 2008-01-08 at 01:30 +, Paul Brook wrote: > > -The host kernel was configured with dynamic tick & hi-res timers, to > > allow the desired timer resolution. USB 2.0 microframe is 125usec. > It still works even without accurate timing demands. Only isochronous mode will have problems an

Re: [Qemu-devel] build error

2008-01-08 Thread Edgar E. Iglesias
On Mon, Jan 07, 2008 at 05:59:24PM -0600, Rob Landley wrote: > On Monday 07 January 2008 05:27:19 Edgar E. Iglesias wrote: > > Hello, > > > > I needed this or similar to build recent qemu's with gcc-4. > > > > Best regards > > Is that all you needed, and did the result work? > > The 0.9.1 build I

RE: [Qemu-devel] [PATCH] USB 2.0 EHCI emulation

2008-01-08 Thread Arnon Gilboa
The WinXP guest seems to work fine with the timer resolution, accuracy and latency of qemu. The problem with linux guests might be related to this issue. I will test the ehci emulation without the specified kernel config and see how can we handle timing issues in a more qemu-oriented way. Any tip?