[Qemu-devel] Raw HDD image script

2006-04-24 Thread Damien Mascord
Heya guys, I have put together a simple script that will take a directory, and turn it into a bootable raw disk image. (busybox on uClibc) Currently it is for PITA (http://ali.as/pita/), though since it is based on a directory, a purpose built HDD image is very easy. The script has to be run

Re: [Qemu-devel] Custom floppy image not booting, hanging at ramdisk...

2006-04-24 Thread Damien Mascord
Hi again, Sorry to top post, just wanted to know if anyone has had similar experiences to this? If not, can someone help me debug the issue (bug?) with qemu here? Damien Mascord wrote: > Heya guys, > > I am trying to create my own uclibc/busybox floppy bootdisk, and am running > into an issue

Re: [Qemu-devel] qemu/hw usb-uhci.c

2006-04-24 Thread Lonnie Mendez
[EMAIL PROTECTED] wrote: Hello Fabrice, This patch introduces an already fixed bug with linux guest os. The message is: "controller still running". The attached patch fixes this problem. To expand on this, I saw windows checking the status register several times to look for hchalt once R/

Re: [Qemu-devel] [PATCH] Timer/clock for Linux

2006-04-24 Thread Jamie Lokier
Fabrice Bellard wrote: > Can other people confirm that it is better to always use /dev/rtc on > Linux ? Is there a way to get the real resolution of the host timer ? Yes, on recent Linux kernels you can do clock_getres(CLOCK_MONOTONIC,&ts) [or CLOCK_REALTIME], and it will return the length of a t

Re: [Qemu-devel] qemu/hw usb-uhci.c

2006-04-24 Thread nix . wie . weg
Hello Fabrice, This patch introduces an already fixed bug with linux guest os. The message is: "controller still running". The attached patch fixes this problem. Believe me it would save both of us a lot of time, if you would simply add the large usb patch. With kind regards, Tino H. Seifert Fab

[Qemu-devel] Update for cvs 2006-04-24

2006-04-24 Thread nix . wie . weg
Hello everybody, As Fabrice is already adding some changes to cvs. The patch is getting smaller (by fivehundert lines today). If we keep this speed the patch will be gone in only 9 more days. Here is the patch - as allways applying cleanly to todays cvs: http://217.20.126.200/tino/usb-2006-04-24.

[Qemu-devel] Patch to allow window title to be set

2006-04-24 Thread Daniel P. Berrange
When running many copies of QEMU on a single desktop it gets difficult to keep track of what OS is running in each window. So I wrote a very simple patch adding a '-title ' argument to QEMU, which is used to set the SDL window title. eg qemu -hda foo.img -title "Fedora Core 5 builder" It would be

Re: [Qemu-devel] -kernel-kqemu

2006-04-24 Thread Fabrice Bellard
Hi, I just found the problem related to the -kernel-kqemu bug with win2k and '-m 256'. But fixing the bug is another matter ! Fabrice. Brad Campbell wrote: Troy Benjegerdes wrote: On Thu, Feb 09, 2006 at 04:01:34PM -0600, Anthony Liguori wrote: Jim C. Brown wrote: -kernel-kqemu virtual

[Qemu-devel] patch to avoid space allocation for zero blocks in the qcow format

2006-04-24 Thread Bakul Shah
The below patch avoids allocating space in the qcow image format when a block of zeroes is being written. No attempt is made to free up space if a previously written block of nonzero data is being overwritten with zeroes. This patch makes a big difference in space use for cases where the s/w want

[Qemu-devel] qemu hw/i8254.c hw/pc.c ./vl.c ./vl.h ./Makefil...

2006-04-24 Thread Fabrice Bellard
CVSROOT:/sources/qemu Module name:qemu Branch: Changes by: Fabrice Bellard <[EMAIL PROTECTED]> 06/04/24 21:58:30 Modified files: hw : i8254.c pc.c . : vl.c vl.h Makefile.target Changelog Added files: hw : p

Re: [Qemu-devel] [PATCH] Timer/clock for Linux

2006-04-24 Thread Fabrice Bellard
Hi, Can other people confirm that it is better to always use /dev/rtc on Linux ? Is there a way to get the real resolution of the host timer ? Fabrice. Kazu wrote: Hi, I made a little patch of timer/clock for Linux host. It always trys to use /dev/rtc. getitimer doesn't report a correct int

[Qemu-devel] qemu/hw usb-uhci.c

2006-04-24 Thread Fabrice Bellard
CVSROOT:/sources/qemu Module name:qemu Branch: Changes by: Fabrice Bellard <[EMAIL PROTECTED]> 06/04/24 21:38:50 Modified files: hw : usb-uhci.c Log message: HCHALTED status bit handling (Lonnie Mendez) CVSWeb URLs: http://cvs.savannah.gn

[Qemu-devel] qemu/hw usb-hub.c

2006-04-24 Thread Fabrice Bellard
CVSROOT:/sources/qemu Module name:qemu Branch: Changes by: Fabrice Bellard <[EMAIL PROTECTED]> 06/04/24 21:25:26 Modified files: hw : usb-hub.c Log message: do not set PORT_STAT_C_ENABLE when doing port reset (Lonnie Mendez) CVSWeb URLs:

[Qemu-devel] qemu ./Makefile.target hw/usb.c hw/usb-hub.c

2006-04-24 Thread Fabrice Bellard
CVSROOT:/sources/qemu Module name:qemu Branch: Changes by: Fabrice Bellard <[EMAIL PROTECTED]> 06/04/24 21:18:20 Modified files: . : Makefile.target hw : usb.c Added files: hw : usb-hub.c Log message:

[Qemu-devel] qemu/hw usb.c

2006-04-24 Thread Fabrice Bellard
CVSROOT:/sources/qemu Module name:qemu Branch: Changes by: Fabrice Bellard <[EMAIL PROTECTED]> 06/04/24 21:10:52 Modified files: hw : usb.c Log message: usb setup state machine fix when driver reads or writes too many bytes CVSWeb URLs: h

[Qemu-devel] qemu ./Makefile.target ./cpu-exec.c ./dyngen.c ...

2006-04-24 Thread Fabrice Bellard
CVSROOT:/sources/qemu Module name:qemu Branch: Changes by: Fabrice Bellard <[EMAIL PROTECTED]> 06/04/24 20:32:17 Modified files: . : Makefile.target cpu-exec.c dyngen.c dyngen.h linux-user : syscall.c Removed files: .

[Qemu-devel] qemu/target-i386 ops_template_mem.h

2006-04-24 Thread Fabrice Bellard
CVSROOT:/sources/qemu Module name:qemu Branch: Changes by: Fabrice Bellard <[EMAIL PROTECTED]> 06/04/24 20:19:07 Modified files: target-i386: ops_template_mem.h Log message: rol/ror cc fix CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/qem

[Qemu-devel] qemu/tests test-i386-shift.h

2006-04-24 Thread Fabrice Bellard
CVSROOT:/sources/qemu Module name:qemu Branch: Changes by: Fabrice Bellard <[EMAIL PROTECTED]> 06/04/24 20:18:26 Modified files: tests : test-i386-shift.h Log message: better shift tests CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/

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

2006-04-24 Thread Fabrice Bellard
CVSROOT:/sources/qemu Module name:qemu Branch: Changes by: Fabrice Bellard <[EMAIL PROTECTED]> 06/04/24 20:14:56 Modified files: target-i386: translate.c Log message: movddup fix CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/qemu/target-i

Re: [Qemu-devel] [PATCH] use stdio.h

2006-04-24 Thread Paul Brook
> >> Make dyngen-exec.h include which is more portable than the > >> local definitions. > > > > I believe dyngen-exec.h deliberately doesn't include stdio.h because it > > conflicts with the local register variables on some hosts. > > Ah, I thought there's got to be an explanation... Should be add

Re: [Qemu-devel] [PATCH] use stdio.h

2006-04-24 Thread Marius Groeger
On Mon, 24 Apr 2006, Paul Brook wrote: On Monday 24 April 2006 15:40, Marius Groeger wrote: Hi, Changelog: Make dyngen-exec.h include which is more portable than the local definitions. I believe dyngen-exec.h deliberately doesn't include stdio.h because it conflicts with the local register

Re: [Qemu-devel] [PATCH] use stdio.h

2006-04-24 Thread Paul Brook
On Monday 24 April 2006 15:40, Marius Groeger wrote: > Hi, > > Changelog: > > Make dyngen-exec.h include which is more portable than the > local definitions. I believe dyngen-exec.h deliberately doesn't include stdio.h because it conflicts with the local register variables on some hosts. Paul

[Qemu-devel] [PATCH] use stdio.h

2006-04-24 Thread Marius Groeger
Hi, Changelog: Make dyngen-exec.h include which is more portable than the local definitions. Regards, Marius -- Marius Groeger <[EMAIL PROTECTED]> SYSGO AG Embedded and Real-Time Software Voice: +49 6136 9948 0 FAX: +49 6136 9948 10 www.sysgo.com | www.

Re: [Qemu-devel] -kernel-kqemu - bug with -m 256 <-please disregard

2006-04-24 Thread Dan Sandberg
Dan Sandberg wrote: Brad Campbell wrote: Troy Benjegerdes wrote: On Thu, Feb 09, 2006 at 04:01:34PM -0600, Anthony Liguori wrote: Jim C. Brown wrote: -kernel-kqemu virtualizes ring 0 code. So it basically makes qemu do what VMware does. IIRC someone reported a 33% speedup with the new

Re: [Qemu-devel] -kernel-kqemu - bug with -m 256

2006-04-24 Thread Dan Sandberg
Brad Campbell wrote: Troy Benjegerdes wrote: On Thu, Feb 09, 2006 at 04:01:34PM -0600, Anthony Liguori wrote: Jim C. Brown wrote: -kernel-kqemu virtualizes ring 0 code. So it basically makes qemu do what VMware does. IIRC someone reported a 33% speedup with the new option. That was m