Re: [Qemu-devel] [PATCH v7 00/20] add byte-based block_status driver callbacks

2018-01-06 Thread no-reply
Hi, This series failed build test on s390x host. Please find the details below. Type: series Message-id: 20180105225753.30509-1-ebl...@redhat.com Subject: [Qemu-devel] [PATCH v7 00/20] add byte-based block_status driver callbacks === TEST SCRIPT BEGIN === #!/bin/bash # Testing script will be in

[Qemu-devel] Building QEMU natively from ARM CPU statically

2018-01-06 Thread shiftag
Hi, I'm trying to build QEMU statically from ARM CPU (without cross-compiling). But at "configure" step I have the following issue : ERROR: User requested feature sdl configure was not able to find it. Install SDL devel However, from config.log, it seems that issue is not related to SDL.

[Qemu-devel] [Bug 1689367] Re: In qemu chroot, repeating "qemu: Unsupported syscall: 384" messages. sys_getrandom ?

2018-01-06 Thread Launchpad Bug Tracker
[Expired for QEMU because there has been no activity for 60 days.] ** Changed in: qemu Status: Incomplete => Expired -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1689367 Title: In qemu chr

Re: [Qemu-devel] [PULL 00/12] 9p patches for 2.12 20170106

2018-01-06 Thread no-reply
Hi, This series failed automatic build test. Please find the testing commands and their output below. If you have docker installed, you can probably reproduce it locally. Type: series Message-id: 20180106010739.18201-1-gr...@kaod.org Subject: [Qemu-devel] [PULL 00/12] 9p patches for 2.12 20170106

[Qemu-devel] [PATCH v2] linux-user/mmap.c: Avoid choosing NULL as start address

2018-01-06 Thread Maximilian Riemensberger
mmap() is required by the linux kernel ABI and POSIX to return a non-NULL address when the implementation chooses a start address for the mapping. The current implementation of mmap_find_vma_reserved() can return NULL as start address of a mapping which leads to subsequent crashes inside the guest

Re: [Qemu-devel] [PATCH] scripts/make-release: More .git removal

2018-01-06 Thread Cole Robinson
On 12/19/2017 08:13 AM, Markus Armbruster wrote: > Cole Robinson writes: > >> As was last done in 379e21c25, we want to remove .git files for >> submodules here, which we aren't presently doing for capstone and >> keycodemapdb. >> >> Rather than a whitelist use 'find' to future proof this >> >> S

[Qemu-devel] [PATCH v2] scripts/make-release: Don't archive .git files

2018-01-06 Thread Cole Robinson
As was last done in 379e21c25, we don't want .git files for submodules here, which we aren't presently doing for capstone and keycodemapdb. Rather than delete the offending files before archiving, ask tar to --exclude=.git Signed-off-by: Cole Robinson --- v2: Use armbru's --exclude suggestio

Re: [Qemu-devel] [PATCH] linux-user/mmap.c: Avoid choosing NULL as start address

2018-01-06 Thread Maximilian Riemensberger
On 06.01.18 21:51, Laurent Vivier wrote: > Le 06/01/2018 à 18:00, Maximilian Riemensberger a écrit : >> mmap() is required by the linux kernel ABI and POSIX to return a >> non-NULL address when the implementation chooses a start address for the >> mapping. >> >> The current implementation of mmap

Re: [Qemu-devel] [PATCH 0/7] CAN bus support for QEMU (SJA1000 PCI so far)

2018-01-06 Thread no-reply
Hi, This series seems to have some coding style problems. See output below for more information: Type: series Message-id: cover.1515260163.git.p...@cmp.felk.cvut.cz Subject: [Qemu-devel] [PATCH 0/7] CAN bus support for QEMU (SJA1000 PCI so far) === TEST SCRIPT BEGIN === #!/bin/bash BASE=base n=

[Qemu-devel] [PATCH 7/7] QEMU CAN bus emulation documentation

2018-01-06 Thread pisa
From: Pavel Pisa Signed-off-by: Pavel Pisa --- docs/can.txt | 78 1 file changed, 78 insertions(+) create mode 100644 docs/can.txt diff --git a/docs/can.txt b/docs/can.txt new file mode 100644 index 00..ac3170e947 --- /dev/n

[Qemu-devel] [PATCH 6/7] CAN bus MIOe-3680 PCI (dual SJA1000 channel) emulation added.

2018-01-06 Thread pisa
From: Deniz Eren Signed-off-by: Pavel Pisa --- hw/can/Makefile.objs | 1 + hw/can/can_mioe3680_pci.c | 335 ++ 2 files changed, 336 insertions(+) create mode 100644 hw/can/can_mioe3680_pci.c diff --git a/hw/can/Makefile.objs b/hw/can/Makefile

Re: [Qemu-devel] [PATCH] linux-user/mmap.c: Avoid choosing NULL as start address

2018-01-06 Thread Laurent Vivier
Le 06/01/2018 à 18:00, Maximilian Riemensberger a écrit : > mmap() is required by the linux kernel ABI and POSIX to return a > non-NULL address when the implementation chooses a start address for the > mapping. > > The current implementation of mmap_find_vma_reserved() can return NULL > as start a

[Qemu-devel] [PATCH 3/7] CAN bus SJA1000 chip register level emulation for QEMU

2018-01-06 Thread pisa
From: Pavel Pisa The core SJA1000 support is independent of following patches which map SJA1000 chip to PCI boards. The work is based on Jin Yang GSoC 2013 work funded by Google and mentored in frame of RTEMS project GSoC slot donated to QEMU. Rewritten for QEMU-2.0+ versions and architecture c

[Qemu-devel] [PATCH 5/7] CAN bus PCM-3680I PCI (dual SJA1000 channel) emulation added.

2018-01-06 Thread pisa
From: Deniz Eren Signed-off-by: Pavel Pisa --- hw/can/Makefile.objs | 1 + hw/can/can_pcm3680_pci.c | 335 +++ 2 files changed, 336 insertions(+) create mode 100644 hw/can/can_pcm3680_pci.c diff --git a/hw/can/Makefile.objs b/hw/can/Makefile.o

[Qemu-devel] [PATCH 2/7] CAN bus support to connect bust to Linux host SocketCAN interface.

2018-01-06 Thread pisa
From: Pavel Pisa Connection to the real host CAN bus network through SocketCAN network interface is available only for Linux host system. Mechanism is generic, support for another CAN API and operating systems can be implemented in future. Signed-off-by: Pavel Pisa --- hw/can/Makefile.objs |

[Qemu-devel] [PATCH 4/7] CAN bus Kvaser PCI CAN-S (single SJA1000 channel) emulation added.

2018-01-06 Thread pisa
From: Pavel Pisa Signed-off-by: Pavel Pisa --- default-configs/pci.mak | 1 + hw/can/Makefile.objs| 1 + hw/can/can_kvaser_pci.c | 375 3 files changed, 377 insertions(+) create mode 100644 hw/can/can_kvaser_pci.c diff --git a/default-c

[Qemu-devel] [PATCH 1/7] CAN bus simple messages transport implementation for QEMU

2018-01-06 Thread pisa
From: Pavel Pisa The CanBusState state structure is created for each emulated CAN channel. Individual clients/emulated CAN interfaces or host interface connection registers to the bus by CanBusClientState structure. The CAN core is prepared to support connection to the real host CAN bus network.

[Qemu-devel] [PATCH 0/7] CAN bus support for QEMU (SJA1000 PCI so far)

2018-01-06 Thread pisa
From: Pavel Pisa Basic emulation of CAN bus controller and interconnection for QEMU. Patches version 3: Support to connect to host SocketCAN interface has been separated from the core bus implementation. Only simple statically initialize pointer to the connection function is used, no QOM concept

Re: [Qemu-devel] [PATCH] linux-user/mmap.c: Avoid choosing NULL as start address

2018-01-06 Thread Maximilian Riemensberger
On 06.01.18 18:00, Maximilian Riemensberger wrote: > mmap() is required by the linux kernel ABI and POSIX to return a > non-NULL address when the implementation chooses a start address for the > mapping. > > The current implementation of mmap_find_vma_reserved() can return NULL > as start address

Re: [Qemu-devel] linux-user/mmap: Should not return NULL on guest call mmap(NULL, ...), causes crash inside glibc

2018-01-06 Thread Maximilian Riemensberger
On 05.01.18 22:13, Maximilian Riemensberger wrote: > On 05.01.18 19:38, Peter Maydell wrote: >> On 5 January 2018 at 18:13, Maximilian Riemensberger >> wrote: >>> Hi, >>> >>> yesterday I hit the following problem when running an arm linux executable >>> on >>> qemu-2.10 (qemu-arm-static through b

[Qemu-devel] [PATCH] linux-user/mmap.c: Avoid choosing NULL as start address

2018-01-06 Thread Maximilian Riemensberger
mmap() is required by the linux kernel ABI and POSIX to return a non-NULL address when the implementation chooses a start address for the mapping. The current implementation of mmap_find_vma_reserved() can return NULL as start address of a mapping which leads to subsequent crashes inside the guest

[Qemu-devel] [PATCH v4 13/16] piix4: add a speaker as specified in datasheet

2018-01-06 Thread Hervé Poussineau
Acked-by: Michael S. Tsirkin Acked-by: Paolo Bonzini Signed-off-by: Hervé Poussineau --- hw/isa/piix4.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/hw/isa/piix4.c b/hw/isa/piix4.c index 0d68fcb193..b313e4fe73 100644 --- a/hw/isa/piix4.c +++ b/hw/isa/piix4.c @@ -30,

[Qemu-devel] [PATCH v4 15/16] piix4: rename PIIX4 object to piix4-isa

2018-01-06 Thread Hervé Poussineau
Other piix4 parts are already named piix4-ide and piix4-usb-uhci. Reviewed-by: Philippe Mathieu-Daudé Acked-by: Michael S. Tsirkin Acked-by: Paolo Bonzini Signed-off-by: Hervé Poussineau --- hw/isa/piix4.c | 1 - hw/mips/mips_malta.c | 2 +- include/hw/isa/isa.h | 3 +++ 3 files changed

[Qemu-devel] [PATCH v4 11/16] piix4: add a floppy controller, 1 parallel port and 2 serial ports

2018-01-06 Thread Hervé Poussineau
Remove their instanciation from malta board, to not have them twice. Automatically create serial/parallel ports in PIIX4 if not provided. Acked-by: Michael S. Tsirkin Acked-by: Paolo Bonzini Signed-off-by: Hervé Poussineau --- hw/isa/piix4.c | 67 +

Re: [Qemu-devel] [SPARC] question on LEON IRQMP interrupt controller.

2018-01-06 Thread Jean-Christophe DUBOIS
Hi, So after trying my code on tsim, I can confirm that the software is indeed able to clear/ack the interrupt without requiring the ack from the processor. Things are a bit strange with tsim as the simulator doesn't seem to respect time delay when the processor is in sleep/idle mode and jum

[Qemu-devel] [PATCH v4 14/16] piix4: convert reset function to QOM

2018-01-06 Thread Hervé Poussineau
Acked-by: Michael S. Tsirkin Acked-by: Paolo Bonzini Signed-off-by: Hervé Poussineau --- hw/isa/piix4.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hw/isa/piix4.c b/hw/isa/piix4.c index b313e4fe73..159a27d2d9 100644 --- a/hw/isa/piix4.c +++ b/hw/isa/piix4.c @@ -5

[Qemu-devel] [PATCH v4 12/16] piix4: add a mc146818rtc controller as specified in datasheet

2018-01-06 Thread Hervé Poussineau
Remove mc146818rtc instanciated in malta board, to not have it twice. Acked-by: Michael S. Tsirkin Acked-by: Paolo Bonzini Signed-off-by: Hervé Poussineau --- hw/isa/piix4.c | 12 hw/mips/mips_malta.c | 5 - 2 files changed, 12 insertions(+), 5 deletions(-) diff --git

[Qemu-devel] [PATCH v4 09/16] piix4: add a i8254 pit controller as specified in datasheet

2018-01-06 Thread Hervé Poussineau
Remove i8254 instanciated in malta board, to not have it twice. Acked-by: Michael S. Tsirkin Acked-by: Paolo Bonzini Signed-off-by: Hervé Poussineau --- hw/isa/piix4.c | 4 hw/mips/mips_malta.c | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/hw/isa/piix4.c b/

[Qemu-devel] [PATCH v4 16/16] piix4: we can now instanciate a PIIX4 with -device

2018-01-06 Thread Hervé Poussineau
Note that the PIC master can't be connected to CPU using the command line, but it's not necessary to have a working ISA bus (for I/O, memory and DMA). Acked-by: Michael S. Tsirkin Acked-by: Paolo Bonzini Signed-off-by: Hervé Poussineau --- hw/isa/piix4.c | 6 -- 1 file changed, 6 deletions

[Qemu-devel] [PATCH v4 10/16] piix4: add a i8042 keyboard/mouse controller as specified in datasheet

2018-01-06 Thread Hervé Poussineau
Remove i8042 instanciated in malta board, to not have it twice. Acked-by: Michael S. Tsirkin Acked-by: Paolo Bonzini Signed-off-by: Hervé Poussineau --- hw/isa/piix4.c | 3 +++ hw/mips/mips_malta.c | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/hw/isa/piix4.c b/hw

[Qemu-devel] [PATCH v4 05/16] piix4: rename some variables in realize function

2018-01-06 Thread Hervé Poussineau
PIIX4 structure is now 's' PCI device is now 'pci_dev' DeviceState is now 'dev' Acked-by: Michael S. Tsirkin Acked-by: Paolo Bonzini Signed-off-by: Hervé Poussineau --- hw/isa/piix4.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/hw/isa/piix4.c b/hw/isa/piix

[Qemu-devel] [PATCH v4 07/16] piix4: add a i8259 interrupt controller as specified in datasheet

2018-01-06 Thread Hervé Poussineau
Add ISA irqs as piix4 gpio in, and CPU interrupt request as piix4 gpio out. Remove i8259 instanciated in malta board, to not have it twice. We can also remove the now unused piix4_init() function. Acked-by: Michael S. Tsirkin Acked-by: Paolo Bonzini Signed-off-by: Hervé Poussineau --- hw/isa/

[Qemu-devel] [PATCH v4 02/16] serial/parallel: move object structures to header file

2018-01-06 Thread Hervé Poussineau
We are now able to embed serial/parallel ports in another object. Acked-by: Michael S. Tsirkin Acked-by: Paolo Bonzini Signed-off-by: Hervé Poussineau --- hw/char/parallel.c | 31 +- hw/char/serial-isa.c | 13 + hw/ppc/pnv.c | 2 +-

[Qemu-devel] [PATCH v4 04/16] mc146818rtc: always register rtc to rtc list

2018-01-06 Thread Hervé Poussineau
We are not required anymore to use rtc_init() function. Acked-by: Michael S. Tsirkin Acked-by: Paolo Bonzini Signed-off-by: Hervé Poussineau --- hw/timer/mc146818rtc.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/hw/timer/mc146818rtc.c b/hw/timer/mc146818rtc.c index

[Qemu-devel] [PATCH v4 01/16] fdc: move object structures to header file

2018-01-06 Thread Hervé Poussineau
We are now able to embed floppy controllers in another object. Acked-by: Michael S. Tsirkin Acked-by: Paolo Bonzini Signed-off-by: Hervé Poussineau --- hw/block/fdc.c | 102 include/hw/block/fdc.h | 103 ++

[Qemu-devel] [PATCH v4 06/16] piix4: add Reset Control Register

2018-01-06 Thread Hervé Poussineau
The RCR I/O port (0xcf9) is used to generate a hard reset or a soft reset. Acked-by: Michael S. Tsirkin Acked-by: Paolo Bonzini Signed-off-by: Hervé Poussineau --- hw/isa/piix4.c | 39 +++ 1 file changed, 39 insertions(+) diff --git a/hw/isa/piix4.c b/hw/is

[Qemu-devel] [PATCH v4 03/16] mc146818rtc: move structure to header file

2018-01-06 Thread Hervé Poussineau
We are now able to embed a timer in another object. Acked-by: Michael S. Tsirkin Acked-by: Paolo Bonzini Signed-off-by: Hervé Poussineau --- hw/timer/mc146818rtc.c | 30 -- include/hw/timer/mc146818rtc.h | 29 + 2 files changed, 2

[Qemu-devel] [PATCH v4 08/16] piix4: add a i8257 dma controller as specified in datasheet

2018-01-06 Thread Hervé Poussineau
Remove i8257 instanciated in malta board, to not have it twice. Acked-by: Michael S. Tsirkin Acked-by: Paolo Bonzini Signed-off-by: Hervé Poussineau --- hw/isa/piix4.c | 3 +++ hw/mips/mips_malta.c | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/hw/isa/piix4.c b/hw/i

[Qemu-devel] [PATCH v4 00/16] piix4: cleanup and improvements

2018-01-06 Thread Hervé Poussineau
Hi, This patchset is a cleanup of the PIIX4 PCI-ISA bridge. Lots of devices are moved from MIPS Malta board (which has a PIIX4) to PIIX4, where devices belong. This lets us reuse PIIX4 in other machines, while not loosing any functionality. Last patch allows adding a new PIIX4 device directly fro