Re: [Qemu-devel] [PATCH] loader: pad kernel size when loaded from a uImage

2010-07-29 Thread malc
On Thu, 29 Jul 2010, Hollis Blanchard wrote: > The kernel's BSS size is lost by mkimage, which only considers file > size. As a result, loading other blobs (e.g. device tree, initrd) > immediately after the kernel location can result in them being zeroed by > the kernel's BSS initialization code.

Re: [Qemu-devel] Old DGUX Machine and Adaptec SCSI PCI Controller

2010-07-29 Thread Avi Kivity
On 07/29/2010 10:38 PM, DG UX wrote: Avi, It's an AIC-7880 CHIP. Linux has aic7xxx open source drivers, I am sure one can use those to implement them into Qemu. That "one" will have to be you. I don't see why anyone else would be interested. Note that writing a device model based on a dr

[Qemu-devel] [PATCH] seabios: acpi: add mcfg table.

2010-07-29 Thread Isaku Yamahata
add mcfg table. mcfg isn't populated at the moment. dev-q35 will use it later. Signed-off-by: Isaku Yamahata --- src/acpi.c | 62 src/acpi.h | 17 src/post.h | 14 + 3 files changed, 93 insertions(+),

[Qemu-devel] [PATCH] loader: pad kernel size when loaded from a uImage

2010-07-29 Thread Hollis Blanchard
The kernel's BSS size is lost by mkimage, which only considers file size. As a result, loading other blobs (e.g. device tree, initrd) immediately after the kernel location can result in them being zeroed by the kernel's BSS initialization code. Signed-off-by: Hollis Blanchard --- hw/loader.c |

[Qemu-devel] [PATCH] PPC4xx: don't unregister RAM at reset

2010-07-29 Thread Hollis Blanchard
The PowerPC 4xx SDRAM controller emulation unregisters RAM in its reset callback. However, qemu_system_reset() is now called at initialization time, so RAM is unregistered before starting the guest. Signed-off-by: Hollis Blanchard --- hw/ppc4xx_devs.c |1 - 1 files changed, 0 insertions(+),

[Qemu-devel] [PATCH] ppc4xx: correct SDRAM controller warning message condition

2010-07-29 Thread Hollis Blanchard
From: Hollis Blanchard The message "Truncating memory to %d MiB to fit SDRAM controller limits" should be displayed only when a user chooses an amount of RAM which can't be represented by the PPC 4xx SDRAM controller (e.g. 129MB, which would only be valid if the controller supports a bank size of

[Qemu-devel] [PATCH] Use --strip-program to accommodate cross-compilers

2010-07-29 Thread Hollis Blanchard
From: Hollis Blanchard Fixes this error during make install: ... install -m0755 -p -s qemu-nbd qemu-img qemu-io "/opt/ppc440-angstrom-linux/usr/local/bin" strip: Unable to recognise the format of the input file `/opt/ppc440-angstrom-linux/usr/local/bin/qemu-nbd' Signed-off-by: Hollis Blanchard

[Qemu-devel] Re: [PATCH 1/2] Fix segfault in mmio subpage handling code.

2010-07-29 Thread Marcelo Tosatti
On Thu, Jul 29, 2010 at 01:41:45PM +0300, Gleb Natapov wrote: > Use this one instead. > > On Wed, Jul 28, 2010 at 06:13:22PM +0300, Gleb Natapov wrote: > > It is possible that subpage mmio is registered over existing memory > > page. When this happens "memory" will have real memory address and not

[Qemu-devel] Re: [PATCH 2/2] Remove guest triggerable abort()

2010-07-29 Thread Marcelo Tosatti
On Wed, Jul 28, 2010 at 06:13:23PM +0300, Gleb Natapov wrote: > This abort() condition is easily triggerable by a guest if it configures > pci bar with unaligned address that overlaps main memory. > > Signed-off-by: Gleb Natapov > --- > kvm-all.c | 16 > 1 files changed, 4 ins

Re: [Qemu-devel] Latest git version failed to run 403.gcc benchmark in SPEC CPU2006

2010-07-29 Thread Artyom Tarasenko
2010/7/29 amateur : > Hi, All > > I'm trying to run benchmarks from SPEC CPU2006 compiled for SPARC on > top of qemu-sparc32plus. However, several benchmarks failed to get the > correct result. Can you try to compile them for sparc32 (no plus)? Are the tests multi-threaded? If yes, can you try to

Re: [Qemu-devel] Old DGUX Machine and Adaptec SCSI PCI Controller

2010-07-29 Thread DG UX
Avi, It's an AIC-7880 CHIP. Linux has aic7xxx open source drivers, I am sure one can use those to implement them into Qemu. Just how "shouldn't be too difficult" should it be? I am sure it'll help a lot of Adaptec users, regardless of DG/UX or other platforms. On Mon, Jul 26, 2010 at 12:45 PM, DG

[Qemu-devel] Re: [PATCH] linux-user: Protect against allocation failure in load_symbols.

2010-07-29 Thread malc
On Thu, 29 Jul 2010, Richard Henderson wrote: > Cc: malc > Signed-off-by: Richard Henderson > --- Thanks. Applied. -- mailto:av1...@comtv.ru

[Qemu-devel] [PATCH] linux-user: Protect against allocation failure in load_symbols.

2010-07-29 Thread Richard Henderson
Cc: malc Signed-off-by: Richard Henderson --- linux-user/elfload.c | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/linux-user/elfload.c b/linux-user/elfload.c index a53285a..33d776d 100644 --- a/linux-user/elfload.c +++ b/linux-user/elfload.c @@ -1546,7 +1546,1

[Qemu-devel] Latest git version failed to run 403.gcc benchmark in SPEC CPU2006

2010-07-29 Thread amateur
Hi, All I'm trying to run benchmarks from SPEC CPU2006 compiled for SPARC on top of qemu-sparc32plus. However, several benchmarks failed to get the correct result. One of the failed benchmarks, 403.gcc, runs for a while and then print an error message and exit. However, the same compiled gcc bina

[Qemu-devel] Re: [Bug 595438] Re: KVM segmentation fault, using SCSI+writeback and linux 2.4 guest

2010-07-29 Thread Serge Hallyn
Quoting Коренберг Марк (595...@bugs.launchpad.net): > Please say how to make ppa:... repository work for me. sudo add-apt-repository ppa:serge-hallyn/virt sudo apt-get update sudo apt-get upgrade Then to remove it, rm /etc/apt/sources.list.d/serge-hallyn-virt-lucid.list and apt-get update again.

[Qemu-devel] [Bug 595438] Re: KVM segmentation fault, using SCSI+writeback and linux 2.4 guest

2010-07-29 Thread Коренберг Марк
Please say how to make ppa:... repository work for me. -- KVM segmentation fault, using SCSI+writeback and linux 2.4 guest https://bugs.launchpad.net/bugs/595438 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in Kernel Virtual M

[Qemu-devel] Re: [Bug 595438] Re: KVM segmentation fault, using SCSI+writeback and linux 2.4 guest

2010-07-29 Thread Serge Hallyn
Could you test qemu-kvm_0.12.3+noroms-0ubuntu10 from ppa:serge-hallyn/virt? If this fixes your problem then I will propose it for merge. -- KVM segmentation fault, using SCSI+writeback and linux 2.4 guest https://bugs.launchpad.net/bugs/595438 You received this bug notification because you are a

[Qemu-devel] Re: [PATCH 1/2] Fix segfault in mmio subpage handling code.

2010-07-29 Thread Gleb Natapov
Use this one instead. On Wed, Jul 28, 2010 at 06:13:22PM +0300, Gleb Natapov wrote: > It is possible that subpage mmio is registered over existing memory > page. When this happens "memory" will have real memory address and not > index into io_mem array so next access to the page will generate > se

[Qemu-devel] [PATCH] Fix SIGFPE race for vnc display resize

2010-07-29 Thread Chris Webb
cc39a92cbfc8 fixed a SIGFPE where the screen is resized to width/hight 1 and then receives a mouse click. However, there is a still a tiny window here for a race between the test for width/height > 1 and the division. Signed-off-by: Chris Webb --- Sending this as I've just seen a SIGFPE from one

Re: [Qemu-devel] [PATCH 1/1] Remove unused eventfd.h

2010-07-29 Thread Stefan Hajnoczi
On Wed, Jul 28, 2010 at 11:50 PM, Mike McCormack wrote: > This header is not present on my system and causes a build > failure, but is also not used in these files, so remove it. > > Signed-off-by: Mike McCormack > --- >  hw/vhost.c     |    1 - >  hw/vhost_net.c |    1 - >  2 files changed, 0 in

[Qemu-devel] [PATCH] acpi: fix file size check with -acpitable.

2010-07-29 Thread Isaku Yamahata
acpi table file can be modified during load so file size check should be more strict. pointer calculation should be after qemu_realloc(). not before realloc(). Signed-off-by: Isaku Yamahata --- hw/acpi.c | 28 +++- 1 files changed, 19 insertions(+), 9 deletions(-) diff

[Qemu-devel] [Bug 611142] Re: seabios should have native scsi support

2010-07-29 Thread agraf
I guess the best way to make this work would be to get the original option rom for the emulated LSI SCSI controller licensed so that we can use it freely. That way we a) verify that the emulation is correct b) are even closer to real world hardware The difficult thing here is on how to talk to LS

[Qemu-devel] [Bug 611142] Re: seabios should have native scsi support

2010-07-29 Thread Scott Moser
Just on other thought, grub *does* have a 'scsi' module, that in theory could handle identifying scsi disks outside of 'biosdisk'. However, it doesn't work now. -- seabios should have native scsi support https://bugs.launchpad.net/bugs/611142 You received this bug notification because you are a

Re: [Qemu-devel] [PATCH 00/12 v4] Clean up linux-user/elfload.c

2010-07-29 Thread Edgar E. Iglesias
On Tue, Jul 27, 2010 at 10:25:26AM -0700, Richard Henderson wrote: > A re-based and re-tested version of a patch series I > posted back in April and May. These cleanups prepare > elfload.c for loading the VDSO for x86_64. I got a whitespace warning when applying the patches: Applying: linux-user: