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

2008-01-06 Thread Rob Landley
I re-downloaded the GNU/Solaris preview CD, linked from here: http://lwn.net/Articles/256737/ And fired it up: qemu -cdrom solaris-preview.iso -boot d -m 256 Note that it won't boot with the default 128 megs, because Solaris is a pig. Without the patch at the start of this thread, the GNU/So

[Qemu-devel] [PATCH] Let user set vnc password from command line or file

2008-01-06 Thread Leandro Dardini
Here is a little patch to let the user specify the vnc server password in the command line (yes, it is visible with the ps command) or via an external file (better choice). This adds two new arguments, -vnc-password and -vnc-password-file. The file containing the vnc password is in clear. Ple

Re: [Qemu-devel] [PATCH] fix possible NULL pointer use in hw/ptimer.c

2008-01-06 Thread Avi Kivity
Markus Hitter wrote: Quite obviously, we have very different expectations on what executables should do. I expect code to be as reliable as possible, to be careful when aquiring resources and if a process would ever happen to make my computer spontanuously reboot, I'd throw that binary as far

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

2008-01-06 Thread Stuart Brady
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 DVD (4.7GB) and the logic > is just assuming that if it has more sectors than you should n

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

2008-01-06 Thread Andreas Färber
Am 06.01.2008 um 14:57 schrieb Stuart Brady: 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 DVD (4.7GB) and the logic is just assum

[Qemu-devel] [PATCH] sparc32: add ecc irq

2008-01-06 Thread Robert Reif
Index: hw/eccmemctl.c === RCS file: /sources/qemu/qemu/hw/eccmemctl.c,v retrieving revision 1.2 diff -p -u -r1.2 eccmemctl.c --- hw/eccmemctl.c 1 Jan 2008 17:06:38 - 1.2 +++ hw/eccmemctl.c 6 Jan 2008 15:03:52 -000

Re: [Qemu-devel] [PATCH] Let user set vnc password from command line or file

2008-01-06 Thread Daniel P. Berrange
On Sun, Jan 06, 2008 at 11:45:58AM +0100, Leandro Dardini wrote: > Here is a little patch to let the user specify the vnc server password > in the command line (yes, it is visible with the ps command) or via an > external file (better choice). This adds two new arguments, > -vnc-password and -vn

[Qemu-devel] qemu Changelog VERSION

2008-01-06 Thread Fabrice Bellard
CVSROOT:/sources/qemu Module name:qemu Changes by: Fabrice Bellard08/01/06 17:10:54 Modified files: . : Changelog VERSION Log message: version change CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/Changelog?cvsroot=qemu&r1=1.150&r2=1.1

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

2008-01-06 Thread Fabrice Bellard
CVSROOT:/sources/qemu Module name:qemu Changes by: Fabrice Bellard08/01/06 17:21:49 Modified files: . : qemu-img.c vl.c linux-user : main.c Log message: copyright update CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/qemu-

[Qemu-devel] [PATCH] SCSI passthrough: DVD support

2008-01-06 Thread Laurent Vivier
This patch allows to use SCSI passthrough to read movies from DVD. It has been tested with PowerDVD and XP. It also introduces some comments in block-raw-posix.c to explain behavior of negative offset and negative nb_sectors. It restores original value of aio_num and aio_threads. Laurent --- blo

[Qemu-devel] [PATCH] SCSI passthrough: DMA split

2008-01-06 Thread Laurent Vivier
With some emulated SCSI devices, like usb-storage or ide-scsi, DMA transfers are limited to 64 kiB or 32 kiB. This patch allows to split a READ or WRITE into several READ or WRITE. Laurent --- hw/scsi-generic.c | 104 +++--- 1 file changed, 100 ins

[Qemu-devel] qemu Makefile

2008-01-06 Thread Fabrice Bellard
CVSROOT:/sources/qemu Module name:qemu Changes by: Fabrice Bellard08/01/06 18:27:12 Modified files: . : Makefile Log message: update binary distribution CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/Makefile?cvsroot=qemu&r1=1.139&r2=1

[Qemu-devel] qemu configure Makefile.target

2008-01-06 Thread Fabrice Bellard
CVSROOT:/sources/qemu Module name:qemu Changes by: Fabrice Bellard08/01/06 18:27:58 Modified files: . : configure Makefile.target Log message: fixed ppc64abi32 executable name CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/configure?cv

Re: [Qemu-devel] [PATCH] SCSI passthrough: DVD support

2008-01-06 Thread Fabrice Bellard
Can you explain why you use the block layer (block-raw-posix.c) to send your low level SCSI commands ? I suggest to remove your patches to block-raw-posix.c and to implement all the SCSI passthough in scsi-generic.c. Regards, Fabrice. Laurent Vivier wrote: > This patch allows to use SCSI passthr

[Qemu-devel] qemu block-raw-posix.c

2008-01-06 Thread Fabrice Bellard
CVSROOT:/sources/qemu Module name:qemu Changes by: Fabrice Bellard08/01/06 18:53:07 Modified files: . : block-raw-posix.c Log message: restore original values for ai.aio_threads and ai.aio_num CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/

[Qemu-devel] Request for Qemu bugzilla

2008-01-06 Thread Alexey Eremenko
Hi all, I would like to be helpful, and join as a BETA tester to the Qemu community. However, to be effective I need the right tools to successfully accomplish my mission. One tool that I would really like to have is a Qemu bugzilla. Would that be possible to add Qemu bugzilla to the main Qemu si

Re: [Qemu-devel] Request for Qemu bugzilla

2008-01-06 Thread Andreas Färber
Hi, Am 06.01.2008 um 19:56 schrieb Alexey Eremenko: I would like to be helpful, and join as a BETA tester to the Qemu community. However, to be effective I need the right tools to successfully accomplish my mission. One tool that I would really like to have is a Qemu bugzilla. Would that

Re: [Qemu-devel] Request for Qemu bugzilla

2008-01-06 Thread Soren Hansen
On Sun, Jan 06, 2008 at 08:06:28PM +0100, Andreas Färber wrote: >> I would like to be helpful, and join as a BETA tester to the Qemu >> community. However, to be effective I need the right tools to >> successfully accomplish my mission. One tool that I would really like >> to have is a Qemu bugzill

Re: [Qemu-devel] [PATCH] SCSI passthrough: DVD support

2008-01-06 Thread Laurent Vivier
Le dimanche 06 janvier 2008 à 19:47 +0100, Fabrice Bellard a écrit : > Can you explain why you use the block layer (block-raw-posix.c) to send > your low level SCSI commands ? only because it uses asynchrones AIO and I don't want to rewrite block-raw-posix.c for this special case. > I suggest to

Re: [Qemu-devel] Request for Qemu bugzilla

2008-01-06 Thread Daniel P. Berrange
On Sun, Jan 06, 2008 at 08:12:48PM +0100, Soren Hansen wrote: > On Sun, Jan 06, 2008 at 08:06:28PM +0100, Andreas Färber wrote: > >> I would like to be helpful, and join as a BETA tester to the Qemu > >> community. However, to be effective I need the right tools to > >> successfully accomplish my m

[Qemu-devel] [PATCH] qemu manpage: describe arguments of usbdevice option

2008-01-06 Thread Aurelien Jarno
The patch below improve the manpage by describing the possible arguments of the usbdevice option. The text is taken from the online documentation. Index: qemu-doc.texi === RCS file: /sources/qemu/qemu/qemu-doc.texi,v retrieving revisi

Re: [Qemu-devel] Request for Qemu bugzilla

2008-01-06 Thread Soren Hansen
On Sun, Jan 06, 2008 at 07:56:11PM +, Daniel P. Berrange wrote: Would that be possible to add Qemu bugzilla to the main Qemu site (http://fabrice.bellard.free.fr/qemu/index.html), please ? >>> While QEMU is officially still in alpha stage ;) I'd agree that an >>> issue tracking system

Re: [Qemu-devel] Request for Qemu bugzilla

2008-01-06 Thread Alexey Eremenko
Well, the bugzilla doesn't have to be on the main site, but a _link_ to the "official" Qemu bugzilla should exist from the main site. -- -Alexey Eremenko "Technologov"

[Qemu-devel] QEMU version 0.9.1

2008-01-06 Thread Fabrice Bellard
Hi, QEMU version 0.9.1 is out ! You can get it from: http://bellard.org/qemu/download.html . Fabrice.

[Qemu-devel] [PATCH] SCSI support for vmdk images

2008-01-06 Thread Soren Hansen
I just noticed this patch, I've had lying around for a while, but forgot to send here. -- Soren Hansen Ubuntu Server Team http://www.ubuntu.com/ === modified file 'block-vmdk.c' --- block-vmdk.c 2007-11-11 02:51:15 + +++ block-vmdk.c 2008-01-06 21:18:57 + @@ -717,7 +717,7 @@ "ddb

[Qemu-devel] [PATCH] RTC dyntick

2008-01-06 Thread Anders Melchiorsen
Hello. This patch stops the qemu seconds timer when the RTC is not used. Once the cmos is accessed, the skipped seconds are accounted for, and the timer is enabled again. In case interrupts are to be delivered, the timer is not disabled. I have obviously gone mad from staring too much at PowerT

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

2008-01-06 Thread Juergen Lock
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 a report of xorg 7.3 using the cirrus emulation in a FreeBSD 6.3 RC gues

[Qemu-devel] [PATCH] Implement ARM floating point exception emulation

2008-01-06 Thread Aurelien Jarno
The patch below, written by Ulrich Hecht implements ARM floating point exception emulation. It is in the Debian qemu package for more than 2 years, and looks good enough to be committed upsteam. Index: linux-user/main.c === RCS file:

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-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 DVD (4.7GB) and the

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] qemu Makefile

2008-01-06 Thread Thiemo Seufer
Fabrice Bellard wrote: > CVSROOT: /sources/qemu > Module name: qemu > Changes by: Fabrice Bellard08/01/06 18:27:12 > > Modified files: > . : Makefile > > Log message: > update binary distribution > > CVSWeb URLs: > http://cvs.savannah.gnu.org/viewcvs/qem

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] 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