[Qemu-devel] [PATCH 15/17] lm32: opcode testsuite

2011-01-30 Thread Michael Walle
This patch creates tests/lm32 directory and adds tests for every LatticeMico32 opcode. Signed-off-by: Michael Walle --- tests/Makefile|4 ++ tests/lm32/Makefile | 102 + tests/lm32/crt.S | 84 ++

[Qemu-devel] [PATCH 17/17] MAINTAINERS: add LatticeMico32 maintainer

2011-01-30 Thread Michael Walle
Add me as the lm32-target and machines maintainer. Signed-off-by: Michael Walle --- MAINTAINERS | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 98db322..698a503 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -70,6 +70,11 @@ M: E

[Qemu-devel] [PATCH 16/17] Add lm32 target to configure

2011-01-30 Thread Michael Walle
Signed-off-by: Michael Walle --- configure | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 210670c..c378773 100755 --- a/configure +++ b/configure @@ -280,7 +280,7 @@ else fi case "$cpu" in - alpha|cris|ia64|m68k|microblaze|ppc|pp

[Qemu-devel] [PATCH 02/17] lm32: translation routines

2011-01-30 Thread Michael Walle
This patch adds the main translation routine. All opcodes of the LatticeMico32 processor are supported and translated to TCG ops. Signed-off-by: Michael Walle --- target-lm32/helper.c | 259 + target-lm32/lm32-decode.h | 78 +++ target-lm32/translate.c | 1331 ++

[Qemu-devel] [PATCH 11/17] lm32: system control model

2011-01-30 Thread Michael Walle
This patch add support for a system control block. It is supposed to act as helper for the emulated program. E.g. shutting down the VM or printing test results. This model is intended for testing purposes only and doesn't fit to any real hardware. Therefore, it is not added to any board by default.

[Qemu-devel] [PATCH 14/17] lm32: todo and documentation

2011-01-30 Thread Michael Walle
This patch adds general target documentation and a todo list. Signed-off-by: Michael Walle --- target-lm32/README | 46 ++ target-lm32/TODO |3 +++ 2 files changed, 49 insertions(+), 0 deletions(-) create mode 100644 target-lm32/README create

[Qemu-devel] [PATCH 10/17] lm32: uart model

2011-01-30 Thread Michael Walle
This patch add support for the LatticeMico32 UART. Signed-off-by: Michael Walle --- Makefile.target |1 + hw/lm32_uart.c | 292 +++ trace-events|5 + 3 files changed, 298 insertions(+), 0 deletions(-) create mode 100644 hw/lm32_u

[Qemu-devel] [PATCH 06/17] lm32: interrupt controller model

2011-01-30 Thread Michael Walle
This patch adds the interrupt controller of the lm32. Because the PIC is accessed through special control registers and opcodes, there are callbacks from the lm32 translation code to this model. Signed-off-by: Michael Walle --- hw/lm32_pic.c | 191 +++

[Qemu-devel] [PATCH 12/17] lm32: support for creating device tree

2011-01-30 Thread Michael Walle
This patch adds helper functions to create a ROM, which contains a hardware description of a board. This is used in Theobromas LM32 Linux port. Signed-off-by: Michael Walle --- hw/lm32_hwsetup.h | 172 + 1 files changed, 172 insertions(+), 0 d

[Qemu-devel] [PATCH 07/17] lm32: juart model

2011-01-30 Thread Michael Walle
This patch adds the JTAG UART model. It is accessed through special control registers and opcodes. Therefore the translation uses callbacks to this model. Signed-off-by: Michael Walle --- hw/lm32_juart.c | 151 +++ hw/lm32_juart.h | 10

[Qemu-devel] [PATCH 13/17] lm32: EVR32 and uclinux BSP

2011-01-30 Thread Michael Walle
This patch adds support for the following two BSPs: - LM32 EVR32 BSP (as used by RTEMS) - uclinux BSP by Theobroma Systems Signed-off-by: Michael Walle --- Makefile.target |3 + default-configs/lm32-softmmu.mak |4 + hw/lm32_boards.c | 295

[Qemu-devel] [PATCH 08/17] lm32: pic and juart helper functions

2011-01-30 Thread Michael Walle
This patch adds init functions for the PIC and JTAG UART commonly used in the board initialization. Signed-off-by: Michael Walle --- hw/lm32.h | 31 +++ 1 files changed, 31 insertions(+), 0 deletions(-) create mode 100644 hw/lm32.h diff --git a/hw/lm32.h b/hw/lm32

[Qemu-devel] [PATCH 09/17] lm32: timer model

2011-01-30 Thread Michael Walle
This patch adds support for the LatticeMico32 system timer. Signed-off-by: Michael Walle --- Makefile.target |1 + hw/lm32_timer.c | 227 +++ trace-events|6 ++ 3 files changed, 234 insertions(+), 0 deletions(-) create mode 100644

[Qemu-devel] [PATCH 04/17] lm32: machine state loading/saving

2011-01-30 Thread Michael Walle
This patch adds support for saving and loading the processor state. Signed-off-by: Michael Walle --- target-lm32/machine.c | 33 + 1 files changed, 33 insertions(+), 0 deletions(-) create mode 100644 target-lm32/machine.c diff --git a/target-lm32/machine.c b/t

[Qemu-devel] [PATCH 01/17] LatticeMico32 target support

2011-01-30 Thread Michael Walle
This patch adds support for the LatticeMico32 softcore processor by Lattice Semiconductor. Signed-off-by: Michael Walle --- Makefile.target|5 + arch_init.c|2 + arch_init.h| 13 ++-- cpu-exec.c | 13 +++- elf.h |1 + poison.h |

[Qemu-devel] [PATCH 05/17] lm32: gdbstub support

2011-01-30 Thread Michael Walle
This patch adds lm32 support to the gdbstub. Signed-off-by: Michael Walle --- gdbstub.c | 76 + 1 files changed, 76 insertions(+), 0 deletions(-) diff --git a/gdbstub.c b/gdbstub.c index d6556c9..a4b37b7 100644 --- a/gdbstub.c +++ b/

[Qemu-devel] [PATCH 03/17] lm32: translation code helper

2011-01-30 Thread Michael Walle
This patch adds translation helper functions. Signed-off-by: Michael Walle --- target-lm32/helper.h| 14 ++ target-lm32/op_helper.c | 106 +++ 2 files changed, 120 insertions(+), 0 deletions(-) create mode 100644 target-lm32/helper.h creat

[Qemu-devel] [PATCH 00/17] LatticeMico32 target

2011-01-30 Thread Michael Walle
This patchset adds support for the LatticeMico32 softcore processor by Lattice Semiconductor. This is the first part of a larger patchset. It adds target support and two simple BSPs. The second part will add support for the milkymist hardware platform.

[Qemu-devel] Re: [PATCH] mingw32: Fix definitions for PRId64, PRIx64, PRIu64, PRIo64

2011-01-30 Thread Blue Swirl
On Sun, Jan 30, 2011 at 9:50 PM, Stefan Weil wrote: > Am 30.01.2011 22:39, schrieb Blue Swirl: >> >> On Sun, Jan 30, 2011 at 9:27 PM, Stefan Weil wrote: >>> >>> Am 04.12.2010 20:41, schrieb Stefan Weil: QEMU always uses POSIX format specifiers, even with mingw32. Therefore the

[Qemu-devel] Re: [PATCH] mingw32: Fix definitions for PRId64, PRIx64, PRIu64, PRIo64

2011-01-30 Thread Stefan Weil
Am 30.01.2011 22:39, schrieb Blue Swirl: On Sun, Jan 30, 2011 at 9:27 PM, Stefan Weil wrote: Am 04.12.2010 20:41, schrieb Stefan Weil: QEMU always uses POSIX format specifiers, even with mingw32. Therefore the old definitions of the PRI*64 macros were wrong. They should be removed, but as lo

[Qemu-devel] Re: [PATCH] mingw32: Fix definitions for PRId64, PRIx64, PRIu64, PRIo64

2011-01-30 Thread Blue Swirl
On Sun, Jan 30, 2011 at 9:27 PM, Stefan Weil wrote: > Am 04.12.2010 20:41, schrieb Stefan Weil: >> >> QEMU always uses POSIX format specifiers, even with mingw32. >> >> Therefore the old definitions of the PRI*64 macros were wrong. >> They should be removed, but as long as the mingw32 system >> in

[Qemu-devel] Re: [PATCH] mingw32: Fix definitions for PRId64, PRIx64, PRIu64, PRIo64

2011-01-30 Thread Stefan Weil
Am 04.12.2010 20:41, schrieb Stefan Weil: QEMU always uses POSIX format specifiers, even with mingw32. Therefore the old definitions of the PRI*64 macros were wrong. They should be removed, but as long as the mingw32 system include inttypes.h provides wrong definitions, too, we correct them here

Re: [Qemu-devel] [Bug 710234] Re: Qemu segfaults at start regardles if i suply an image or not

2011-01-30 Thread Mulyadi Santosa
Hi.. On Sun, Jan 30, 2011 at 23:38, Simon Alinsson <710...@bugs.launchpad.net> wrote: > > ** Attachment added: "Some GDB trace and some info on my system." >   > https://bugs.launchpad.net/bugs/710234/+attachment/1817686/+files/Trace%20and%20system%20data.txt my humble conclusion so far is that

Re: [Qemu-devel] [PATCH 0/1] qemu-system-$ARCH incompatible with qemu-kvm and bus=pci.0 parameter

2011-01-30 Thread Niels de Vos
On Fri, Jan 28, 2011 at 4:12 PM, Daniel P. Berrange wrote: > On Fri, Jan 28, 2011 at 03:54:01PM +, Niels de Vos wrote: >> Hi there, >> >> obviously qemu-system-$ARCH, qemu-kvm and libvirt disagree about the most >> suitable name for the PCI-bus. qemu-kvm and libvirt work nicely together by >>

Re: [Qemu-devel] [PATCH 1/1] Use "pci.0" as bus->name for PCI-busses like qemu-kvm does already

2011-01-30 Thread Niels de Vos
On Sat, Jan 29, 2011 at 9:44 PM, Blue Swirl wrote: > On Fri, Jan 28, 2011 at 3:54 PM, Niels de Vos wrote: >> From: Niels de Vos >> >> This should fix issues with qemu-system-{arm,ppc} and possibly others >> where libvirt passes bus=pci.0 in the -device options. > > Nack, please see the list arch

Re: [Qemu-devel] [PATCH 2/7] ccid: add passthru card device

2011-01-30 Thread Alon Levy
On Tue, Jan 25, 2011 at 08:17:32AM -0600, Anthony Liguori wrote: > On 01/11/2011 02:42 AM, Alon Levy wrote: > >diff --git a/libcacard/vscard_common.h b/libcacard/vscard_common.h > >new file mode 100644 > >index 000..9ff1295 > >--- /dev/null > >+++ b/libcacard/vscard_common.h > > This file (and

Re: [Qemu-devel] [PATCH 1/2] Correct alarm deadline computation

2011-01-30 Thread Aurelien Jarno
On Sat, Jan 29, 2011 at 12:00:47PM +0100, Paolo Bonzini wrote: > When the QEMU_CLOCK_HOST clock was added, computation of its > deadline was added to qemu_next_deadline, which is correct but > incomplete. > > I noticed this while trying to make sense of the rules whereby > qemu_next_deadline_dynti

[Qemu-devel] [Bug 710234] [NEW] Qemu segfaults at start regardles if i suply an image or not

2011-01-30 Thread Simon Alinsson
Public bug reported: I have tried both with latest development (git clone git://git.qemu.org/qemu.git ran around 12:00 2011-01-30) and with qemu-0.13.0. Since i have not written c-code in the last years, and never really ran a debugger under Linux this will bug report will be a bit sketchy. When

[Qemu-devel] [Bug 710234] Re: Qemu segfaults at start regardles if i suply an image or not

2011-01-30 Thread Simon Alinsson
** Attachment added: "Some GDB trace and some info on my system." https://bugs.launchpad.net/bugs/710234/+attachment/1817686/+files/Trace%20and%20system%20data.txt -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.laun

[Qemu-devel] Fosdem

2011-01-30 Thread Alexander Graf
Hi list, Is anyone else going to Fosdem? We could try to set up an unofficial qemu meeting if there are enough people around. So far the list of people active in Qemu development and there I'm aware of are: - Alexander Graf - Hans de Goede Please reply to all on this mail if you're coming

[Qemu-devel] Re: Google Summer of Code 2011

2011-01-30 Thread Alexander Graf
On 28.01.2011, at 21:10, Luiz Capitulino wrote: > Hi there, > > GSoC 2011 has been announced[1]. As we were pretty successful last year, > I think we should participate again. I've already created a wiki page: > > http://wiki.qemu.org/Google_Summer_of_Code_2011 > > We should now populate it wi

[Qemu-devel] Re: [PATCH 08/22] kvm: Provide sigbus services arch-independently

2011-01-30 Thread Alexander Graf
On 27.01.2011, at 14:09, Jan Kiszka wrote: > Provide arch-independent kvm_on_sigbus* stubs to remove the #ifdef'ery > from cpus.c. This patch also fixes --disable-kvm build by providing the > missing kvm_on_sigbus_vcpu kvm-stub. > > Signed-off-by: Jan Kiszka > CC: Huang Ying > CC: Alexander Gr

Re: [Qemu-devel] [PATCH] floppy: Parametrize ISA base and IRQ

2011-01-30 Thread Andreas Färber
Am 28.01.2011 um 13:41 schrieb Markus Armbruster: Andreas Färber writes: From: Hervé Poussineau v1: * Rebased. Patch versioning goes below the --- line, so it doesn't end up in git. I disagree: I always put it into the commit message, so that we can see which version got committed and

Re: [Qemu-devel] New machine?

2011-01-30 Thread Peter Maydell
On 28 January 2011 17:00, Comicinker wrote: > I want to boot a embedded linux environment in qemu, namely > xxsvideo [1]. It is for an arm based fujitsu development board [2]. I'm afraid there is no support in qemu for this hardware. In general ARM based boards are all very different from one ano

[Qemu-devel] [PATCHv2 2/2] Add boot index documentation.

2011-01-30 Thread Gleb Natapov
Signed-off-by: Gleb Natapov --- docs/bootindex.txt | 43 +++ 1 files changed, 43 insertions(+), 0 deletions(-) create mode 100644 docs/bootindex.txt diff --git a/docs/bootindex.txt b/docs/bootindex.txt new file mode 100644 index 000..16083b3 --- /d

[Qemu-devel] [PATCHv2 1/2] Add bootindex handling into usb storage device.

2011-01-30 Thread Gleb Natapov
Signed-off-by: Gleb Natapov --- hw/usb-msd.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/hw/usb-msd.c b/hw/usb-msd.c index 11722c7..d9df4f2 100644 --- a/hw/usb-msd.c +++ b/hw/usb-msd.c @@ -532,6 +532,7 @@ static int usb_msd_initfn(USBDevice *dev) } }