[Qemu-devel] Re: [patch 1/3] target-i386: print EFER in cpu_dump_state

2010-03-13 Thread Avi Kivity
On 03/11/2010 08:53 PM, Marcelo Tosatti wrote: On Thu, Mar 11, 2010 at 10:35:21AM +0200, Avi Kivity wrote: On 03/09/2010 03:53 AM, Marcelo Tosatti wrote: Signed-off-by: Marcelo Tosatti Index: qemu-kvm-uq/target-i386/helper.c ===

[Qemu-devel] Re: PS/2 mouse emulation problems

2010-03-13 Thread Kevin O'Connor
On Sun, Mar 14, 2010 at 01:28:01PM +0800, Roy Tam wrote: > 2010/3/14 Kevin O'Connor : > > On Sun, Mar 14, 2010 at 11:11:30AM +0800, Roy Tam wrote: > >> - DOS 1.1x - 1.25 still freeze after pressing [Enter] in date/time > >> prompt or in shell prompt. > > > > Is that a regression from Bochs BIOS? C

[Qemu-devel] Re: PS/2 mouse emulation problems

2010-03-13 Thread Roy Tam
2010/3/14 Kevin O'Connor : > On Sun, Mar 14, 2010 at 11:11:30AM +0800, Roy Tam wrote: >> 2010/3/14 Roy Tam : >> > Tested. Results belows: >> > + NeXTStep/OpenStep bootloader no longer stalls. >> > + EDR-DOS 7.01.08 WIP boots. >> > + Paragon PTS-DOS 6.51CD/2000 Pro, GHOST, GW-BASIC, FreeDOS/V, MS-DO

[Qemu-devel] Re: PS/2 mouse emulation problems

2010-03-13 Thread Kevin O'Connor
On Sun, Mar 14, 2010 at 11:11:30AM +0800, Roy Tam wrote: > 2010/3/14 Roy Tam : > > Tested. Results belows: > > + NeXTStep/OpenStep bootloader no longer stalls. > > + EDR-DOS 7.01.08 WIP boots. > > + Paragon PTS-DOS 6.51CD/2000 Pro, GHOST, GW-BASIC, FreeDOS/V, MS-DOS > > 6.22 (Korean Edition), ET3 C

[Qemu-devel] Re: PS/2 mouse emulation problems

2010-03-13 Thread Roy Tam
eXTStep PS/2 bug is known from QEMU 0.7.0 (which used Bochs >>> > BIOS), the other ones are new (as far as I know) so they may be or may not >>> > be caused by SeaBIOS. >>> > >>> >>> for Hydrogen OS, when I use QEMU BIOS (yes with my -old-bios hack) it >

[Qemu-devel] Re: PS/2 mouse emulation problems

2010-03-13 Thread Roy Tam
es are new (as far as I know) so they may be or may not >> > be caused by SeaBIOS. >> > >> >> for Hydrogen OS, when I use QEMU BIOS (yes with my -old-bios hack) it >> works in git head. > > Can you test with: > > http://linuxtogo.org/~kevin/SeaBIOS/te

Re: [Qemu-devel] qemu-system-sh4 broken again.

2010-03-13 Thread Rob Landley
On Saturday 13 March 2010 15:11:03 Rob Landley wrote: > On Saturday 13 March 2010 04:26:47 Aurelien Jarno wrote: > > On Sat, Mar 13, 2010 at 01:51:35AM -0600, Rob Landley wrote: > > > Using qemu-system-sh4, this commit: > > > > > > e1c09175bc00dd8dfb2ad1b26e1858dcdc109b59 is first bad commit > > >

[Qemu-devel] vl.c:(.text+0x40b8): undefined reference to `kvm_set_signal_mask'

2010-03-13 Thread Nigel Horne
How do I get around the above linkage error with the latest version in Git? I've tried both --enable-kvm and --disable-kvm and I still get it. Here are my options to "./configure": ./configure --cc=gcc-3.4 --host-cc=gcc-3.4 --enable-linux-aio --enable-io-thread --disable-kvm I build with C

[Qemu-devel] Re: PC keyboard emulation (was: Regression: more 0.12 regression (SeaBIOS related?))

2010-03-13 Thread Kevin O'Connor
On Fri, Mar 12, 2010 at 11:24:27PM +, Jamie Lokier wrote: > The DOS coding method brought up in this thread, resulting > in two reads of port 0x60, is quite common. It works on all real PCs, > and correct emulation must handle it. > > I'm not sure if reading port 0x60 is supposed to clear the

Re: [Qemu-devel] [PATCH 5/6] Implement multi-level page tables.

2010-03-13 Thread Stefan Weil
Richard Henderson schrieb: > Define L1_MAP_ADDR_SPACE_BITS to be either the virtual address size > (in user mode) or physical address size (in system mode), and use > that to size l1_map. This rewrites page_find_alloc, page_flush_tb, > and walk_memory_regions. > > Use TARGET_PHYS_ADDR_SPACE_BITS f

[Qemu-devel] [PATCH] target-mips: Fix 32 bit mode (wrong size of physical addresses)

2010-03-13 Thread Stefan Weil
Commit 30724e758a21ba9f807efafe268626bd479db9de breaks malta (and other) mips 32 bit emulation. Fixing the physical address size for 32 bit machines makes it work again. Signed-off-by: Stefan Weil --- target-mips/mips-defs.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --gi

Re: [Qemu-devel] spelling typo (compatibilty) in hw/fw_cfg.c

2010-03-13 Thread Vagrant Cascadian
On Sat, Mar 13, 2010 at 01:05:03PM +0200, Blue Swirl wrote: > On 3/12/10, Vagrant Cascadian wrote: > > here's a trivial patch to fix the spelling of "compatibility": > > Please add a Signed-off-by: line. hope this is what you're looking for: Signed-off-by: Vagrant Cascadian > > > > diff --gi

[Qemu-devel] manpage errors

2010-03-13 Thread Vagrant Cascadian
On Sat, Mar 13, 2010 at 01:05:03PM +0200, Blue Swirl wrote: > On 3/12/10, Vagrant Cascadian wrote: > > i found this spelling typo and the previous one by running lintian on the > > qemu > > packages i work on for debian: > > > > > > http://lintian.debian.org/full/pkg-qemu-de...@lists.alioth.d

Re: [Qemu-devel] qemu-system-sh4 broken again.

2010-03-13 Thread Rob Landley
On Saturday 13 March 2010 04:26:47 Aurelien Jarno wrote: > On Sat, Mar 13, 2010 at 01:51:35AM -0600, Rob Landley wrote: > > Using qemu-system-sh4, this commit: > > > > e1c09175bc00dd8dfb2ad1b26e1858dcdc109b59 is first bad commit > > commit e1c09175bc00dd8dfb2ad1b26e1858dcdc109b59 > > Author: Gerd H

[Qemu-devel] Re: PS/2 mouse emulation problems

2010-03-13 Thread Kevin O'Connor
gt; for Hydrogen OS, when I use QEMU BIOS (yes with my -old-bios hack) it > works in git head. Can you test with: http://linuxtogo.org/~kevin/SeaBIOS/test/bios.bin-0.5.1-debug-20100313 Change summary in this test image: * int 1601 / int 1a00 should enable irqs - fixes several boot hangs

[Qemu-devel] -fda fat:dir -snapshot

2010-03-13 Thread Michael Tokarev
Apparently this does not work, and for a lng time: $ kvm -fda fat:dir [ it opens the sdl window ] $ kvm -fda fat:dir -snapshot qemu: could not open disk image fat:dir: No such file or directory Is it supposed to work? Thanks! /mjt

Re: [Qemu-devel] [PATCH QEMU] transparent hugepage support

2010-03-13 Thread Andrea Arcangeli
On Sat, Mar 13, 2010 at 10:28:32AM +0200, Avi Kivity wrote: > On 03/11/2010 06:05 PM, Andrea Arcangeli wrote: > > On Thu, Mar 11, 2010 at 05:52:16PM +0200, Avi Kivity wrote: > > > >> That is a little wasteful. How about a hint to mmap() requesting proper > >> alignment (MAP_HPAGE_ALIGN)? > >>

Re: [Qemu-devel] SeaBIOS error with Nextstep bootloader

2010-03-13 Thread Kevin O'Connor
On Sat, Mar 13, 2010 at 02:30:31PM +0800, Roy Tam wrote: > mouse problem affects Hydrogen OS too. > http://tommy.planet.free.fr/doku.php?id=hydrogen_os SeaBIOS turns mouse irqs on by default - the above image doesn't like that. -Kevin

Re: [Qemu-devel] Regression: more 0.12 regression (SeaBIOS related?)

2010-03-13 Thread Roy Tam
2010/3/13 Kevin O'Connor : > On Sat, Mar 13, 2010 at 12:13:04AM +0800, Roy Tam wrote: >> 2010/3/12 Kevin O'Connor : >> > Under qemu-0.11 normal typing lead to lots of keyboard errors for me. >> > It's possible real hardware would be less susceptible to this error, >> > but there is nothing that a B

[Qemu-devel] Re: [RESEND][PATCH][STABLE] Don't set default monitor when there is a mux'ed one

2010-03-13 Thread Jan Kiszka
Aurelien Jarno wrote: > On Mon, Mar 08, 2010 at 10:44:18AM -0600, Anthony Liguori wrote: >> On 03/07/2010 04:28 AM, Jan Kiszka wrote: >>> This fixes eg. "-nographic -serial mon:stdio [-serial ...]". >>> >>> Signed-off-by: Jan Kiszka >>> >> Applied to stable. >> > > The same problem exists in H

Re: [Qemu-devel] [PATCH 00/13] x86/cpuid: cleanups and fixes

2010-03-13 Thread Aurelien Jarno
On Thu, Mar 11, 2010 at 02:38:54PM +0100, Andre Przywara wrote: > Hi, > > a rebased and refined version of my CPUID cleanup series. This should > now apply on top of git head. Compared to the last post this leaves > out the bits already done by John Cooper's patch. Also I added a separate > patch

Re: [Qemu-devel] [PATCH, RFC] Replace assert(0) with abort() or cpu_abort()

2010-03-13 Thread Edgar E. Iglesias
On Sat, Mar 13, 2010 at 04:56:03PM +0200, Blue Swirl wrote: > When building with -DNDEBUG, assert(0) will not stop execution > so it must not be used for abnormal termination. > > Use cpu_abort() when in CPU context, abort() otherwise. > > Signed-off-by: Blue Swirl The CRIS parts look good, tha

Re: [Qemu-devel] Regression: more 0.12 regression (SeaBIOS related?)

2010-03-13 Thread Kevin O'Connor
On Sat, Mar 13, 2010 at 12:13:04AM +0800, Roy Tam wrote: > 2010/3/12 Kevin O'Connor : > > Under qemu-0.11 normal typing lead to lots of keyboard errors for me. > > It's possible real hardware would be less susceptible to this error, > > but there is nothing that a BIOS inside qemu can do to stop th

[Qemu-devel] [PATCH, RFC] Replace assert(0) with abort() or cpu_abort()

2010-03-13 Thread Blue Swirl
When building with -DNDEBUG, assert(0) will not stop execution so it must not be used for abnormal termination. Use cpu_abort() when in CPU context, abort() otherwise. Signed-off-by: Blue Swirl --- block/vvfat.c | 20 ++-- hw/sh7750.c | 30 +

[Qemu-devel] Re: PS/2 mouse emulation problems

2010-03-13 Thread Roy Tam
2010/3/13 Natalia Portillo : > Ok so in resume we have the following PS/2 mouse bugs: > > NeXTStep and OpenStep PS/2 driver receives no movement at all from the mouse > (Darwin PS/2 driver seems to be made from scratch so no helpful here). > MS-DOS Mouse driver hangs the whole machine. > Windows Me

[Qemu-devel] PS/2 mouse emulation problems

2010-03-13 Thread Natalia Portillo
Ok so in resume we have the following PS/2 mouse bugs: NeXTStep and OpenStep PS/2 driver receives no movement at all from the mouse (Darwin PS/2 driver seems to be made from scratch so no helpful here). MS-DOS Mouse driver hangs the whole machine. Windows Me Setup mouse driver receives no mo

Re: [Qemu-devel] [PATCH 0/6] Multi-level page tables and userland mapping fixes, v3

2010-03-13 Thread Martin Mohring
I am sorry to bring us all down to earth, we all had wished that this stuff gets finally fixed, but it seems that those patches applied to QEMU master have killed QEMU user mode. I am referring to the user mode fixes after commit 0aef4261ac0ec9089ade0e3a92f986cb4ba7317e I had QEMU working on P

Re: [Qemu-devel] [PATCH 0/6] Multi-level page tables and userland mapping fixes, v3

2010-03-13 Thread Aurelien Jarno
On Fri, Mar 12, 2010 at 06:51:41PM +, Paul Brook wrote: > > Richard Henderson (6): > > Move TARGET_PHYS_ADDR_SPACE_BITS to target-*/cpu.h. > > Use TARGET_VIRT_ADDR_SPACE_BITS in h2g_valid. > > linux-user: Use h2g_valid in qemu_vmalloc. > > linux-user: Fix mmap_find_vma returning invalid

Re: [Qemu-devel] [PATCH] FreeBSD ppc_init_cacheline_sizes(): add missing #includes

2010-03-13 Thread Andreas Tobler
On 12.03.10 22:59, malc wrote: On Fri, 12 Mar 2010, Juergen Lock wrote: This fixes commit e4ee916d3f9a93df06bd498c92767c1558d59a0b. (The bug was mine actually...) Submitted by: Andreas Tobler Signed-off-by: Juergen Lock --- a/cache-utils.c +++ b/cache-utils.c @@ -58,7 +58,10 @@ static void p

Re: [Qemu-devel] [PATCH] scsi-disk: fix buffer overflow

2010-03-13 Thread Aurelien Jarno
On Wed, Mar 10, 2010 at 05:47:17PM +0100, Gerd Hoffmann wrote: > In case s->version is shorter than 4 bytes we overflow the memcpy src > buffer. Fix it by clearing the target buffer, then copy only the > amount of bytes we actually have. > > Signed-off-by: Gerd Hoffmann > --- > hw/scsi-disk.c |

Re: [Qemu-devel] [PATCH] fdc: fix drive property handling.

2010-03-13 Thread Aurelien Jarno
On Wed, Mar 10, 2010 at 05:30:29PM +0100, Gerd Hoffmann wrote: > Fix the floppy controller init wrappers to set the drive properties > only in case the DriveInfo pointers passed in are non NULL. This allows > to set the properties using -global. > > [ v2: fix code style issues pointed out by Aure

Re: [Qemu-devel] [PATCH] CODING_STYLE: Reserve qemu_ prefix for library wrappers

2010-03-13 Thread Edgar E. Iglesias
On Sat, Mar 13, 2010 at 10:17:37AM +0200, Avi Kivity wrote: > On 03/13/2010 04:55 AM, Edgar E. Iglesias wrote: > > On Thu, Mar 11, 2010 at 04:48:43PM +0200, Avi Kivity wrote: > > > >> Signed-off-by: Avi Kivity > >> --- > >> CODING_STYLE |3 +++ > >> 1 files changed, 3 insertions(+), 0 de

Re: [Qemu-devel] [PATCH] install: honor DESTDIR on sysconfdir population

2010-03-13 Thread Aurelien Jarno
On Mon, Mar 08, 2010 at 03:43:41PM +0100, Andre Przywara wrote: > When creating and populating $sysconfdir, we should prepend $DESTDIR > as we do with all other paths. > > Reported-by: Frank Arnold > Signed-off-by: Andre Przywara Thanks, applied. > --- > Makefile |4 ++-- > 1 files change

Re: [Qemu-devel] [PATCH] configure: fix --sysconfdir specification

2010-03-13 Thread Aurelien Jarno
On Mon, Mar 08, 2010 at 02:09:48PM +0100, Andre Przywara wrote: > --sysconfdir requires a parameter (the path), this should be reflected > in the case pattern. > > Reported-by: Frank Arnold > Signed-off-by: Andre Przywara Thanks, applied. > --- > configure |2 +- > 1 files changed, 1 ins

Re: [Qemu-devel] Re: [RESEND][PATCH][STABLE] Fix corner case in chardev udp: parameter

2010-03-13 Thread Aurelien Jarno
On Mon, Mar 08, 2010 at 10:44:37AM -0600, Anthony Liguori wrote: > On 03/07/2010 04:28 AM, Jan Kiszka wrote: >> The missing '@' broke 'udp::@:' parsing. >> >> Signed-off-by: Jan Kiszka >> > > Applied to stable, thanks. The same problem exists in HEAD. Shouldn't it be applied here too? > > Re

Re: [Qemu-devel] Re: [RESEND][PATCH][STABLE] Don't set default monitor when there is a mux'ed one

2010-03-13 Thread Aurelien Jarno
On Mon, Mar 08, 2010 at 10:44:18AM -0600, Anthony Liguori wrote: > On 03/07/2010 04:28 AM, Jan Kiszka wrote: >> This fixes eg. "-nographic -serial mon:stdio [-serial ...]". >> >> Signed-off-by: Jan Kiszka >> > > Applied to stable. > The same problem exists in HEAD. Shouldn't it be applied here

Re: [Qemu-devel] spelling typo (compatibilty) in hw/fw_cfg.c

2010-03-13 Thread Blue Swirl
On 3/12/10, Vagrant Cascadian wrote: > here's a trivial patch to fix the spelling of "compatibility": Please add a Signed-off-by: line. > > diff --git a/hw/fw_cfg.c b/hw/fw_cfg.c > index fe6c543..22ebb50 100644 > --- a/hw/fw_cfg.c > +++ b/hw/fw_cfg.c > @@ -179,7 +179,7 @@ static int get_uin

Re: [Qemu-devel] [PATCH] arm: make RFE usable with any register

2010-03-13 Thread Aurelien Jarno
On Tue, Mar 02, 2010 at 01:17:35AM +0100, Adam Lackorzynski wrote: > The rfe instruction can be used with any register, not just sp. Adjust the > condition check accordingly. > > Signed-off-by: Adam Lackorzynski Thanks, applied. > --- > target-arm/translate.c |2 +- > 1 files changed, 1 in

Re: [Qemu-devel] qemu-system-sh4 broken again.

2010-03-13 Thread Aurelien Jarno
On Sat, Mar 13, 2010 at 01:51:35AM -0600, Rob Landley wrote: > Using qemu-system-sh4, this commit: > > e1c09175bc00dd8dfb2ad1b26e1858dcdc109b59 is first bad commit > commit e1c09175bc00dd8dfb2ad1b26e1858dcdc109b59 > Author: Gerd Hoffmann > Date: Tue Dec 8 13:11:44 2009 +0100 > > zap serial

Re: [Qemu-devel] qemu-system-sh4 broken again.

2010-03-13 Thread Roy Tam
2010/3/13 Rob Landley : > Using qemu-system-sh4, this commit: > > e1c09175bc00dd8dfb2ad1b26e1858dcdc109b59 is first bad commit > commit e1c09175bc00dd8dfb2ad1b26e1858dcdc109b59 > Author: Gerd Hoffmann > Date: Tue Dec 8 13:11:44 2009 +0100 > >zap serial_monitor_mux > >The logic in this co

Re: [Qemu-devel] [PATCH QEMU] transparent hugepage support

2010-03-13 Thread Avi Kivity
On 03/11/2010 06:05 PM, Andrea Arcangeli wrote: On Thu, Mar 11, 2010 at 05:52:16PM +0200, Avi Kivity wrote: That is a little wasteful. How about a hint to mmap() requesting proper alignment (MAP_HPAGE_ALIGN)? So you suggest adding a new kernel feature to mmap? Not sure if it's worth

[Qemu-devel] qemu-system-sh4 broken again.

2010-03-13 Thread Rob Landley
Using qemu-system-sh4, this commit: e1c09175bc00dd8dfb2ad1b26e1858dcdc109b59 is first bad commit commit e1c09175bc00dd8dfb2ad1b26e1858dcdc109b59 Author: Gerd Hoffmann Date: Tue Dec 8 13:11:44 2009 +0100 zap serial_monitor_mux The logic in this code obviously predates the multiple

Re: [Qemu-devel] [PATCH] CODING_STYLE: Reserve qemu_ prefix for library wrappers

2010-03-13 Thread Avi Kivity
On 03/13/2010 04:55 AM, Edgar E. Iglesias wrote: On Thu, Mar 11, 2010 at 04:48:43PM +0200, Avi Kivity wrote: Signed-off-by: Avi Kivity --- CODING_STYLE |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/CODING_STYLE b/CODING_STYLE index a579cb1..92036f3 100644 ---