[Qemu-devel] Qemu / KQemu on 64-bit (x86_64) host systems

2007-04-16 Thread Werner Dittmann
During several tests with Qemu / Kqemu it seems that Qemu has problems with x86_64 host systems. My system is an AMD 64 X2 (Dual Core), running openSUSE 10.2, 2GB memory. Various versions of Qemu/Kqemu available and under test: 0.8.2, 0.9.0, and CVS. Kqemu 1.3.0pre9, 1.3.0pre11 When building

[Qemu-devel] qemu hw/ppc.c target-ppc/helper.c target-ppc/op...

2007-04-16 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer j_mayer 07/04/16 07:10:48 Modified files: hw : ppc.c target-ppc : helper.c op.c op_helper.c op_helper.h translate.c translate_init.c Log message:

[Qemu-devel] qemu/hw pflash_cfi02.c

2007-04-16 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer j_mayer 07/04/16 07:14:26 Modified files: hw : pflash_cfi02.c Log message: Parallel flash bugfixes: - always need to register flash area back to IO_MEM_ROMD at reset time

[Qemu-devel] qemu/target-ppc translate.c

2007-04-16 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer j_mayer 07/04/16 07:18:42 Modified files: target-ppc : translate.c Log message: PowerPC emulation bugfixes: - don't generate multiple exit_tb at the end of conditional branches -

RE: [Qemu-devel] question in running linux in qemu-system-arm

2007-04-16 Thread tang peilei
or if some body had successfully install linux in qemu-arm, could you tell me your steps ?? so mybe i can find out what is wrong in my kernel image. thank you. From: tang peilei [EMAIL PROTECTED] Reply-To: qemu-devel@nongnu.org To: qemu-devel@nongnu.org Subject: [Qemu-devel] question in

[Qemu-devel] qemu hw/ppc.c target-ppc/cpu.h target-ppc/trans...

2007-04-16 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer j_mayer 07/04/16 07:34:39 Modified files: hw : ppc.c target-ppc : cpu.h translate_init.c helper.c Log message: Add bus model (or input pins) into PowerPC CPU flags.

[Qemu-devel] qemu/hw ppc_chrp.c ppc_prep.c

2007-04-16 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer j_mayer 07/04/16 07:41:07 Modified files: hw : ppc_chrp.c ppc_prep.c Log message: PREP and heathrow machines only support PowerPC CPU with a 6xx bus. Mac99 machine may also

[Qemu-devel] [RFC] Parallel flash support option

2007-04-16 Thread J. Mayer
This patch adds a -pflash filename option to the Qemu command line. This seems needed to instanciate parallel NOR flashes using the pflash_cfi02 driver for embedded targets. Please comment. -- J. Mayer [EMAIL PROTECTED] Never organized Index: vl.c

[Qemu-devel] qemu hw/ppc_chrp.c hw/ppc_prep.c target-ppc/cpu...

2007-04-16 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer j_mayer 07/04/16 08:56:52 Modified files: hw : ppc_chrp.c ppc_prep.c target-ppc : cpu.h helper.c op_helper.c translate_init.c Log message: Add reset callbacks for PowerPC

Re: [Qemu-devel] question in running linux in qemu-system-arm

2007-04-16 Thread Sunil Amitkumar Janki
tang peilei wrote: or if some body had successfully install linux in qemu-arm, could you tell me your steps ?? so mybe i can find out what is wrong in my kernel image. thank you. I have followed these directions for installing Debian ARM in QEMU: http://www.aurel32.net/info/debian_arm_qemu.php

[Qemu-devel] qemu/target-ppc cpu.h helper.c op_helper.c

2007-04-16 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer j_mayer 07/04/16 09:21:46 Modified files: target-ppc : cpu.h helper.c op_helper.c Log message: PowerPC 4xx software driven TLB fixes + debug traces. Add code provision for more MMU

[Qemu-devel] [PATCH] Memory-mapped interface for RTC

2007-04-16 Thread Hervé Poussineau
Hi, This patch adds a memory-mapped interface for the mc146818 (RTC) controller. Hervé mm_rtc.diff Description: Binary data

[Qemu-devel] [PATCH] [MIPS] Choose number of TLBs at runtime

2007-04-16 Thread Hervé Poussineau
Hi, This patch removes the constant MIPS_TLB_NB, and replaces it by a CPU characteristic. I kept 16 TLBs for most of CPU models, except R4000 which has 48 TLBs. Hervé variable_tlb_size.diff Description: Binary data

[Qemu-devel] [PATCH] [MIPS] Acer Pica 61 machine

2007-04-16 Thread Hervé Poussineau
Hi, This patch adds a Acer Pica 61 machine emulation to Qemu. I based my work on http://www.sensi.org/~alec/mips/acer_pica.html This machine can be used with the firmwares available at http://hpoussineau.free.fr/qemu/firmware (the PICA 61 versions). I've tested NetBSD 1.5.1, NetBSD 1.6.2,

Re: [Qemu-devel] question in running linux in qemu-system-arm

2007-04-16 Thread tang peilei
thank you very much. but i want to make the image file by myself, not using other's image file. From: Sunil Amitkumar Janki [EMAIL PROTECTED] Reply-To: qemu-devel@nongnu.org To: qemu-devel@nongnu.org Subject: Re: [Qemu-devel] question in running linux in qemu-system-arm Date: Mon, 16 Apr 2007

Re: [Qemu-devel] question in running linux in qemu-system-arm

2007-04-16 Thread tang peilei
thank you for your help. is this config you build your kernel and run in qemu ? and can you debug yur kernel image in qemu ? i tried the gdb debug ,but it failed. This GDB was configured as --host=i686-pc-linux-gnu --target=arm-elf.../root/source/test/zImage: not in executable format: File

Re: [Qemu-devel] question in running linux in qemu-system-arm

2007-04-16 Thread Sunil Amitkumar Janki
tang peilei wrote: thank you for your help. is this config you build your kernel and run in qemu ? and can you debug yur kernel image in qemu ? i tried the gdb debug ,but it failed. I have tried to build it a few times but it always errors out somewhere in the drivers section, probably

Re: [Qemu-devel] question in running linux in qemu-system-arm

2007-04-16 Thread Sunil Amitkumar Janki
I am sorry but the kernel config I previously attached is for my PDA (Xscale). I have attached the Armedslack Current kernel config for ARM Versatile. Regard, Sunil # # Automatically generated make config: don't edit # Linux kernel version: 2.6.20 # Mon Feb 12 20:38:46 2007 # CONFIG_ARM=y #

Re: [Qemu-devel] Updated OpenBIOS images

2007-04-16 Thread Peter
On 4/16/07, Aurelien Jarno [EMAIL PROTECTED] wrote: Is it possible (even hackish) to ignore openbios an jump directly to the kernel when using -kernel? No. The kernel queries the BIOS for hardware configuration.

Re: [Qemu-devel] Updated OpenBIOS images

2007-04-16 Thread Blue Swirl
On 4/16/07, Aurelien Jarno [EMAIL PROTECTED] wrote: Blue Swirl a écrit : The Sparc64 image can be booted using either VGA or serial. In both cases, entering the Forth interpreter fails. Is it possible (even hackish) to ignore openbios an jump directly to the kernel when using -kernel? You

Re: [Qemu-devel] time inside qemu

2007-04-16 Thread Marius Monton
That's true, and I don't care about it. I'd like to get a method to stop/start time inside qemu in order to simulate execution of large pieces of hw out of qemu (look at qemu-systemc project). If qemu is freeze meanwhile a systemc simulation is in progress (simulating a HW device of system), time

[Qemu-devel] [PATCH] savevm/loadvm/migrate: flush aio while pending BHs exist

2007-04-16 Thread Uri Lublin
Hello, Sometimes (specifically when migrating/saving a guest which is doing a big IO operation, e.g. copying a big file) there are some (aio-related) BH operations pending. These pending BH operations are not saved as state. The ide device does not save these operations either, which may lead

Re: [Qemu-devel] qemu/pc-bios README openbios-sparc32 openbios-s...

2007-04-16 Thread Blue Swirl
On 4/16/07, Daniel Jacobowitz [EMAIL PROTECTED] wrote: On Sun, Apr 15, 2007 at 10:37:08PM +0300, Blue Swirl wrote: On 4/15/07, Paul Brook [EMAIL PROTECTED] wrote: On Sunday 15 April 2007 20:11, Blue Swirl wrote: Probably the linker is making sure the file offset and VMA are the same

Re: [Qemu-devel] time inside qemu

2007-04-16 Thread Paul Brook
On Monday 16 April 2007 15:41, Marius Monton wrote: Any benchmark/performance measurements you make inside qemu are meaningless. qemu performance bears no relation whatsoever to the performance characteristics of real hardware. That's true, and I don't care about it. I'd like to get a

Re: [Qemu-devel] qemu/pc-bios README openbios-sparc32 openbios-s...

2007-04-16 Thread Thiemo Seufer
Blue Swirl wrote: On 4/16/07, Daniel Jacobowitz [EMAIL PROTECTED] wrote: On Sun, Apr 15, 2007 at 10:37:08PM +0300, Blue Swirl wrote: On 4/15/07, Paul Brook [EMAIL PROTECTED] wrote: On Sunday 15 April 2007 20:11, Blue Swirl wrote: Probably the linker is making sure the file offset and

Re: [Qemu-devel] Re: livecd

2007-04-16 Thread Carl Karsten
Carl Karsten wrote: Now for a bug report: [EMAIL PROTECTED]:~/qemu$ qemu -cdrom wc-2.4.iso -boot c -m 196 -serial stdio whoops - [EMAIL PROTECTED]:~/qemu$ qemu | grep -i version QEMU PC emulator version 0.9.0, Copyright (c) 2003-2007 Fabrice Bellard I think I am running:

Re: [Qemu-devel] qemu/pc-bios README openbios-sparc32 openbios-s...

2007-04-16 Thread Blue Swirl
On 4/16/07, Daniel Jacobowitz [EMAIL PROTECTED] wrote: On Mon, Apr 16, 2007 at 06:01:04PM +0300, Blue Swirl wrote: I stand corrected. Is there anything that can be done to reduce this waste? For a BIOS image, you might be OK with ld -N - that should suppress the padding. Thanks, size is

[Qemu-devel] qemu vl.h hw/pckbd.c

2007-04-16 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer ths 07/04/16 17:20:48 Modified files: . : vl.h hw : pckbd.c Log message: Memory-mapped interface for PS/2 controller, by Herve Poussineau. CVSWeb URLs:

[Qemu-devel] qemu vl.h hw/mc146818rtc.c

2007-04-16 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer ths 07/04/16 17:21:21 Modified files: . : vl.h hw : mc146818rtc.c Log message: Memory-mapped interface for RTC, by Herve Poussineau. CVSWeb URLs:

Re: [Qemu-devel] qemu vl.h hw/pckbd.c

2007-04-16 Thread Jocelyn Mayer
On Mon, 2007-04-16 at 17:20 +, Thiemo Seufer wrote: CVSROOT: /sources/qemu Module name: qemu Changes by: Thiemo Seufer ths 07/04/16 17:20:48 Modified files: . : vl.h hw : pckbd.c Log message: Memory-mapped interface for PS/2

[Qemu-devel] qemu/pc-bios README openbios-sparc32 openbios-s...

2007-04-16 Thread Blue Swirl
CVSROOT:/cvsroot/qemu Module name:qemu Changes by: Blue Swirl blueswir1 07/04/16 17:41:15 Modified files: pc-bios: README openbios-sparc32 openbios-sparc64 Log message: Update OpenBIOS Sparc images to SVN 125 CVSWeb URLs:

Re: [Qemu-devel] [PATCH] [MIPS] Acer Pica 61 machine

2007-04-16 Thread Natalia Portillo
How is it suppossed to boot? It does not shows anything on screen, even it lacks a VGA output with default command line. El lun, 16-04-2007 a las 11:41 +0200, Hervé Poussineau escribió: Hi, This patch adds a Acer Pica 61 machine emulation to Qemu. I based my work on

[Qemu-devel] qemu Makefile Makefile.target configure cpu-all.h

2007-04-16 Thread Blue Swirl
CVSROOT:/cvsroot/qemu Module name:qemu Changes by: Blue Swirl blueswir1 07/04/16 18:27:06 Modified files: . : Makefile Makefile.target configure cpu-all.h Log message: Sparc host update (Ben Taylor, Martin Bochnig) CVSWeb URLs:

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

2007-04-16 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer j_mayer 07/04/16 20:09:45 Modified files: . : Makefile.target vl.h hw : ppc.c target-ppc : cpu.h exec.h op.c translate_init.c Added files: hw

[Qemu-devel] sizeof(target_int)

2007-04-16 Thread Kirill A. Shutemov
Is it possible to get size of target int? Why is only TARGET_LONG_BITS defined? I have need of size of target int for correct define fsid_t for linux user mode. fsid_t is struct { int val[2]; } for linux. -- Regards, Kirill A. Shutemov + Belarus, Minsk + Velesys LLC, http://www.velesys.com/

Re: [Qemu-devel] time inside qemu

2007-04-16 Thread Eduardo Felipe
Hi, I just tried with cpu_disable_ticks() and cpu_enable_ticks(). It seems to work partially: at least now system date and time are out of sync.. Maybe a more accurate way to do this is mimicking stop and continue monitor commands: vm_stop(EXCP_INTERRUPT); [SystemC simulation] vm_start();

Re: [Qemu-devel] [PATCH] ARM XScale core features and PXA270 and PXA255 emulation.

2007-04-16 Thread Christian MICHON
On 3/16/07, andrzej zaborowski [EMAIL PROTECTED] wrote: Implements basic differences between XScale and plain ARM. The patch also adds the main on-chip peripherals of PXA2xx: interrupt controller, DMA, GPIO controller, SSP, I2C, I2S busses, UARTs, FIR port, RTC, Clock/Power/Memory managers.

Re: [Qemu-devel] two repeatable kqemu-related crashes

2007-04-16 Thread John Morris
On Fri, 2007-04-13 at 02:31, Don Kitchen wrote: Hi all I've found two repeatable (possibly related) ways to crash kqemu with 0.9.0 and several earlier versions also I think. It's under linux 2.6.9 fully updated CentOS 4.4 (clone of RH enterprise linux 4.4) I'm running in a similar setting

Re: [Qemu-devel] 16-bit (and 8-bit) emulation

2007-04-16 Thread Natalia Portillo
Windows 3.1 is not an OS. And there is no Windows for 286 protected mode. There is OS/2 and UNIXen but none works (OS/2 2.0 and later UNIXen works but they are 386 protected mode) El mar, 17-04-2007 a las 00:35 +0100, Derek Fawcus escribió: On Sun, Apr 15, 2007 at 08:55:17PM +0100, Natalia

Re: [Qemu-devel] Re: Detecting an assembly instruction in QEMU

2007-04-16 Thread Atif Hashmi
Hi, I have another small question. Actually, I am implementing hardware transactional memory support in QEMU. I have implemented the following two helper functions functions in targer-i386/helper.c void helper_StartTransaction() void helper_CommitTransaction(); My application looks as follows.

Re: [Qemu-devel] Re: Detecting an assembly instruction in QEMU

2007-04-16 Thread Atif Hashmi
Sorry for my previous incomplete email Hi, I have another small question. Actually, I am implementing hardware transactional memory support in QEMU. I have implemented the following two helper functions functions in targer-i386/helper.c void helper_StartTransaction() void

[Qemu-devel] another lsi53c895a patch

2007-04-16 Thread Wang Cheng Yeh
Index: hw/lsi53c895a.c === RCS file: /sources/qemu/qemu/hw/lsi53c895a.c,v retrieving revision 1.6 diff -u -p -r1.6 lsi53c895a.c --- hw/lsi53c895a.c 7 Apr 2007 18:14:41 - 1.6 +++ hw/lsi53c895a.c 17 Apr 2007 02:12:05

[Qemu-devel] qemu vl.h hw/ppc405_uc.c target-ppc/translate_i...

2007-04-16 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer j_mayer 07/04/17 02:50:56 Modified files: . : vl.h hw : ppc405_uc.c target-ppc : translate_init.c Added files: hw : ppc405.h Log message:

[Qemu-devel] Re: qemu vl.h hw/ppc405_uc.c target-ppc/translate_i...

2007-04-16 Thread Lorenzo Campedelli
Hello, is support for the 440GX processor foreseen anytime soon? (I noticed it i labelled with TODO...) Which is the most similiar PPC processor already supported? What are the differences (in term of things needed to support it)? Thanks in advance, Lorenzo

Re: [Qemu-devel] Qemu / KQemu on 64-bit (x86_64) host systems

2007-04-16 Thread andrzej zaborowski
Hi, On 16/04/07, Werner Dittmann [EMAIL PROTECTED] wrote: During several tests with Qemu / Kqemu it seems that Qemu has problems with x86_64 host systems. My system is an AMD 64 X2 (Dual Core), running openSUSE 10.2, 2GB memory. Various versions of Qemu/Kqemu available and under test: 0.8.2,