Re: [Qemu-devel] using partition images

2006-05-07 Thread Jim C. Brown
On Sun, May 07, 2006 at 11:53:46PM -0400, Jim C. Brown wrote: > Known Issues: > > booting is not supported - this will require passing a separate bootsector. I stand corrected. New patch that adds support for booting partition images. Apply this on top of the first one. Also attached is the requ

[Qemu-devel] using partition images

2006-05-07 Thread Jim C. Brown
This is a preliminary patch that adds support for using a single partition image as a hard disk image. Syntax is: qemu -hdX part:file E.g. qemu -hda part:/dev/hda1 qemu will see a hard disk with a single partition on it. Reading appears to work ok, I haven't tested writing yet. Writing to the M

Re: [Qemu-devel] -cc checking wrong

2006-05-07 Thread Jim C. Brown
On Mon, May 08, 2006 at 01:53:03AM +0100, Paul Brook wrote: > You really should test your patches. The patch you attached generates an > error > if the compiler works. > > Paul > Whoops, sorry about that. I only tested the --cc="ccache gcc" case. Here's the correct patch. -- Infinite comple

Re: [Qemu-devel] -cc checking wrong

2006-05-07 Thread Paul Brook
On Monday 08 May 2006 01:18, Jim C. Brown wrote: > On Mon, May 08, 2006 at 12:46:24AM +0200, Pavel Jan?k wrote: > > configure contains: > > > > if [ ! -x "`which $cc`" ] ; then > > echo "Compiler $cc could not be found" > > exit > > fi > > > > You should check if the command compiles, not i

Re: [Qemu-devel] -cc checking wrong

2006-05-07 Thread Jim C. Brown
On Sun, May 07, 2006 at 08:18:55PM -0400, Jim C. Brown wrote: > On Mon, May 08, 2006 at 12:46:24AM +0200, Pavel Jan?k wrote: > > configure contains: > > > > if [ ! -x "`which $cc`" ] ; then > > echo "Compiler $cc could not be found" > > exit > > fi > > > > You should check if the command

Re: [Qemu-devel] -cc checking wrong

2006-05-07 Thread Jim C. Brown
On Mon, May 08, 2006 at 12:46:24AM +0200, Pavel Jan?k wrote: > configure contains: > > if [ ! -x "`which $cc`" ] ; then > echo "Compiler $cc could not be found" > exit > fi > > You should check if the command compiles, not if it exists and is executable. Patch attached. Simply tries to c

Re: [Qemu-devel] -cc checking wrong

2006-05-07 Thread Pavel Janík
From: [EMAIL PROTECTED] (Pavel Janík) Date: Mon, 01 May 2006 09:41:14 +0200 > [EMAIL PROTECTED]:/tmp/QEMU/qemu-cvs> ./configure --cc="ccache gcc" > Compiler ccache gcc could not be found > [EMAIL PROTECTED]:/tmp/QEMU/qemu-cvs> This comes from revision 1.93 date: 2006-04-23 16:35:

Re: [Qemu-devel] Re: "sleep" segfaults on qemu-0.8.1/kqemu-1.3.0pre6

2006-05-07 Thread Christian MICHON
yep, it's fixed. Zith regqrds to -kernel-kqemu, it still generate a TRAP unknown and hangs xp hosts... Thanks for the quick fix. On 5/7/06, Fabrice Bellard <[EMAIL PROTECTED]> wrote: Right, it is a regression caused by a typo in kqemu 1.3.0pre6. I just released kqemu-1.3.0pre7 which should corre

[Qemu-devel] qemu loader.c

2006-05-07 Thread Fabrice Bellard
CVSROOT:/sources/qemu Module name:qemu Branch: Changes by: Fabrice Bellard <[EMAIL PROTECTED]> 06/05/07 18:06:27 Modified files: . : loader.c Log message: win32 fix CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/qemu/loader.c.diff

[Qemu-devel] qemu monitor.c

2006-05-07 Thread Fabrice Bellard
CVSROOT:/sources/qemu Module name:qemu Branch: Changes by: Fabrice Bellard <[EMAIL PROTECTED]> 06/05/07 18:03:31 Modified files: . : monitor.c Log message: more keycodes - hexa keycodes - keycode completion CVSWeb URLs: http://cvs.savann

Re: [Qemu-devel] qemu disk on vfat

2006-05-07 Thread Yann Le Doaré
With : qemu-img create /mnt/partitions/windows0/qmeu-disk 4M qemu -hda /mnt/partitions/windows0/qmeu-disk qemu: could not open hard disk image'/mnt/partitions/windows0/qmeu-disk' but with on ext3/ext2 or tmpfs, there is no problem. Le dimanche 07 mai 2006 à 13:00 +0200, NyOS a écrit : > On Mo

[Qemu-devel] Re: DMA with Knoppix and qemu (cvs-version)

2006-05-07 Thread Sven Köhler
> Just a note: setting DMA through hdparm doesn't work on Linux since > tens of versions ago, it's been depreceted and you have to trust the > on-boot autodetection (and it works fine -- unless you didn't compile > the right driver in). It's the same on real machines. WHAT!? i have used it with K

RE: [Qemu-devel] curses interface and tweaks for 0.8.1

2006-05-07 Thread Sylvain Petreolle
Hi andrzej, could you split the changes into smaller patches ? IMO people would really like to have e.g. improved sendkey command and monitor commands history without curses. --- andrzej zaborowski <[EMAIL PROTECTED]> a écrit : > Hi, > * QEMU saves monitor commands history to "~/.qemu_history"

Re: [Qemu-devel] Re: "sleep" segfaults on qemu-0.8.1/kqemu-1.3.0pre6

2006-05-07 Thread Lorenzo Campedelli
Just tried kqemu-1.3.0pre7 and it works great now. I still have some problems when using -kernel-kqemu, but I couldn't tell exactly what... It looks not stable, sometimes it just doesn't finish the linux boot, for instance. I'll let you know more when/if I have more clear ideas ;). Thanks fo

Re: [Qemu-devel] Re: "sleep" segfaults on qemu-0.8.1/kqemu-1.3.0pre6

2006-05-07 Thread Fabrice Bellard
Right, it is a regression caused by a typo in kqemu 1.3.0pre6. I just released kqemu-1.3.0pre7 which should correct the issue. Windows 98 should also work again with it. Regards, Fabrice. Lorenzo Campedelli wrote: I see this also. host is Fedora Core 4 guest is a 2.4 kernel It seems to die

Re: [Qemu-devel] qemu disk on vfat

2006-05-07 Thread Jernej Simončič
On Sunday, May 7, 2006, 13:00:32, NyOS wrote: > What size is it? Linux only supports vfat (FAT32) partitions with at most > 4GB files. A disc image can easily reach that. 4GB per file is actually a FAT32 limitation - it can't store larger files (and there's nothing you can do about it). -- <

Re: [Qemu-devel] qemu disk on vfat

2006-05-07 Thread Johannes Schindelin
Hi, On Mon, 8 May 2006, Yann Le Doaré wrote: > It seems like qemu 0.8.0 does not accept image file from a vfat > partition. Is it a bug ? No. You cannot emulate a whole disk by providing only a partition. Ciao, Dscho ___ Qemu-devel mailing list Qemu-

Re: [Qemu-devel] qemu disk on vfat

2006-05-07 Thread NyOS
On Mon, 08 May 2006 12:04:50 +0200, Yann Le Doaré <[EMAIL PROTECTED]> wrote: Hi, It seems like qemu 0.8.0 does not accept image file from a vfat partition. Is it a bug ? Greetings. Yann Le Doaré. strace : open("/mnt/partitions/windows0/qmeu-disk", O_RDONLY|O_LARGEFILE) = 7 read(7, "", 10

Re: [Qemu-devel] qemu disk on vfat

2006-05-07 Thread Yann Le Doaré
my option is "-hda /mnt/partitions/windows0/qmeu-disk" Le dimanche 07 mai 2006 à 05:44 -0300, André Braga a écrit : > It's more likely a typo in your command line. "qmeu"-disk? > > On 5/8/06, Yann Le Doaré <[EMAIL PROTECTED]> wrote: > > Hi, > > > > It seems like qemu 0.8.0 does not accept image f

Re: [Qemu-devel] qemu disk on vfat

2006-05-07 Thread André Braga
It's more likely a typo in your command line. "qmeu"-disk? On 5/8/06, Yann Le Doaré <[EMAIL PROTECTED]> wrote: Hi, It seems like qemu 0.8.0 does not accept image file from a vfat partition. Is it a bug ? Greetings. Yann Le Doaré. strace : open("/mnt/partitions/windows0/qmeu-disk", O_RDONLY

[Qemu-devel] qemu disk on vfat

2006-05-07 Thread Yann Le Doaré
Hi, It seems like qemu 0.8.0 does not accept image file from a vfat partition. Is it a bug ? Greetings. Yann Le Doaré. strace : open("/mnt/partitions/windows0/qmeu-disk", O_RDONLY|O_LARGEFILE) = 7 read(7, "", 1024) = 0 close(7)= 0 open("/m

[Qemu-devel] Re: "sleep" segfaults on qemu-0.8.1/kqemu-1.3.0pre6

2006-05-07 Thread Lorenzo Campedelli
I see this also. host is Fedora Core 4 guest is a 2.4 kernel It seems to die in modify_ldt(), the libc function just after returning from the modify_ldt() system call, if I understand the traces. This doesn't happen using the same qemu with kqemu-1.3.0pre5. Attached are gdb and strace output