[Qemu-devel] [PATCH] sh: sm501: add 2D engine support

2010-05-08 Thread Shin-ichiro KAWASAKI
In linux kernel v2.6.33, sm501 frame buffer driver modified to support 2D graphics engine on sm501 chip. One example is "fill rectangle" operation. But current qemu's sm501 emulation doesn't support it. This results in graphics console disturbance. This patch introduces sm501 2D graphics engine

[Qemu-devel] [RFC][MIPS][PATCH 5/6] Initial support of fulong mini pc (CPU definition, machine construction, etc.)

2010-05-08 Thread chen huacai
This patch add initial support of fulong mini pc (CPU definition, machine construction, etc.) Signed-off-by: Huacai Chen - diff --git a/Makefile.target b/Makefile.target index 08968d6..2cad614 100644 --- a/Makefile.target +++ b/Makefile.target @@ -214,7 +214,7 @@ obj-ppc-y += ppce500_mpc8544d

[Qemu-devel] [RFC][MIPS][PATCH 4/6] Initial support of VIA USB controller used by fulong mini pc

2010-05-08 Thread chen huacai
This patch add Initial support of VIA USB controller used by fulong mini pc Signed-off-by: Huacai Chen - diff --git a/hw/usb-uhci.c b/hw/usb-uhci.c index 624d55b..5fd5388 100644 --- a/hw/usb-uhci.c +++ b/hw/usb-uhci.c @@ -1152,6 +1152,26 @@ static int usb_uhci_piix4_initfn(PCIDevice *dev)

[Qemu-devel] [RFC][MIPS][PATCH 3/6] Initial support of VIA IDE controller used by fulong mini pc

2010-05-08 Thread chen huacai
This patch add initial support of VIA IDE controller used by fulong mini pc Signed-off-by: Huacai Chen - diff --git a/Makefile.objs b/Makefile.objs index ecdd53e..75be9ce 100644 --- a/Makefile.objs +++ b/Makefile.objs @@ -195,6 +195,7 @@ hw-obj-$(CONFIG_IDE_ISA) += ide/isa.o hw-obj-$(CONFIG_

[Qemu-devel] [RFC][MIPS][PATCH 2/6] Initial support of vt82686b south bridge used by fulong mini pc

2010-05-08 Thread chen huacai
This patch add initial support of vt82686b south bridge used by fulong mini pc Signed-off-by: Huacai Chen - diff --git a/Makefile.target b/Makefile.target index fc4c59f..08968d6 100644 --- a/Makefile.target +++ b/Makefile.target @@ -219,7 +219,7 @@ obj-mips-y += mips_addr.o mips_timer.o mips_

[Qemu-devel] [RFC][MIPS][PATCH 1/6] Initial support of bonito north bridge used by fulong mini pc

2010-05-08 Thread chen huacai
This patch add initial support of bonito north bridge used by fulong mini pc Signed-off-by: Huacai Chen - diff --git a/Makefile.target b/Makefile.target index c092900..fc4c59f 100644 --- a/Makefile.target +++ b/Makefile.target @@ -218,7 +218,7 @@ obj-mips-y = mips_r4k.o mips_jazz.o mips_malta

[Qemu-devel] [RFC][MIPS][PATCH 0/6] Initial support for fulong (Loongson-2E based) mini pc

2010-05-08 Thread chen huacai
This series of patches are for qemu master branch. They make qemu initially support fulong (Loongson-2E based) mini pc, a new type of MIPS machine. Usage: 1, Load PMON as bios, and then load OS in PMON shell qemu-system-mips64el -M fulong2e -bios pmon_fulong2e.bin -hda /root/hda.img 2, Load

[Qemu-devel] Re: [PATCH] A bit optimization for tlb_set_page() (resend)

2010-05-08 Thread Jan Kiszka
Jun Koi wrote: > This patch avoids handling write watchpoints on read-only memory access. > It also breaks the searching loop for watchpoint once the setup for > handling watchpoint later is done. > > Signed-off-by: Jun Koi > Works fine. Acked-by: Jan Kiszka > > diff --git a/exec.c b/exec.c

[Qemu-devel] [PATCH v2] linux-user: use arm features based on cpu model

2010-05-08 Thread Lars Munch
Use arm features based on cpu model. The hardcoded feature list gave problems in the setjmp/longjmp functions of glibc since it tried to use VFP instructions even though I specified a pxa270 as cpu model. This is similar to the PPC get_elf_hwcap function. Signed-off-by: Lars Munch --- linux-use

[Qemu-devel] [PATCH v2] linux-user: fix running programs with iwmmxt

2010-05-08 Thread Lars Munch
CP0 and/or CP1 needs to be accessible when using linux-user for emulating a pxa270 cpu with code using iwmmxt instructions. This patch inits the cpu to have CP0 and/or CP1 accessible if in linux-user mode. Signed-off-by: Lars Munch --- target-arm/helper.c |6 ++ 1 files changed, 6 insert

[Qemu-devel] Money pledge: TPM hardware integration

2010-05-08 Thread Andreas Kotes
Hello, I'll try something new because I don't have the time to do it myself: I need support for a tpm_tis style device in the mainstream qemu/kvm code (eventually). The idea is that client Windows or Linux machines (using tpm_tis) will be able to use host TPM functionality. I myself have a machi

[Qemu-devel] Re: [PATCH] win32: Avoid compiler warning (WIN32_LEAN_AND_MEAN redefined)

2010-05-08 Thread Stefan Weil
Am 21.04.2010 22:13, schrieb Stefan Weil: Stefan Weil schrieb: configure adds the macro WIN32_LEAN_AND_MEAN to QEMU_CFLAGS, and SDL_syswm.h defines it, too. This results in a compiler warning (redefinition of WIN32_LEAN_AND_MEAN in SDL_syswm.h. That warning prevents compilations for win32 with

[Qemu-devel] [PATCH] arm: fix arm kernel boot for non zero start addr

2010-05-08 Thread Lars Munch
Booting an arm kernel has been broken a while when booting from non zero start address. This is due to the order of events: board init loads the kernel and sets register 15 to the start address and then qemu_system_reset reset the cpu making register 15 zero again. This patch fixes the usage of th

[Qemu-devel] [PATCH] arm: prevent coprocessor IO reset

2010-05-08 Thread Lars Munch
This prevent coprocessor IO structure from being reset on cpu reset. This was a problem for PXA which uses coprocessor 6 and 14. Signed-off-by: Lars Munch --- target-arm/cpu.h | 14 +++--- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/target-arm/cpu.h b/target-arm/cpu.

[Qemu-devel] Re: [PATCH] smbios: avoid counting io hole as ram

2010-05-08 Thread Don Dutile
Alex Williamson wrote: > Avoid counting the io hole as part of ram, a vm started with 4G > should report 4G in smbios, not 4.5G. > > Signed-off-by: Alex Williamson > --- Tested on rhel5 guest assigned a variety of mem sizes (3.2, 3.4, 3.5, 3.7, 3.9, 4.0, 4.1, 4.2, 17G); crossed 16G boundary due

[Qemu-devel] Re: [PATCH] exec: optimize lduw_phys and stw_phys

2010-05-08 Thread Bernhard Kohl
Am 05.05.2010 18:17, schrieb Bernhard Kohl: Implementation of the optimized code for these two functions. This is necessary for virtio which reads and writes VirtQueue index fields using these functions. The assumption is that this are atomic operations, which is not the case, if the memcpy() fu

[Qemu-devel] Re: [PATCH] Fix cross compilation

2010-05-08 Thread Stefan Weil
Am 11.04.2010 18:44, schrieb Stefan Weil: This patch enhances the algorithm which finds the correct settings for SDL. For cross compilations (when cross_prefix is set), it looks for sdl-config with cross prefix. Here is the complete search order: $(cross_prefix}pkg-config (old, only

[Qemu-devel] [PATCH] linux-user: do not warn for missing pselect6

2010-05-08 Thread Riku Voipio
Libc will fallback gracefully if pselect6 is not available. Thus put pselect6 to nowarn until the atomicity issues of the original pselect6 patch are dealt with. Signed-off-by: Riku Voipio Cc: Michael Casadevall --- linux-user/syscall.c |4 1 files changed, 4 insertions(+), 0 deletions

[Qemu-devel] [PATCH 2/2] reformatted SS-5 and LX definitions

2010-05-08 Thread Artyom Tarasenko
--- hw/sun4m.c | 66 ++-- 1 files changed, 33 insertions(+), 33 deletions(-) diff --git a/hw/sun4m.c b/hw/sun4m.c index e31d039..7917f46 100644 --- a/hw/sun4m.c +++ b/hw/sun4m.c @@ -968,26 +968,26 @@ enum { static const struct sun4m_hwdef

[Qemu-devel] [PATCH 1/2] Pad iommu with an empty slot (necessary for SunOS 4.1.4)

2010-05-08 Thread Artyom Tarasenko
On the real hardware (SS-5, LX) the MMU is not padded, but aliased. Software shouldn't use aliased addresses, neither should it crash when it uses (on the real hardware it wouldn't). Using empty_slot instead of aliasing can help with debugging such accesses. --- hw/sun4m.c | 14 +- 1

Re: [Qemu-devel] Qemu-KVM 0.12.3 and Multipath -> Assertion

2010-05-08 Thread André Weidemann
Hi Kevin, On 04.05.2010 14:20, Kevin Wolf wrote: Am 04.05.2010 13:38, schrieb Peter Lieven: hi kevin, i set a breakpint at bmdma_active_if. the first 2 breaks encountered when the last path in the multipath failed, but the assertion was not true. when i kicked one path back in the breakpoint w

[Qemu-devel] [RFC] vnc: add basic tight support

2010-05-08 Thread Corentin Chary
This patch only add support for "basic" compression without any filter. This should not be merged right now, because it's currently worse than zlib, but clients would prefer it. This only for preliminary review and comments. Thanks, --- Makefile |2 + Makefile.objs |

Re: [Qemu-devel] running qemu-system-mipsel with VGA graphic mode based malta board kernel

2010-05-08 Thread daniel tian
> > > For linux, you need cirrusfb - either compiled into the kernel > (CONFIG_FB_CIRRUS=y) or loaded as a module. > > Then the default options should be sufficient for malta. > Are you sure? I 've already tried this solution. and after I tired of this trying solution, I began to write my own one.

Re: [Qemu-devel] running qemu-system-mipsel with VGA graphic mode based malta board kernel

2010-05-08 Thread Stefan Weil
Am 11.02.2010 07:40, schrieb daniel tian: 2010/2/7 Stefan Weil: Aurelien Jarno schrieb: On Wed, Feb 03, 2010 at 04:23:01PM +0800, daniel tian wrote: Hi, Aurelien Jarno: I just encounter a problem in running kernel on qemu mips malta board, I don't know how to bring up the g

Re: [Qemu-devel] running qemu-system-mipsel with VGA graphic mode based malta board kernel

2010-05-08 Thread daniel tian
hi, all: I just finished a mips qemu with framebuffer graphic display. graphics card is not based on Cirrus. I defined a virtual graphic card with features following: 1. support only 32bpp (true color)framebuffer. 2. display resolution only support width X height = 640 X 480. 3. with only register