Re: [Qemu-devel] --disable-gfx-check still wants SDL.h?

2008-03-12 Thread Carlo Marcelo Arenas Belon
On Wed, Mar 12, 2008 at 07:24:54PM -0700, David Barrett wrote: > Is it possible to compile/run qemu on a system that does not have SDL? ./configure --disable-sdl --disable-gfx-check Carlo

[Qemu-devel] [PATCH] restore rw support for vvfat

2008-03-11 Thread Carlo Marcelo Arenas Belon
The attached patch, restores support for writable block devices using Virtual FAT disk images. RW support using a generated qcow base image was modified after qemu 0.8.2 was released; while adding AIO support to block-qcow.c in release 1.8; and resulting in a broken qcow image based in an inexiste

Re: [Qemu-devel] Under WinXP, Solaris installation does not work in qemu 0.9.1 but does work in qemu 0.9.0

2008-02-06 Thread Carlo Marcelo Arenas Belon
On Wed, Jan 30, 2008 at 05:31:05PM +0300, Dmitry Bolshakov wrote: > > qemu-0.9.1: > -builded by myself too > http://qemu-forum.ipi.fi/viewtopic.php?f=5&t=4269 qemu 0.9.1 was released with a known bug which prevents installing solaris guests with timeouts in the CD device and which was finally fix

Re: [Qemu-devel] Compilation error on Ubuntu 6.06 and 7.10 with gcc-3.4

2008-01-27 Thread Carlo Marcelo Arenas Belon
On Sun, Jan 27, 2008 at 06:01:22PM +, Stefano Stabellini wrote: > I can confirm this, I have the same problem on Kubuntu 7.10 i386 using > either gcc-3.4 or gcc-3.3. architectural limitation for x86 triggered by cpu-exec.c version 1.131, reverting to 1.130 allows the compilation to proceed C

Re: [Qemu-devel] qemu-0.9.0 fedora 7, cdrom and ide emulation error

2008-01-16 Thread Carlo Marcelo Arenas Belon
> Can someone tell me the exact changeset/patch to fix this issue? changeset : cvs -q diff -u -r1.63 -r1.64 hw/ide.c patch : http://thread.gmane.org/gmane.comp.emulators.qemu/19160 Carlo

[Qemu-devel] [PATCH] ide: multi-profile DVD-ROM support v2.2

2008-01-09 Thread Carlo Marcelo Arenas Belon
This is version 2.2 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] [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] [RFC] ide: multi-profile DVD-ROM support v2

2008-01-07 Thread Carlo Marcelo Arenas Belon
The following patch re-implements the "GET CONFIGURATION" MMC-6 command to match the published SPEC. This is a re-write of the original patch series published but including the feedback received : http://lists.gnu.org/archive/html/qemu-devel/2007-11/msg00849.html Important changes from the pre

Re: [Qemu-devel] QEMU version 0.9.1

2008-01-06 Thread Carlo Marcelo Arenas Belon
On Sun, Jan 06, 2008 at 11:03:45PM +0100, Fabrice Bellard wrote: > > QEMU version 0.9.1 is out ! and if you want to install an OpenSolaris guest on it, apply the attached patch over it. the patch prevents OpenSolaris from overflowing a small buffer when querying the emulated CDROM for its capabi

Re: [Qemu-devel] [RESEND] [PATCH] ide: fix GET_CONFIGURATION DVD-ROM support

2008-01-06 Thread Carlo Marcelo Arenas Belon
On Sun, Jan 06, 2008 at 03:22:15AM -0600, Rob Landley wrote: > > > > > @@ -1648,17 +1649,27 @@ static void ide_atapi_cmd(IDEState *s) > > > > > ASC_INV_FIELD_IN_CMD_PACKET); > > > > > break; > > > > > } > > > > > -memset

Re: [Qemu-devel] [RESEND] [PATCH] ide: fix GET_CONFIGURATION DVD-ROM support

2008-01-06 Thread Carlo Marcelo Arenas Belon
On Sun, Jan 06, 2008 at 03:32:27PM +0100, Andreas Färber wrote: > Either way, shouldn't it be a preprocessor define rather than a magic > number, maybe something like MAX_SECTORS_CD? Then it can more easily > be found and changed, where necessary. Point taken, will fix that if we still have to

Re: [Qemu-devel] [RESEND] [PATCH] ide: fix GET_CONFIGURATION DVD-ROM support

2008-01-06 Thread Carlo Marcelo Arenas Belon
On Sun, Jan 06, 2008 at 01:57:38PM +, Stuart Brady wrote: > On Sat, Jan 05, 2008 at 08:22:33PM -0600, Carlo Marcelo Arenas Belon wrote: > > > the exact number of sectors is really not that relevant, as the whole point > > here is to try to detect if it is a CD (700MB) or a D

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

2008-01-06 Thread Carlo Marcelo Arenas Belon
On Sun, Jan 06, 2008 at 11:44:50PM +0100, Juergen Lock wrote: > Also, still slirp causes qemu to crash on amd64 hosts when just > trying to access a webpage from inside a guest. I never though slirp will ever work in an amd64 (judging by all the pointer <-> integer size mismatches) or any other LP

Re: [Qemu-devel] [RESEND] [PATCH] ide: fix GET_CONFIGURATION DVD-ROM support

2008-01-05 Thread Carlo Marcelo Arenas Belon
han the one was originally used (I like 1440000 though) Carlo /* ide-atapi Copyright (c) 2007 Carlo Marcelo Arenas Belon ide-atapi is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software

Re: [Qemu-devel] [RESEND] [PATCH] ide: fix GET_CONFIGURATION DVD-ROM support

2008-01-04 Thread Carlo Marcelo Arenas Belon
On Fri, Jan 04, 2008 at 06:25:25PM -0600, Rob Landley wrote: > On Friday 04 January 2008 04:02:07 Carlo Marcelo Arenas Belon wrote: > > Can someone please comment on the mergability of this patch? or in what > > needs to be done to it so that it can be committed? > > > >

Re: [Qemu-devel] [RESEND] [PATCH] ide: fix GET_CONFIGURATION DVD-ROM support

2008-01-04 Thread Carlo Marcelo Arenas Belon
On Sat, Jan 05, 2008 at 01:02:30AM +, Stuart Brady wrote: > On Fri, Jan 04, 2008 at 06:25:25PM -0600, Rob Landley wrote: > > On Friday 04 January 2008 04:02:07 Carlo Marcelo Arenas Belon wrote: > > > > > > -buf[7] = total_sectors <= 143

Re: [Qemu-devel] [PATCH] ensure all invocations to bdrv_{read, write} use (uint8_t *) for its third parameter

2008-01-04 Thread Carlo Marcelo Arenas Belon
On Fri, Jan 04, 2008 at 01:20:39PM +, Thiemo Seufer wrote: > Carlo Marcelo Arenas Belon wrote: > > Trivial fix that ensures that all buffers used for bdrv_read or bdrv_write > > are from an array of the uint8_t type > > Do we have a host where this actually makes a differ

Re: [Qemu-devel] [RESEND] [PATCH] ide: fix GET_CONFIGURATION DVD-ROM support

2008-01-04 Thread Carlo Marcelo Arenas Belon
verified to behave as per the SPECs and compared to behave just like real hardware does. Carlo On Wed, Dec 26, 2007 at 01:36:15AM -0600, Carlo Marcelo Arenas Belon wrote: > The following patch implements fixes to the CD-ROM IDE/ATAPI emulation > since ide.c revision 1.66 and that pr

[Qemu-devel] [PATCH] ensure all invocations to bdrv_{read, write} use (uint8_t *) for its third parameter

2008-01-04 Thread Carlo Marcelo Arenas Belon
Trivial fix that ensures that all buffers used for bdrv_read or bdrv_write are from an array of the uint8_t type Carlo --- Index: block-vvfat.c === RCS file: /sources/qemu/qemu/block-vvfat.c,v retrieving revision 1.16 diff -u -p -r1.

[Qemu-devel] [RESEND] [PATCH] ide: fix GET_CONFIGURATION DVD-ROM support

2007-12-25 Thread Carlo Marcelo Arenas Belon
The following patch implements fixes to the CD-ROM IDE/ATAPI emulation since ide.c revision 1.66 and that prevents installation of OpenSolaris guests because of timeouts like : WARNING: /[EMAIL PROTECTED],0/[EMAIL PROTECTED],1/[EMAIL PROTECTED] (ata1); timeout: abort request, target=0

Re: [Qemu-devel] gcc

2007-12-04 Thread Carlo Marcelo Arenas Belon
On Mon, Dec 03, 2007 at 08:20:28PM -0600, Rick Vernam wrote: > any comments on the current status of moving beyond dependency on GCC 3.3.6? you meant dependency on GCC < 4 right?, I use gcc 3.4.6 and there shouldn't be any reasons AFAIK that wouldn't work. Carlo

[Qemu-devel] Re: Outstanding patches - Nov 30

2007-12-02 Thread Carlo Marcelo Arenas Belon
On Fri, Nov 30, 2007 at 03:26:31PM +0900, Magnus Damm wrote: Thanks, from the list there are also 2 trivial patches I sent for cris and tests (build problem for runcom) which I'll RESEND then. > Date: Nov 26, 2007 > From: Carlo Marcelo Arenas Belon > Subject: [Qemu-devel] [P

[Qemu-devel] [PATCH 2/2] ide: report model as DVD-ROM for INQUIRY and IDENTIFY DEVICE commands

2007-11-30 Thread Carlo Marcelo Arenas Belon
This patch complements "Partial IDE DVD emulation" and the previous patch to reflect that the device is now able to support DVDs by changing the reported model to be "DVD-ROM" instead of "CD-ROM". Carlo --- Index: hw/ide.c === RCS fi

[Qemu-devel] [PATCH 1/2] ide: fix GPCMD_GET_CONFIGURATION for OpenSolaris guests

2007-11-30 Thread Carlo Marcelo Arenas Belon
The following patch implements the following changes to the implementation of "GET CONFIGURATION" as part of the initial MMC-6 support added to ide.c so it would emulate a multi profile device with DVD-ROM capabilities : * recognize and honor "Allocation Length" command parameter * corrected flags

[Qemu-devel] [PATCH 0/2] ide: fix GPCMD_GET_CONFIGURATION for correct DVD-ROM emulation

2007-11-30 Thread Carlo Marcelo Arenas Belon
The following patch series complements "Partial IDE DVD emulation" which was added in revision 1.66 of ide.c and that was generating the following timeouts for OpenSolaris guests when trying to access the ATAPI CD-ROM (during installation for example): WARNING: /[EMAIL PROTECTED],0/[EMAIL PROTE

Re: [Qemu-devel] [PATCH] sh4: define explicitly that the target CPU is 32 bit

2007-11-30 Thread Carlo Marcelo Arenas Belon
On Fri, Nov 30, 2007 at 04:28:09PM +, Paul Brook wrote: > On Friday 30 November 2007, Carlo Marcelo Arenas Belon wrote: > > The following patch enforces that the sh4 target is 32 bit to prevent qemu > > to expand incorrectly to a 64 bit wide cpu if compiled in a 64 bit host. >

[Qemu-devel] [PATCH] sh4: define explicitly that the target CPU is 32 bit

2007-11-30 Thread Carlo Marcelo Arenas Belon
The following patch enforces that the sh4 target is 32 bit to prevent qemu to expand incorrectly to a 64 bit wide cpu if compiled in a 64 bit host. Carlo --- Index: target-sh4/cpu.h === RCS file: /sources/qemu/qemu/target-sh4/cpu.h,v

Re: [Qemu-devel] [PATCH] [RESEND] hw/sh7750.c: use TARGET_FMT_plx to printf target_phys_addr_t

2007-11-30 Thread Carlo Marcelo Arenas Belon
On Fri, Nov 30, 2007 at 05:37:35PM +0200, Blue Swirl wrote: > On 11/30/07, Carlo Marcelo Arenas Belon <[EMAIL PROTECTED]> wrote: > > which might not be what was intended originally and might be uncovering a > > bug somewhere else and based on the fact that apparently (and thi

Re: [Qemu-devel] [PATCH] [RESEND] hw/sh7750.c: use TARGET_FMT_plx to printf target_phys_addr_t

2007-11-30 Thread Carlo Marcelo Arenas Belon
On Fri, Nov 30, 2007 at 02:36:32PM +0900, Magnus Damm wrote: > On Nov 19, 2007 6:18 AM, Carlo Marcelo Arenas Belon > <[EMAIL PROTECTED]> wrote: > > The following patch changes the formatting string from %08x to > > TARGET_FMT_plx > > to accommodate for compi

Re: [Qemu-devel] PATCH: ide.c: send irq for WIN_DIAGNOSE

2007-11-30 Thread Carlo Marcelo Arenas Belon
On Thu, Nov 29, 2007 at 05:46:08PM +0100, Tristan Gingold wrote: > On Nov 29, 2007, at 4:07 PM, Carlo Marcelo Arenas Belon wrote: > >On Thu, Nov 29, 2007 at 02:05:36PM +0100, Tristan Gingold wrote: > > >> The pending interrupt condition shall be set by: > >> ??? t

Re: [Qemu-devel] PATCH: ide.c: send irq for WIN_DIAGNOSE

2007-11-29 Thread Carlo Marcelo Arenas Belon
On Thu, Nov 29, 2007 at 02:05:36PM +0100, Tristan Gingold wrote: > according to ATA std: which ATA std? > The pending interrupt condition shall be set by: > ??? the completion of a command; or > > This patch sends an irq for WIN_DIAGNOSE (and WIN_SRST) DEVICE RESET or DEVICE DIAGNOSTIC in T

[Qemu-devel] [PATCH 5/5] qemu: piix_pci: remove 82371FB support

2007-11-28 Thread Carlo Marcelo Arenas Belon
This patch removes support for 82371FB Step A1 (AKA triton) chips as they are superseded by 82371SB and are currently dead code as all other references were removed already from ide.c since revision 1.57 Signed-off-by: Carlo Marcelo Arenas Belon <[EMAIL PROTECTED]> --- qemu/hw/piix_pci.c

[Qemu-devel] [PATCH 4/5] qemu: ide INQUIRY and IDENTIFY DEVICE report DVD-ROM model

2007-11-28 Thread Carlo Marcelo Arenas Belon
This patch complements "Partial IDE DVD emulation" which was added in ide.c revision 1.66 so that the CD-ROM identifies itself as a DVD-ROM to "INQUIRY" and "IDENTIFY DEVICE" commands Signed-off-by: Carlo Marcelo Arenas Belon <[EMAIL PROTECTED]> --- qemu/hw/i

[Qemu-devel] [PATCH 1/5] qemu: GET_CONFIGURATION fixes for MMC-6 DVD-ROM implementation

2007-11-28 Thread Carlo Marcelo Arenas Belon
er * only set "current profile" for the response if a profile is current (either CD or DVD loaded) * calculate "data length" including all headers * refactor code and add comments to help document references to all implemented standards (ATAPI-4, SPC-3 and MMC-6) Signed-of

[Qemu-devel] [PATCH] ide: remove leftover support for 82371FB (Step A1)

2007-11-26 Thread Carlo Marcelo Arenas Belon
The following patch removes the remaining support for the 82371FB (Step A1) IDE chip which was added to ide.c in revision 1.53 and then removed (as it was never used in any profile and was considered dead code) in 1.57. This code was added to piix_pci.c in revision 1.9 and after the corresponding

[Qemu-devel] [PATCH] ide: fix GPCMD_GET_CONFIGURATION for OpenSolaris guests

2007-11-26 Thread Carlo Marcelo Arenas Belon
The following patch complements "Partial IDE DVD emulation" which was added in revision 1.66 and that was generating the following timeouts for OpenSolaris guests when trying to access the ATAPI cdrom (during installation for example): WARNING: /[EMAIL PROTECTED],0/[EMAIL PROTECTED],1/[EMAIL PR

[Qemu-devel] [PATCH] [RESEND] hw/sh7750.c: use TARGET_FMT_plx to printf target_phys_addr_t

2007-11-18 Thread Carlo Marcelo Arenas Belon
The following patch changes the formatting string from %08x to TARGET_FMT_plx to accommodate for compilation in 64bit hosts and that manifests with the following warning : qemu/hw/sh7750.c: In function `error_access': qemu/hw/sh7750.c:186: warning: unsigned int format, different type arg (arg

[Qemu-devel] [PATCH] tests/runcom.c: use sys/vm86.h definition of vm86 system call

2007-11-11 Thread Carlo Marcelo Arenas Belon
The following patch fixes a compilation/type mismatch issue for runcom by removing the _syscall2 macro call (deprecated since kernel 2.6.18) and using the definition from for the vm86 system call instead. Carlo --- Index: tests/runcom.c

[Qemu-devel] [PATCH] remove duplicated tlb_fill definitions for i386 and cris targets

2007-11-11 Thread Carlo Marcelo Arenas Belon
The following patch removes a duplicated tlb_fill definition from the per target specific exec.h for i386 and cris in favor of the generic one in exec-all.h. It also rearranges cris' op_helper implement it only in softmmu mode like all other targets. Carlo --- Index: target-cris/exec.h

Re: [Qemu-devel] qemu configure

2007-11-11 Thread Carlo Marcelo Arenas Belon
> Changes by: Fabrice Bellard07/11/11 20:24:30 > > Log message: > better to disable -Werror by default as 64 bit hosts still have warnings amazing work, haven't ever seen a cleaner compilation in 64bit linux before. thank you Carlo

Re: [Qemu-devel] error compiling hw/sh7750.c

2007-11-11 Thread Carlo Marcelo Arenas Belon
On Sun, Nov 11, 2007 at 05:24:06PM +, Paul Brook wrote: > > +#undef NULL > > +#define NULL ((void *)0) > > Absolutely not. this was not meant to be a final solution, or even be committed in qemu, just a stop gap solution answering Ben so that he can get their build to complete and have a som

Re: [Qemu-devel] error compiling hw/sh7750.c

2007-11-11 Thread Carlo Marcelo Arenas Belon
On Sun, Nov 11, 2007 at 10:06:34AM -0600, Carlo Marcelo Arenas Belon wrote: > On Sun, Nov 11, 2007 at 09:30:26AM -0500, Ben Taylor wrote: > > So the macro turns the last _INTC_ARRAY(NULL) into > > > > "NULL, sizeof(NULL)/sizeof(*NULL) > > in my 64bit linux us

Re: [Qemu-devel] error compiling hw/sh7750.c

2007-11-11 Thread Carlo Marcelo Arenas Belon
On Sun, Nov 11, 2007 at 09:30:26AM -0500, Ben Taylor wrote: > So the macro turns the last _INTC_ARRAY(NULL) into > > "NULL, sizeof(NULL)/sizeof(*NULL) in my 64bit linux using gcc-4.1.2 it becomes instead : ((void *)0), sizeof(((void *)0))/sizeof(*((void *)0)) what version of gcc (gcc -v) are

[Qemu-devel] [PATCH] hw/sh7750.c: use TARGET_FMT_plx to printf target_phys_addr_t

2007-11-11 Thread Carlo Marcelo Arenas Belon
The following patch changes the formatting string from %08x to TARGET_FMT_plx to accommodate for 64bit hosts. Carlo --- Index: hw/sh7750.c === RCS file: /sources/qemu/qemu/hw/sh7750.c,v retrieving revision 1.9 diff -u -r1.9 sh7750.c

Re: [Qemu-devel] qemu target-alpha/op_helper.c target-arm/op_hel...

2007-11-11 Thread Carlo Marcelo Arenas Belon
On Sun, Nov 11, 2007 at 12:35:55PM +, Fabrice Bellard wrote: > Modified files: > target-alpha : op_helper.c > target-arm : op_helper.c > target-cris: op_helper.c > target-m68k: op_helper.c > target-ppc : op_helper.c > > Log message: >

[Qemu-devel] [PATCH/RFC] overflow and register size mismatch in sh4-softmmu

2007-11-11 Thread Carlo Marcelo Arenas Belon
as shown by the following warning when compiling HEAD : qemu/target-sh4/translate.c: In function `cpu_sh4_reset': qemu/target-sh4/translate.c:139: warning: overflow in implicit constant conversion the problem was introduced in version 1.11 of that file and is being triggered by the fact that

[Qemu-devel] [PATCH] 64bit clean cris-softmmu

2007-11-11 Thread Carlo Marcelo Arenas Belon
The following patch makes cris-softmmu compile in a 64bit host without warnings by defining that the target CPU is 32bit explicitly and casting the use of pointers into an uint32_t. Carlo --- Index: target-cris/cpu.h === RCS file: /s

[Qemu-devel] [PATCH] add declaration for kqemu_cpu_interrupt to block-raw.c

2007-11-11 Thread Carlo Marcelo Arenas Belon
The following patch includes "exec-all.h" in block-raw.c when QEMU_IMG is not defined to avoid the following implicit declaration : qemu/block-raw.c: In function `aio_signal_handler': qemu/block-raw.c:253: warning: implicit declaration of function `kqemu_cpu_interrupt' Carlo -- Index: block-

[Qemu-devel] [RESEND] [PATCH] show usage and abort if unknown option is passed to configure

2007-11-09 Thread Carlo Marcelo Arenas Belon
Belon <[EMAIL PROTECTED]> - Date: Mon, 22 Oct 2007 20:31:35 -0500 From: Carlo Marcelo Arenas Belon <[EMAIL PROTECTED]> To: qemu-devel@nongnu.org Subject: [PATCH] show usage and abort if unknown option is passed to configure User-Agent: Mutt/1.4.1i The following patch prints an

[Qemu-devel] [RFC] normalize error messages and use stderr in configure

2007-10-22 Thread Carlo Marcelo Arenas Belon
The following patch normalizes all (most) messages as generated by configure so they are flagged as ERROR or WARNING (left some of the ones that look more informative without a flag even if they result in a fatal error). All those messages are directed to stderr so they can be filtered/identified

[Qemu-devel] [PATCH] add gcc 3.4.6 to the list of compilers to look for

2007-10-22 Thread Carlo Marcelo Arenas Belon
The following patch adds gcc-3.4.6 (as used by gentoo's gcc-3.4.6-r2 package) to the list of compilers to test for compatibility. This is also the last version for the gcc-3.4.x and gcc-3.x series which hasn't had an update in 19 months and therefore most likely stable enough to be called by full

[Qemu-devel] [PATCH] show usage and abort if unknown option is passed to configure

2007-10-22 Thread Carlo Marcelo Arenas Belon
The following patch prints an error if an unknown option is passed to configure and directs the script to show usage information. Carlo --- Index: configure === RCS file: /sources/qemu/qemu/configure,v retrieving revision 1.165 diff

[Qemu-devel] [PATCH] add --disable-sdl to configure's help

2007-10-22 Thread Carlo Marcelo Arenas Belon
The following patch adds a description for --disable-sdl for configure Carlo --- Index: configure === RCS file: /sources/qemu/qemu/configure,v retrieving revision 1.165 diff -u -r1.165 configure --- configure 18 Oct 2007 20:51:48 -

[Qemu-devel] [RFC/PATCH] remove $check_gfx from configure

2007-10-22 Thread Carlo Marcelo Arenas Belon
The following patch removes check_gfx from qemu's configure as the check it was trying to enforce is no longer valid. If neither sdl or cocoa are available, the video output for the console will be still available from the vnc server (which can't be disabled). Carlo --- Index: configure ===

Re: [Qemu-devel] [patch] make qemu work with GCC 4

2007-08-30 Thread Carlo Marcelo Arenas Belon
On Wed, Aug 29, 2007 at 03:30:45PM +0200, Michael Matz wrote: > I'm only a compiler developer hitting qemu hard enough until it works with > gcc4 :-) slightly offtopic, but in the last GCC summit 2007 there was a presentation with an interesting propossal which makes GCC specifically generate co

Re: [Qemu-devel] FW: [kvm-devel] CPU consumption for SMP windows guests.

2007-08-27 Thread Carlo Marcelo Arenas Belon
On Sun, Aug 26, 2007 at 02:10:01AM -0700, Igor Lvovsky wrote: >As it was mentioned in forum (by Avi) it looks like the problem in the >windows Idle loop, that spinning instead of executing a 'hlt' instruction. could you provide a reference to this thread? >So, the solution lies in AC

[Qemu-devel] [PATCH] add "support" for enable/disable reverting to power-on defaults

2007-02-11 Thread Carlo Marcelo Arenas Belon
Greetings, the following patch adds subcommands 0xCC and 0x66 for enabling/disabling reverting to power-on defaults after a soft reset as invoked by the following command (running under Linux) : # hdparm -K1 /dev/hda /dev/hda: setting drive keep features to 1 (on) this is specially vis

[Qemu-devel] [PATCH] allow disabling IDE block mode

2007-02-11 Thread Carlo Marcelo Arenas Belon
Greetings, the following patch changes the logic for the processing of WIN_SETMULT so that setting it to 0 (off) is a valid operation as shown by (running Linux on qemu) # hdparm -m0 /dev/hda /dev/hda: setting multcount to 0 multcount= 0 (off) this is specially visible while runnin

[Qemu-devel] [PATCH V2] DMA timeouts running a FreeBSD guest

2007-01-23 Thread Carlo Marcelo Arenas Belon
Greetings, the following patch moves the initialization for bm->cur_addr from the ide_dma_start function to bmdma_addr_writel, so that it is set in sync with the call to set the destination address for DMA (bm->addr) and to avoid timeouts in guests that set this address after they have called t

[Qemu-devel] Re: DMA timeouts running a FreeBSD guest with last CVS snapshot

2007-01-23 Thread Carlo Marcelo Arenas Belon
On Mon, Jan 22, 2007 at 11:55:11AM +0100, Aurelien Jarno wrote: > Carlo Marcelo Arenas Belon a écrit : > > > > The following patch moves the initialization of bm->cur_addr to match > > FreeBSD behavior while being also compatible with all other guests > >

[Qemu-devel] [PATCH] add a SNAPSHOT flag to be able to generate snapshots from CVS

2007-01-22 Thread Carlo Marcelo Arenas Belon
Greetings, The following patch adds a "SNAPSHOT" variable to the Makefile which can be changed to "yes" (or any other value) so that `make -k tar` generates a snapshot tar (on a configured or not CVS tree) instead of a release source tar (useful when debugging a version of the CVS tree) by using a

[Qemu-devel] [PATCH] Add support for 82371FB (Step A1) and Improved support for 82371SB (function 1)

2007-01-22 Thread Carlo Marcelo Arenas Belon
Greetings, as part of the debugging for the previous problem on FreeBSD and based on the documentation from Intel from : http://www.intel.com/design/intarch/datashts/290550.htm the following patch does some cleanup in the current sources so that a reset for function 1 (the IDE interface) for

[Qemu-devel] [PATCH] Re: DMA timeouts running a FreeBSD guest with last CVS snapshot

2007-01-22 Thread Carlo Marcelo Arenas Belon
On Mon, Jan 15, 2007 at 03:21:36AM -0600, Carlo Marcelo Arenas Belon wrote: > FreeBSD 6.2 guest I noticed the following errors at boot time : > > ad0: 2048MB at ata0-master WDMA2 > ad0: FAILURE - READ_DMA timed out LBA=4194301 > acd0: CDROM at ata1-master WDMA2 > ac

Re: [Qemu-devel] [BUG] QEMU x86_64 SSE bug in modf()

2007-01-15 Thread Carlo Marcelo Arenas Belon
On Mon, Jan 15, 2007 at 11:18:01AM +0100, Ludovic Drolez wrote: > > Float to string conversion uses modf() but this function fails under QEMU > and SLES 64, as you can see in this small test program below: pressume you mean running SLES 10 64bit as a guest under QEMU here. which version of qemu

[Qemu-devel] DMA timeouts running a FreeBSD guest with last CVS snapshot

2007-01-15 Thread Carlo Marcelo Arenas Belon
Greetings, while testing a snapshot from the last CVS tree with a freshly installed amd64 FreeBSD 6.2 guest I noticed the following errors at boot time : ad0: 2048MB at ata0-master WDMA2 ad0: FAILURE - READ_DMA timed out LBA=4194301 acd0: CDROM at ata1-master WDMA2 acd0: TIMEOUT - READ

Re: [Qemu-devel] time for 0.8.3/0.9?

2006-12-26 Thread Carlo Marcelo Arenas Belon
On Tue, Dec 26, 2006 at 10:16:38AM +0100, Werner Dittmann wrote: > When I try to install Opensuse 10.2 as a 64 bit system the Qemu seems to > go into a loop. same thing happens with Fedora Core 6, but still I am not sure that is enough to pinpoint a problem to qemu, as they both share the same ver

Re: [Qemu-devel] yet another proposed solution for gcc 4.x

2006-06-05 Thread Carlo Marcelo Arenas Belon
On Mon, Jun 05, 2006 at 01:21:48PM +0200, Christian MICHON wrote: > did you get better benchmark results than using gcc-3.x ? proportionally to native execution, yes (the gcc-4.1.1's compiled sha1-i386 binary from the tests was slower than the one compiled with gcc-3.4.5) results for running in

Re: [Qemu-devel] yet another proposed solution for gcc 4.x

2006-06-04 Thread Carlo Marcelo Arenas Belon
> Why bother? As you say gcc4 has issues other than just op.c, so why not just > compile everything with the old gcc? using the new gcc for the parts that can compile with it, could lead to better performance in some cases, as well to help clean up the code for conformance to newer standards and

[Qemu-devel] yet another proposed solution for gcc 4.x

2006-06-04 Thread Carlo Marcelo Arenas Belon
Greetings, attached patch, adds a ./configure option for setting the C compiler that will be used to build op.c for each of the targets; letting the user compile everything else with gcc 4.x if configured as the default C compiler while isolating the opcode generation which currently relies in gcc