[Qemu-devel] Exception running under KVM

2007-04-02 Thread GSMD
When trying to launch with -- kvm -no-acpi -nographic -m 512 -cdrom /media/ubuntu-7.04-beta-alternate-i386.iso -boot d /opt/ubuntu.img -- I get Code: -- (qemu) exception 12 (0) rax 08a6 rbx 00040080 rcx 2000 rdx 00016400 rsi 0800 rdi 000

[Qemu-devel] System calls -- Linux Guest

2007-04-02 Thread Tyler Smart
Greetings QEMU development team! I am doing some work for an experiment, and I would like to capture system calls on the linux guest environment and perhaps print them out? For instance, if on the linux guest, a READ() is called, then the qemu debug mode will print that out. I am using version .8

Re: [Qemu-devel] Re: [PATCH] VMware SVGA II emulation

2007-04-02 Thread andrzej zaborowski
Hi, On 02/04/07, Thiemo Seufer <[EMAIL PROTECTED]> wrote: [..] I left the sdl_copy bit out because it broke scrolling of a guest Linux framebuffer in the moment it initialized its virtual consoles. Maybe that's a bug in libsdl 1.2. Thanks for checking this. I didn't have any ideas as to what c

[Qemu-devel] [PATCH][SPARC] FPU deferred trap-queue

2007-04-02 Thread Aurelien Jarno
Hi, The current emulated SPARC FPU does not support deferred trap-queue. In such cases the STDFQ instruction should generate an fp_exception trap with the FTT field to sequence_error instead of the current illegal_instruction trap. The attached patch fixes that. It also ensures that the qne bit o

Re: [Qemu-devel] qemu/target-sparc translate.c

2007-04-02 Thread Aurelien Jarno
On Sun, Apr 01, 2007 at 06:51:14PM +0200, Aurelien Jarno wrote: > On Sun, Apr 01, 2007 at 06:24:34PM +0200, Blue Swirl wrote: > > CVSROOT:/cvsroot/qemu > > Module name:qemu > > Changes by: Blue Swirl 07/04/01 16:23:36 > > > > Modified files: > > target-sparc : translate.c > >

Re: [Qemu-devel] Re: PC traces from QEMU

2007-04-02 Thread Thiemo Seufer
Shashidhar Mysore wrote: > Hi Stuart, > > Thanks for the patch. It works well for me, except that the log file grows > so huge and qemu slows down quite a lot. Did you have problems with this? I > was wondering if there was a way to actually begin the PC trace collection > after completely booting

Re: [Qemu-devel] Simtec BAST emulation

2007-04-02 Thread andrzej zaborowski
Hi, On 02/04/07, Daniel Silverstone <[EMAIL PROTECTED]> wrote: Hi, Myself and my colleagues have worked hard and produced a new system emulation for qemu for the Simtec BAST board. The BAST is a Samsung 2410 based board (ARM 9 based SoC, with MMU) with various peripherals including a Davicom D

Re: [Qemu-devel] Re: PC traces from QEMU

2007-04-02 Thread Shashidhar Mysore
Hi Stuart, Thanks for the patch. It works well for me, except that the log file grows so huge and qemu slows down quite a lot. Did you have problems with this? I was wondering if there was a way to actually begin the PC trace collection after completely booting QEMU and also restrict it to a part

Re: [Qemu-devel] Simtec BAST emulation

2007-04-02 Thread Paul Brook
On Monday 02 April 2007 14:56, Daniel Silverstone wrote: > Hi, > > Myself and my colleagues have worked hard and produced a new system > emulation for qemu for the Simtec BAST board. A few issues with the patch, which I think need to be resolved before it can be applied: - You're using global st

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

2007-04-02 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/04/02 17:28:07 Modified files: target-mips: translate.c Log message: MIPS32R2 needs RDPGPR/WRPGPR instructions even when no shadow registers are implemented. CVSWeb URLs: http://

Re: [Qemu-devel] Patch: dyngen-exec.h for OpenBSD

2007-04-02 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Thiemo Seufer <[EMAIL PROTECTED]> writes: : M. Warner Losh wrote: : > In message: <[EMAIL PROTECTED]> : > Thiemo Seufer <[EMAIL PROTECTED]> writes: : > : I made that "#ifdef _BSD" based on the assumption it is ok for all : > : BSD variants, in

[Qemu-devel] qemu/target-i386 helper.c

2007-04-02 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/04/02 16:33:41 Modified files: target-i386: helper.c Log message: Fix guest x86/amd64 helper_fprem/helper_fprem1, by Julian Seward. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/

Re: [Qemu-devel] Patch: dyngen-exec.h for OpenBSD

2007-04-02 Thread Thiemo Seufer
M. Warner Losh wrote: > In message: <[EMAIL PROTECTED]> > Thiemo Seufer <[EMAIL PROTECTED]> writes: > : I made that "#ifdef _BSD" based on the assumption it is ok for all > : BSD variants, including Darwin. > > _BSD isn't defined on all variants of BSD. sys/param.h defines BSD to > be

Re: [Qemu-devel] qemu hw/mips_malta.c hw/mips_r4k.c target-mips/...

2007-04-02 Thread Thiemo Seufer
Kirill A. Shutemov wrote: > On [Sun, 01.04.2007 12:35], Thiemo Seufer wrote: > > CVSROOT:/sources/qemu > > Module name:qemu > > Changes by: Thiemo Seufer 07/04/01 12:36:18 > > > > Modified files: > > hw : mips_malta.c mips_r4k.c > > target-mips: exec.h mip

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

2007-04-02 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/04/02 15:54:05 Modified files: target-mips: op_helper.c Log message: Build fix for 64bit machines. (This is still not correct mul/div handling.) CVSWeb URLs: http://cvs.savannah.gnu.org

Re: [Qemu-devel] Patch: dyngen-exec.h for OpenBSD

2007-04-02 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Thiemo Seufer <[EMAIL PROTECTED]> writes: : I made that "#ifdef _BSD" based on the assumption it is ok for all : BSD variants, including Darwin. _BSD isn't defined on all variants of BSD. sys/param.h defines BSD to be 199506 on all BSD systems (at least

[Qemu-devel] Simtec BAST emulation

2007-04-02 Thread Daniel Silverstone
Hi, Myself and my colleagues have worked hard and produced a new system emulation for qemu for the Simtec BAST board. The BAST is a Samsung 2410 based board (ARM 9 based SoC, with MMU) with various peripherals including a Davicom DM9000 Ethernet port. The emulation is complete enough to start Si

Re: [Qemu-devel] Clock runs at double speed in guest

2007-04-02 Thread Thomas Tuttle
On March 31 at 18:17 EDT, C.W. Betts hastily scribbled: > What OS are you using? I am using Gentoo Linux with a 2.6.21-rc5 kernel and kvm-18 on the host, and the Gentoo Linux 2006.1 AMD64 minimal installcd on the guest. By the way, please don't top-quote. You didn't need to include my whole quot

Re: [Qemu-devel] qemu hw/mips_malta.c hw/mips_r4k.c target-mips/...

2007-04-02 Thread Kirill A. Shutemov
On [Sun, 01.04.2007 12:35], Thiemo Seufer wrote: > CVSROOT: /sources/qemu > Module name: qemu > Changes by: Thiemo Seufer 07/04/01 12:36:18 > > Modified files: > hw : mips_malta.c mips_r4k.c > target-mips: exec.h mips-defs.h op.c op_helper.c >

[Qemu-devel] qemu block-qcow2.c

2007-04-02 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/04/02 12:48:47 Modified files: . : block-qcow2.c Log message: Qcow2: Release refcount table clusters after growing the refcount table, by Juergen Keil. CVSWeb URLs: http

Re: [Qemu-devel] qemu hw/mips_malta.c hw/mips_r4k.c target-mips/...

2007-04-02 Thread Kirill A. Shutemov
On [Sun, 01.04.2007 12:35], Thiemo Seufer wrote: > CVSROOT: /sources/qemu > Module name: qemu > Changes by: Thiemo Seufer 07/04/01 12:36:18 > > Modified files: > hw : mips_malta.c mips_r4k.c > target-mips: exec.h mips-defs.h op.c op_helper.c >

Re: [Qemu-devel] Patch: dyngen-exec.h for OpenBSD

2007-04-02 Thread Thiemo Seufer
Juergen Keil wrote: > > > From: Thiemo Seufer <[EMAIL PROTECTED]> > > Todd T. Fries wrote: > > > This is relative to the 20070319 snapshot. > > > > > > > > > --- dyngen-exec.h.origMon Feb 5 17:01:54 2007 > > > +++ dyngen-exec.h Sat Mar 10 16:39:39 2007 > ... > > > /* XXX: This may be wrong

Re: [Qemu-devel] [patch] More PCI ethernet emulations

2007-04-02 Thread Thiemo Seufer
Stefan Weil wrote: > Good question. I stumbled about this, too, when I looked > at the code how I could apply your patch. Some months > had past since I wrote it :-) > > The code writes to a serial EEPROM, so the 16 bits are > sent using only a clock and a single data bit. The > EEPROM emulation t

[Qemu-devel] qemu dyngen-exec.h

2007-04-02 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/04/02 12:39:43 Modified files: . : dyngen-exec.h Log message: Use __sFILE to typedef for _BSD. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/dyngen-exec.h?cvsroot=qemu&r

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

2007-04-02 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/04/02 12:35:35 Modified files: . : Makefile.target vl.h hw : pci.c Added files: hw : eepro100.c eeprom93xx.c eeprom93xx.h Log message: E

[Qemu-devel] Newbie to Q

2007-04-02 Thread Karthik
Dear All             I am trying Q emulator on Mac OS X 10.4.8. It works fine and well. I am also downloaded the source code.             I couldn't connect the network through this emulator. I am running Linux from this. But I couldn't connect to internet while I am inside the emulation. H

[Qemu-devel] [PATCH] qcow2: release refcount table clusters of the old table, after growing the refcount table

2007-04-02 Thread Juergen Keil
Another patch for qcow2: when the refcount table is grown, clusters for the new refcount table are allocated, but the clusters for the old (now unused) refcount table are not released. This isn't a big problem, it just wastes a few clusters. But it results in error messages when block-qcow2.c i

Re: [Qemu-devel] Patch: dyngen-exec.h for OpenBSD

2007-04-02 Thread Juergen Keil
> From: Thiemo Seufer <[EMAIL PROTECTED]> > Todd T. Fries wrote: > > This is relative to the 20070319 snapshot. > > > > > > --- dyngen-exec.h.orig Mon Feb 5 17:01:54 2007 > > +++ dyngen-exec.h Sat Mar 10 16:39:39 2007 ... > > /* XXX: This may be wrong for 64-bit ILP32 hosts. */ > > ty

[Qemu-devel] qemu/audio ossaudio.c

2007-04-02 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/04/02 10:07:55 Modified files: audio : ossaudio.c Log message: audio/ossaudio.c for OpenBSD, by Todd T. Fries. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/audio/ossaudio.c

Re: [Qemu-devel] [PATCH] [ARM] Fix C-flag for ASR when shift==0

2007-04-02 Thread Aurelien Jarno
Matthew Howkins a écrit : > There is a bug in the ARM emulation of data-processing instructions with > ASR when the shift==0. The current QEMU CVS incorrectly modifies > the C-flag, when it should be preserved. > > The attached patch corrects this. > This patch is consistent with the reference

Re: [Qemu-devel] Patch: block-raw.c for OpenBSD

2007-04-02 Thread Thiemo Seufer
Todd T. Fries wrote: > This is relative to the 20070319 snapshot, mostly from Enache Adrian, > 3n4ch3 at gmail dot com .. > > --- block-raw.c.orig Mon Mar 12 16:16:47 2007 > +++ block-raw.c Tue Mar 20 19:16:43 2007 > @@ -25,7 +25,9 @@ > #include "block_int.h" > #include > #ifndef _WIN32

Re: [Qemu-devel] Patch: dyngen-exec.h for OpenBSD

2007-04-02 Thread Thiemo Seufer
Todd T. Fries wrote: > This is relative to the 20070319 snapshot. > > > --- dyngen-exec.h.origMon Feb 5 17:01:54 2007 > +++ dyngen-exec.h Sat Mar 10 16:39:39 2007 > @@ -27,11 +27,15 @@ > #define _FILEDEFED > #endif > > +#include "config.h" > + Doesn't seem to be necessary in the

Re: [Qemu-devel] Patch: osdep.h for OpenBSD

2007-04-02 Thread Thiemo Seufer
Todd T. Fries wrote: > This is relative to the 20070319 snapshot. > > --- osdep.h.orig Mon Feb 5 17:01:54 2007 > +++ osdep.h Sat Mar 10 16:39:40 2007 > @@ -2,6 +2,10 @@ > #define QEMU_OSDEP_H > > #include > +#ifdef __OpenBSD__ > +#include > +#include > +#endif Nothing in the header

[Qemu-devel] [PATCH] Rewriten linux-user/path.c

2007-04-02 Thread Kirill A. Shutemov
Patch to linux-user/path.c in the attachment. It's almost totally rewritten. This version of path.c has very simple and quick init_paths() so emulated programs will start quicker. New init_path() solves problem with symlink recursion in the emulated dir. Rewritten path() use stat(2) to check if a p

[Qemu-devel] qemu/target-i386 helper.c

2007-04-02 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/04/02 08:56:24 Modified files: target-i386: helper.c Log message: ltr for x86_64 should check the upper descriptor type, by Bernhard Kauer. CVSWeb URLs: http://cvs.savannah.gnu.org/view

[Qemu-devel] qemu/hw ne2000.c

2007-04-02 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/04/02 08:19:57 Modified files: hw : ne2000.c Log message: ne2k buffer full bug fix, by Marcel Block. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/hw/ne2000.c?cvsroot=qem

[Qemu-devel] qemu hw/lsi53c895a.c hw/smc91c111.c target-arm/...

2007-04-02 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/04/02 08:18:36 Modified files: hw : lsi53c895a.c smc91c111.c target-arm : translate.c Log message: Random bug fixes from code inspection, by Wang Cheng Yeh. CVSWeb U