Re: [Qemu-devel] Create Fake PCI Cards

2007-05-04 Thread Clemens Kolbitsch
If you need a wireless PCI device, I can provide code for TNETW1130 (ACX111). Get it from http://svn.berlios.de/svnroot/repos/ar7-firmware/qemu/trunk/hw/tnetw1130.c It works partially with an emulated Linux 2.6.20: the PCI card is recognized, and it loads firmware. Stefan hi! did you ever

[Qemu-devel] Detecting a kernel stack change

2007-05-04 Thread Nuri Eady
I'd like to detect when the kernel stack changes and it seems to me that might be possible by looking at when the tss structure is accessed and the esp element is changed. Linux uses a command something like the following to update the esp in the tss during a task switch... init_tss[smp_processor_

Re: [Qemu-devel] why "-hda myimgfile" can not work ??

2007-05-04 Thread tang peilei
yes, when I rebuild my kernel with scsi support ,the hard disk sda could be found, thank you very much . From: Sunil Amitkumar Janki <[EMAIL PROTECTED]> Reply-To: qemu-devel@nongnu.org To: qemu-devel@nongnu.org Subject: Re: [Qemu-devel] why "-hda myimgfile" can not work ?? Date: Fri, 04 May 20

[Qemu-devel] wireless pci device driver

2007-05-04 Thread Clemens Kolbitsch
If you need a wireless PCI device, I can provide code for TNETW1130 (ACX111). Get it from http://svn.berlios.de/svnroot/repos/ar7-firmware/qemu/trunk/hw/tnetw1130.c It works partially with an emulated Linux 2.6.20: the PCI card is recognized, and it loads firmware. wow!! it'll take a good l

Re: [Qemu-devel] Spontaneous reboots with FreeBSD + amd64 + kqemu

2007-05-04 Thread Juergen Lock
In article <[EMAIL PROTECTED]> you write: >Hello, > >I've just moved from an x86 machine to a Core 2 Duo machine, a Thinkpad >X60 tablet, running FreeBSD 6.2-STABLE. I've enabled NET_WITH_GIANT >and made sure that the kqemu module matches my kernel, which has SMP >enabled. When trying to start qemu

Re: [Qemu-devel] Create Fake PCI Cards

2007-05-04 Thread Clemens Kolbitsch
Paul Brook wrote: I want to create a "fake"/virtual pci device that only exists in the vm. so basically it boils down to adding a new (wireless) device that is not connected to anything and that i can write data to/read data from the device driver runnnig inside of qemu. Qemu already has m

Re: [Qemu-devel] [BUG] QEMU crash during cpu reset (MIPS regression)

2007-05-04 Thread Stefan Weil
Paul Brook schrieb: >> We can either re-arrange the entries in CPUMIPSState >> (move those which must not be zero'ed to the end), or >> cpu_reset must call cpu_mips_register. >> >> Which solution is better? > > ARM uses the latter solution. > IMHO it's better to do that than try and extend the hack

Re: [Qemu-devel] [BUG] QEMU crash during cpu reset (MIPS regression)

2007-05-04 Thread Blue Swirl
On 5/4/07, Stefan Weil <[EMAIL PROTECTED]> wrote: Resetting a MIPS cpu currently does not work, because important entries in env (CPUMIPSState) are filled with 0 at the beginning of function cpu_reset. At system start, these values are set in cpu_mips_register. After reset, env->nb_tlb == 0 res

Re: [Qemu-devel] [BUG] QEMU crash during cpu reset (MIPS regression)

2007-05-04 Thread Paul Brook
> We can either re-arrange the entries in CPUMIPSState > (move those which must not be zero'ed to the end), or > cpu_reset must call cpu_mips_register. > > Which solution is better? ARM uses the latter solution. IMHO it's better to do that than try and extend the hacks were some fields are left u

[Qemu-devel] [BUG] QEMU crash during cpu reset (MIPS regression)

2007-05-04 Thread Stefan Weil
Resetting a MIPS cpu currently does not work, because important entries in env (CPUMIPSState) are filled with 0 at the beginning of function cpu_reset. At system start, these values are set in cpu_mips_register. After reset, env->nb_tlb == 0 results in a division by zero crash of QEMU. We can ei

[Qemu-devel] [PATCH] fix bugs in gdbstub for TARGET_X86_64

2007-05-04 Thread MingyanGuo
hi all, The gdbstub (option -s) of QEMU is not useable for target amd64 full system emulation(TARGET_X86_64) on QEMU version 0.9.0. I have an ugly/dirty fix here. Any guys review(and improve) and merge it in the CVS tree ? ---><---

Re: [Qemu-devel] Create Fake PCI Cards

2007-05-04 Thread Stefan Weil
If you need a wireless PCI device, I can provide code for TNETW1130 (ACX111). Get it from http://svn.berlios.de/svnroot/repos/ar7-firmware/qemu/trunk/hw/tnetw1130.c It works partially with an emulated Linux 2.6.20: the PCI card is recognized, and it loads firmware. Stefan Clemens Kolbitsch schri

Re: [Qemu-devel] Create Fake PCI Cards

2007-05-04 Thread Paul Brook
> I want to create a "fake"/virtual pci device that only exists in the vm. > so basically it boils down to adding a new (wireless) device that is not > connected to anything and that i can write data to/read data from the > device driver runnnig inside of qemu. Qemu already has many emulated PCI d

[Qemu-devel] Create Fake PCI Cards

2007-05-04 Thread Clemens Kolbitsch
Hi everyone! I've read some posts in the qemu-mailinglist archives about the idea of a pci-proxy (allowing the client-os to access the host-os-pci devices) and the problems related to that. now, I want to make something similar and wonder if there is already some source code that does all tha

Re: [Qemu-devel] why "-hda myimgfile" can not work ??

2007-05-04 Thread Sunil Amitkumar Janki
tang peilei wrote: > My phy system is my PC, a computer with ubuntu. > and qemu-system-arm is running in this PC . > > I also use command like you, but I can not find any hard disk info in > qemu's system.(in dmesg's output). > Are you create your disk img with command qemu-img ??? I create my im

Re: [Qemu-devel] qemu bootstarp error!! unable to compile!

2007-05-04 Thread gaurav gunjan jha
Hi Friends!! thanks i was able to install qemu and have installed scientific linux on my disk image!! can u tell me how can i install a .tar.gz file present on my host linux into my guest linux on qemu?? warm regards gaurav jha On 5/4/07, Christian MICHON <[EMAIL PROTECTED]> wrote: On 5/4/07

Re: [Qemu-devel] [Experimental PATCH]: MIPS Malta YAMON for NetBSD

2007-05-04 Thread Thiemo Seufer
Paul Brook wrote: > On Monday 30 April 2007, Alexander Voropay wrote: > > Hi! > > > > This patch add a simply YAMON services ( print() and print_count() ) > > to Malta pseudo-loader. This services are requred for NetBSD to run. > > > > As a result, an *unmodified* NetBSD 3.0 kernel starts to wor

[Qemu-devel] qemu/hw mips_malta.c

2007-05-04 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/05/04 14:34:34 Modified files: hw : mips_malta.c Log message: Support for simple YAMON output, by Alec Voropay. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/hw/mips_malt

Re: [Qemu-devel] why "-hda myimgfile" can not work ??

2007-05-04 Thread tang peilei
From: Sunil Amitkumar Janki <[EMAIL PROTECTED]> Reply-To: qemu-devel@nongnu.org To: qemu-devel@nongnu.org Subject: Re: [Qemu-devel] why "-hda myimgfile" can not work ?? Date: Fri, 04 May 2007 16:01:40 +0200 tang peilei wrote: >> The ARM boards do not support IDE. Some of them have a SCSI cont

Re: [Qemu-devel] qemu bootstarp error!! unable to compile!

2007-05-04 Thread Christian MICHON
On 5/4/07, gaurav gunjan jha <[EMAIL PROTECTED]> wrote: Hello Friends !! I am trying to install Qemu from source on suse 10 suse 10 implies gcc >= 4.0.x, so you cannot compile a working qemu. another alternative than installing gcc3 from sources is to install Suse 9 packages... configure --

Re: [Qemu-devel] why "-hda myimgfile" can not work ??

2007-05-04 Thread Sunil Amitkumar Janki
tang peilei wrote: >> The ARM boards do not support IDE. Some of them have a SCSI controller >> instead, as described in the documentation. > As the ARM boards do not support IDE, and my net can not work. How can > I copy files from QEMU system to my phy system ??? I don't really understand what yo

Re: [Qemu-devel] PATCH: serial.c

2007-05-04 Thread Tristan Gingold
On May 4, 2007, at 3:34 PM, Wessel, Jason wrote: Tristan, I do not believe that is actually the problem, and arguably QEMU is correct with timing accuracy set aside. The root of the issue is a more of a timing problem because the clear/set can happen atomically in QEMU with respect to the

RE: [Qemu-devel] PATCH: serial.c

2007-05-04 Thread Wessel, Jason
Tristan, I do not believe that is actually the problem, and arguably QEMU is correct with timing accuracy set aside. The root of the issue is a more of a timing problem because the clear/set can happen atomically in QEMU with respect to the cpu clock vs the real hardware which takes multiple cloc

Re: [Qemu-devel] why "-hda myimgfile" can not work ??

2007-05-04 Thread tang peilei
thank you very much. From: Paul Brook <[EMAIL PROTECTED]> Reply-To: qemu-devel@nongnu.org To: qemu-devel@nongnu.org CC: tang peilei <[EMAIL PROTECTED]> Subject: Re: [Qemu-devel] why "-hda myimgfile" can not work ?? Date: Fri, 4 May 2007 14:13:57 +0100 > the target arch is arm. and I was just u

[Qemu-devel] qemu bootstarp error!! unable to compile!

2007-05-04 Thread gaurav gunjan jha
Hello Friends !! I am trying to install Qemu from source on suse 10 i downloaded gcc3.3.6 and after i typed make bootstrap i got the following error rm -f runtime-info.h tmp-runtime.s *.o *.lo libobjc* xforward \ fflags *.aux *.cp *.dvi *.fn *.info *.ky *.log *.pg \ *.toc *.tp *.

Re: [Qemu-devel] why "-hda myimgfile" can not work ??

2007-05-04 Thread Paul Brook
> the target arch is arm. and I was just use the download qemu arm-test > kernel and initrd file to run. It has a config.gz in /proc, but I can not > copy it out, becase the net can not work in my qemu, and the hda can not > use .Is there any other way to copy data from qemu system to my phy system

[Qemu-devel] PATCH: serial.c

2007-05-04 Thread Tristan Gingold
Hi, According to the documentation, reading IIR does not reset any pending interrupt. This issue caused VxWorks to freeze. Tristan. *** hw/serial.c 31 Mar 2007 16:54:14 - 1.15 --- hw/serial.c 4 May 2007 12:49:34 - *** *** 233,242 break; case 2:

Re: [Qemu-devel] why "-hda myimgfile" can not work ??

2007-05-04 Thread Christian MICHON
On 5/4/07, tang peilei <[EMAIL PROTECTED]> wrote: the target arch is arm. and I was just use the download qemu arm-test kernel and initrd file to run. It has a config.gz in /proc, but I can not copy it out, becase the net can not work in my qemu, and the hda can not use .Is there any other way to

Re: [Qemu-devel] why "-hda myimgfile" can not work ??

2007-05-04 Thread tang peilei
thank you for your help. From: "Christian MICHON" <[EMAIL PROTECTED]> Reply-To: qemu-devel@nongnu.org To: qemu-devel@nongnu.org Subject: Re: [Qemu-devel] why "-hda myimgfile" can not work ?? Date: Fri, 4 May 2007 08:30:54 +0200 On 5/4/07, tang peilei <[EMAIL PROTECTED]> wrote: I first create a