Re: [Qemu-devel] [RESEND PATCH] PPC: e500: Fix duplicate kernel load and device tree overlap

2018-02-13 Thread David Engraf
Am 13.02.2018 um 04:51 schrieb David Gibson: On Fri, Feb 09, 2018 at 08:49:45AM +0100, David Engraf wrote: Hello David, Am 09.02.2018 um 06:33 schrieb David Gibson: On Thu, Feb 08, 2018 at 09:36:21AM +0100, David Engraf wrote: This patch fixes an incorrect behavior when the -kernel argument h

Re: [Qemu-devel] [PATCH qemu v7 2/4] vfio/pci: Relax DMA map errors for MMIO regions

2018-02-13 Thread Alexey Kardashevskiy
On 13/02/18 16:41, David Gibson wrote: > On Tue, Feb 13, 2018 at 04:36:30PM +1100, David Gibson wrote: >> On Tue, Feb 13, 2018 at 12:15:52PM +1100, Alexey Kardashevskiy wrote: >>> On 13/02/18 03:06, Alex Williamson wrote: On Mon, 12 Feb 2018 18:05:54 +1100 Alexey Kardashevskiy wrote: >>>

Re: [Qemu-devel] [PATCH v8] s390x/cpu: expose the guest crash information

2018-02-13 Thread Cornelia Huck
On Fri, 9 Feb 2018 12:25:43 + Christian Borntraeger wrote: > This patch is the s390 implementation of guest crash information, > similar to commit d187e08dc4 ("i386/cpu: add crash-information QOM > property") and the related commits. We will detect several crash > reasons, with the "disabled

Re: [Qemu-devel] [RFC PATCH v6 00/20] replay additions

2018-02-13 Thread Ciro Santilli
On Tue, Feb 13, 2018 at 6:50 AM, Pavel Dovgalyuk wrote: > Your command line looks wrong, because you forgot –icount, but specified > other replay options > Sorry about that, my full command is exactly the previous but with -icount 'shift=7,rr=record,rrfile=replay.bin' added to the end. . > > I

Re: [Qemu-devel] [PATCH] s390/stattrib: Make SaveVMHandlers data static

2018-02-13 Thread Cornelia Huck
On Mon, 12 Feb 2018 15:49:03 + "Dr. David Alan Gilbert (git)" wrote: > From: "Dr. David Alan Gilbert" > > There's no need for this to be dynamic, make it static. > > Signed-off-by: Dr. David Alan Gilbert > --- > hw/s390x/s390-stattrib.c | 26 +- > 1 file changed,

Re: [Qemu-devel] [RFC PATCH v6 00/20] replay additions

2018-02-13 Thread Pavel Dovgalyuk
There is the same file I downloaded this morning. Now I re-checked everything and it prints the following error: qemu-system-arm: -device scsi-hd,drive=img-blkreplay: No 'SCSI' bus found for device 'scsi-hd' Pavel Dovgalyuk From: Ciro Santilli [mailto:ciro.santi...@gmail.com] Sent: Tues

Re: [Qemu-devel] [PATCH v3] tests/migration: Add source to PC boot block

2018-02-13 Thread Dr. David Alan Gilbert
* Eric Blake (ebl...@redhat.com) wrote: > On 02/12/2018 12:34 PM, Dr. David Alan Gilbert (git) wrote: > > From: "Dr. David Alan Gilbert" > > > > The boot block used in the migration test is currently only > > shipped as a hex (with the source in the git commit message), > > Would be nice to poin

Re: [Qemu-devel] [PATCH v3] scripts: Add decodetree.py

2018-02-13 Thread Peter Maydell
On 13 February 2018 at 07:21, Richard Henderson wrote: > To be used to decode ARM SVE, but could be used for any fixed-width ISA. > > Signed-off-by: Richard Henderson > create mode 100755 scripts/decodetree.py > create mode 100755 tests/decode/check.sh > create mode 100644 tests/decode/err_ar

[Qemu-devel] [PATCH v4] tests/migration: Add source to PC boot block

2018-02-13 Thread Dr. David Alan Gilbert (git)
From: "Dr. David Alan Gilbert" The boot block used in the migration test is currently only shipped as a hex (with the source in the git commit message of ea0c6d62), change this to actually include the source. A script is added to rebuild the header but the expectation is that the generated hex i

[Qemu-devel] [PATCH v2] PPC: e500: Fix duplicate kernel load and device tree overlap

2018-02-13 Thread David Engraf
This patch fixes an incorrect behavior when the -kernel argument has been specified without -bios. In this case the kernel was loaded twice. At address 32M as a raw image and afterwards by load_elf/load_uimage at the corresponding load address. In this case the region for the device tree and the ra

Re: [Qemu-devel] [RFC PATCH v6 00/20] replay additions

2018-02-13 Thread Pavel Dovgalyuk
Then I added SCSI adapter with the option –device lsi,id=scsi0 and QEMU failed with the following error: qemu: fatal: IO on conditional branch instruction It happens here: static void arm_tr_tb_stop(DisasContextBase *dcbase, CPUState *cpu) { DisasContext *dc = container_of(dcbase, Disa

Re: [Qemu-devel] [PATCH v5 2/3] xlnx-zynqmp-rtc: Add basic time support

2018-02-13 Thread Peter Maydell
On 8 February 2018 at 17:21, Alistair Francis wrote: > On Thu, Feb 8, 2018 at 7:42 AM, Peter Maydell > wrote: >> Doing it this way round means that it gets complicated when the >> guest writes to the RTC, though. At the moment I can't see anywhere >> that sets the current_tm fields except for re

Re: [Qemu-devel] [RFC PATCH v6 00/20] replay additions

2018-02-13 Thread Peter Maydell
On 13 February 2018 at 10:26, Pavel Dovgalyuk wrote: > Then I added SCSI adapter with the option –device lsi,id=scsi0 and QEMU > failed with the following error: > > qemu: fatal: IO on conditional branch instruction > Seems, that your kernel is incomatible with QEMU, which ARM emulation is not >

Re: [Qemu-devel] [Qemu-block] [PATCH 1/2] Add save-snapshot, load-snapshot and delete-snapshot to QAPI

2018-02-13 Thread Kevin Wolf
Am 11.01.2018 um 14:04 hat Daniel P. Berrange geschrieben: > On Thu, Jan 11, 2018 at 01:46:38PM +0100, Max Reitz wrote: > > On 2018-01-08 14:52, Eric Blake wrote: > > > On 01/07/2018 06:23 AM, Richard Palethorpe wrote: > > >> Add QAPI wrapper functions for the existing snapshot functionality. These

Re: [Qemu-devel] [RFC PATCH v6 00/20] replay additions

2018-02-13 Thread Pavel Dovgalyuk
> From: Peter Maydell [mailto:peter.mayd...@linaro.org] > On 13 February 2018 at 10:26, Pavel Dovgalyuk wrote: > > Then I added SCSI adapter with the option –device lsi,id=scsi0 and QEMU > > failed with the following error: > > > > qemu: fatal: IO on conditional branch instruction > > > Seems, th

Re: [Qemu-devel] [PATCH 0/4] tcg: fix dirty bitmap race with MTTCG

2018-02-13 Thread Dr. David Alan Gilbert
* Paolo Bonzini (pbonz...@redhat.com) wrote: > This is a race that can happen when migrating TCG guests under load. > It was introduced by the change to run vCPUs outside the big QEMU lock. That does seem to fix the case I was seeing on x86; rmmod kvm-intel taskset -c 0 bash export QTEST_QEMU_BIN

Re: [Qemu-devel] [PATCH V2] target-arm:Add a dynamic XML-description of the cp-registers to GDB

2018-02-13 Thread Peter Maydell
On 30 January 2018 at 11:16, Abdallah Bouassida wrote: > [PATCH V2] target-arm:Add a dynamic XML-description of the cp-registers to > GDB > > This patch offers to GDB the ability to read/write all the coprocessor > registers for ARM and ARM64 by generating dynamically an XML-description for > thes

Re: [Qemu-devel] [qemu-s390x] [PATCH 1/3] qmp: expose s390-specific CPU info

2018-02-13 Thread David Hildenbrand
On 12.02.2018 19:03, Luiz Capitulino wrote: > On Mon, 12 Feb 2018 13:14:30 +0100 > Viktor Mihajlovski wrote: > >> Presently s390x is the only architecture not exposing specific >> CPU information via QMP query-cpus. Upstream discussion has shown >> that it could make sense to report the architect

Re: [Qemu-devel] "make check -j4" hangs

2018-02-13 Thread Peter Maydell
On 12 February 2018 at 19:30, Thomas Huth wrote: > On 12.02.2018 15:42, klim wrote: > [...] >> I just have reverted my 2 commits and >> >> after that make check -j32 hangs >> >> with >> >> GTester: last random seed: R02Sb95a3bf6ab4c05540cec188081a7cc2a >> >> in vhost-user-test >> >> so it is not m

Re: [Qemu-devel] [PATCH] travis: use libgcc-4.8-dev (libgcc-6-dev is not available on Ubuntu 14.04)

2018-02-13 Thread Daniel P . Berrangé
On Mon, Feb 12, 2018 at 03:46:50PM -0300, Philippe Mathieu-Daudé wrote: > Travis image is based on Ubuntu Trusty (14.04), since d83414e1fd1 we get: > > $ sudo -E \ > apt-get -yq --no-install-suggests --no-install-recommends --force-yes \ > install \ > libaio-dev libattr1-dev li

Re: [Qemu-devel] [RFC PATCH v6 00/20] replay additions

2018-02-13 Thread Ciro Santilli
On Tue, Feb 13, 2018 at 10:52 AM, Pavel Dovgalyuk wrote: > > From: Peter Maydell [mailto:peter.mayd...@linaro.org] > > On 13 February 2018 at 10:26, Pavel Dovgalyuk > wrote: > > > Then I added SCSI adapter with the option –device lsi,id=scsi0 and QEMU > > > failed with the following error: > > >

Re: [Qemu-devel] [Qemu-block] [PATCH 1/2] Add save-snapshot, load-snapshot and delete-snapshot to QAPI

2018-02-13 Thread Dr. David Alan Gilbert
* Kevin Wolf (kw...@redhat.com) wrote: > Am 11.01.2018 um 14:04 hat Daniel P. Berrange geschrieben: > > On Thu, Jan 11, 2018 at 01:46:38PM +0100, Max Reitz wrote: > > > On 2018-01-08 14:52, Eric Blake wrote: > > > > On 01/07/2018 06:23 AM, Richard Palethorpe wrote: > > > >> Add QAPI wrapper functio

Re: [Qemu-devel] [Qemu-block] [PATCH 1/2] Add save-snapshot, load-snapshot and delete-snapshot to QAPI

2018-02-13 Thread Daniel P . Berrangé
On Tue, Feb 13, 2018 at 11:43:55AM +, Dr. David Alan Gilbert wrote: > * Kevin Wolf (kw...@redhat.com) wrote: > > Am 11.01.2018 um 14:04 hat Daniel P. Berrange geschrieben: > > > On Thu, Jan 11, 2018 at 01:46:38PM +0100, Max Reitz wrote: > > > > On 2018-01-08 14:52, Eric Blake wrote: > > > > > O

[Qemu-devel] [PULL 03/48] hax: Support guest RAM sizes of 4GB or more

2018-02-13 Thread Paolo Bonzini
From: Yu Ning Since HAX_VM_IOCTL_ALLOC_RAM takes a 32-bit size, it cannot handle RAM blocks of 4GB or larger, which is why HAXM can only run guests with less than 4GB of RAM. Solve this problem by utilizing the new HAXM API, HAX_VM_IOCTL_ADD_RAMBLOCK, which takes a 64-bit size, to register RAM bl

[Qemu-devel] [PULL 07/48] hw/net/can: Kvaser PCI CAN-S (single SJA1000 channel) emulation

2018-02-13 Thread Paolo Bonzini
From: Pavel Pisa Signed-off-by: Pavel Pisa Signed-off-by: Paolo Bonzini --- default-configs/pci.mak | 1 + hw/net/can/Makefile.objs| 1 + hw/net/can/can_kvaser_pci.c | 319 3 files changed, 321 insertions(+) create mode 100644 hw/net/ca

[Qemu-devel] [PULL 10/48] net/can: documentation

2018-02-13 Thread Paolo Bonzini
From: Pavel Pisa Signed-off-by: Pavel Pisa Signed-off-by: Paolo Bonzini --- docs/can.txt | 107 +++ 1 file changed, 107 insertions(+) create mode 100644 docs/can.txt diff --git a/docs/can.txt b/docs/can.txt new file mode 100644 index 00

[Qemu-devel] [PULL 02/48] make: fix help message reference to bogus V=0 variable

2018-02-13 Thread Paolo Bonzini
From: "Daniel P. Berrange" The make rules for building QEMU are mostly silent by default. They can be made verbose by setting the variable V=1. The default state does not however correspond to a V=0 setting - $(V) must be undefined / empty to get the default quiet build. Signed-off-by: Daniel P.

[Qemu-devel] [PULL 05/48] net/can: support for connecting to Linux host SocketCAN interface.

2018-02-13 Thread Paolo Bonzini
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 Signed-off-by: Paolo Bonzini

[Qemu-devel] [PULL 13/48] build-sys: check static linking of UBSAN

2018-02-13 Thread Paolo Bonzini
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Message-Id: <20180208162343.30809-2-marcandre.lur...@redhat.com> Signed-off-by: Paolo Bonzini --- configure | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 0a53562..913e148 100755

[Qemu-devel] [PULL 09/48] hw/net/can: MIOe-3680 PCI (dual SJA1000 channel) emulation

2018-02-13 Thread Paolo Bonzini
From: Deniz Eren Signed-off-by: Deniz Eren Signed-off-by: Pavel Pisa Signed-off-by: Paolo Bonzini --- hw/net/can/Makefile.objs | 1 + hw/net/can/can_mioe3680_pci.c | 262 ++ 2 files changed, 263 insertions(+) create mode 100644 hw/net/can/can_mi

[Qemu-devel] [PULL 01/48] Revert "build-sys: silence make by default or V=0"

2018-02-13 Thread Paolo Bonzini
From: "Daniel P. Berrange" This reverts commit 42a77f1ce4934b243df003f95bda88530631387a. The primary intention of this change was to silence messages like make[1]: '/home/berrange/src/virt/qemu/capstone/libcapstone.a' is up to date. which we get when calling make recursively with explicit ta

[Qemu-devel] [PULL 00/48] Misc patches for 2018-02-13

2018-02-13 Thread Paolo Bonzini
The following changes since commit 7d848450b6e2a3e14a776b4c93704710e7f3d233: Merge remote-tracking branch 'remotes/dgibson/tags/ppc-for-2.12-20180212' into staging (2018-02-12 14:52:48 +) are available in the git repository at: git://github.com/bonzini/qemu.git tags/for-upstream for y

[Qemu-devel] [PULL 06/48] hw/net/can: SJA1000 chip register level emulation for QEMU

2018-02-13 Thread Paolo Bonzini
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] [PULL 14/48] sdhci: use error_propagate(local_err) in realize()

2018-02-13 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé avoid the "errp && *errp" pattern (not recommended in "qapi/error.h" comments). Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alistair Francis Message-Id: <20180208164818.7961-2-f4...@amsat.org> --- hw/sd/sdhci.c | 8 ++-- 1 file changed, 6 insertions(+),

[Qemu-devel] [PULL 08/48] hw/net/can: PCM-3680I PCI (dual SJA1000 channel) emulation

2018-02-13 Thread Paolo Bonzini
From: Deniz Eren Signed-off-by: Deniz Eren Signed-off-by: Pavel Pisa Signed-off-by: Paolo Bonzini --- hw/net/can/Makefile.objs | 1 + hw/net/can/can_pcm3680_pci.c | 263 +++ 2 files changed, 264 insertions(+) create mode 100644 hw/net/can/can_pcm

[Qemu-devel] [PULL 04/48] net/can: simple messages transport implementation for QEMU

2018-02-13 Thread Paolo Bonzini
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] [PULL 11/48] hw/net/can: interrupt cleanup

2018-02-13 Thread Paolo Bonzini
Define two functions to update the interrupt state, and call them on loadvm. This removes the need to migrate the state as part of vmstate_kvaser_pci. Signed-off-by: Paolo Bonzini --- hw/net/can/can_kvaser_pci.c | 4 +-- hw/net/can/can_sja1000.c| 82

[Qemu-devel] [PULL 20/48] sdhci: add a 'spec_version property' (default to v2)

2018-02-13 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alistair Francis Message-Id: <20180208164818.7961-8-f4...@amsat.org> --- hw/sd/sdhci-internal.h | 4 ++-- hw/sd/sdhci.c | 27 +++ include/hw/sd/sdhci.h | 2 ++ 3 files changed, 2

[Qemu-devel] [PULL 17/48] sdhci: add a check_capab_baseclock() qtest

2018-02-13 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Stefan Hajnoczi Message-Id: <20180208164818.7961-5-f4...@amsat.org> --- tests/sdhci-test.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/tests/sdhci-test.c b/tests/sdhci-test.c index 0dd3e8a..

[Qemu-devel] [PULL 18/48] sdhci: add a check_capab_sdma() qtest

2018-02-13 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Stefan Hajnoczi Message-Id: <20180208164818.7961-6-f4...@amsat.org> --- tests/sdhci-test.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/tests/sdhci-test.c b/tests/sdhci-test.c index 36d13be..6fa

[Qemu-devel] [PULL 12/48] build-sys: remove useless extra*flags variables

2018-02-13 Thread Paolo Bonzini
From: Marc-André Lureau Only EXTRA_LDFLAGS seems to be used during configure Xen checks. Signed-off-by: Marc-André Lureau Message-Id: <20180208162343.30809-1-marcandre.lur...@redhat.com> Signed-off-by: Paolo Bonzini --- configure | 6 -- 1 file changed, 6 deletions(-) diff --git a/config

[Qemu-devel] [PULL 16/48] sdhci: add check_capab_readonly() qtest

2018-02-13 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Stefan Hajnoczi Message-Id: <20180208164818.7961-4-f4...@amsat.org> --- tests/sdhci-test.c | 24 1 file changed, 24 insertions(+) diff --git a/tests/sdhci-test.c b/tests/sdhci-test.c index

[Qemu-devel] [PULL 15/48] sdhci: add qtest to check the SD capabilities register

2018-02-13 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé The PCI model is tested with the pc/x86_64 machine, the SysBus model with the smdkc210/arm machine. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Paolo Bonzini Message-Id: <20180208164818.7961-3-f4...@amsat.org> --- tests/Makefile.include | 3 ++ tests/sdhc

[Qemu-devel] [PULL 28/48] hw/arm/exynos4210: add a comment about a very similar SDHCI (Spec. v2)

2018-02-13 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé Signed-off-by: Philippe Mathieu-Daudé Acked-by: Alistair Francis Message-Id: <20180208164818.7961-16-f4...@amsat.org> --- hw/arm/exynos4210.c | 12 1 file changed, 12 insertions(+) diff --git a/hw/arm/exynos4210.c b/hw/arm/exynos4210.c index d89322c..

[Qemu-devel] [PULL 19/48] sdhci: add qtest to check the SD Spec version

2018-02-13 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Stefan Hajnoczi Message-Id: <20180208164818.7961-7-f4...@amsat.org> --- tests/sdhci-test.c | 24 1 file changed, 24 insertions(+) diff --git a/tests/sdhci-test.c b/tests/sdhci-test.c index

[Qemu-devel] [PULL 27/48] hw/arm/exynos4210: access the 64-bit capareg with qdev_prop_set_uint64()

2018-02-13 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé We only set a 32-bit value, but this is a good practice in case this code is used as reference. (missed in 5efc9016e52) Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alistair Francis Message-Id: <20180208164818.7961-15-f4...@amsat.org> --- hw/arm/exynos4210.

[Qemu-devel] [PULL 21/48] sdhci: use a numeric value for the default CAPAB register

2018-02-13 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé using many #defines is not portable when scaling to different HCI. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alistair Francis Message-Id: <20180208164818.7961-9-f4...@amsat.org> --- hw/sd/sdhci.c | 74 +-

[Qemu-devel] [PULL 34/48] sdhci: implement UHS-I voltage switch

2018-02-13 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé [based on a patch from Alistair Francis from qemu/xilinx tag xilinx-v2015.2] Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alistair Francis Message-Id: <20180208164818.7961-22-f4...@amsat.org> --- hw/sd/core.c | 13 + hw/sd/sd.c

[Qemu-devel] [PULL 25/48] sdhci: Fix 64-bit ADMA2

2018-02-13 Thread Paolo Bonzini
From: Sai Pavan Boddu The 64-bit ADMA address is not converted to the cpu endianes correctly. This patch fixes the issue and uses a valid mask for the attribute data. Signed-off-by: Sai Pavan Boddu [AF: Re-write commit message] Reviewed-by: Alistair Francis Message-Id: <20180208164818.7961-13-

[Qemu-devel] [PULL 32/48] sdhci: implement the Host Control 2 register (tuning sequence)

2018-02-13 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé [based on a patch from Alistair Francis from qemu/xilinx tag xilinx-v2015.2] Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alistair Francis Message-Id: <20180208164818.7961-20-f4...@amsat.org> --- hw/sd/sdhci-internal.h | 10 ++ hw/sd/sdhci.c

[Qemu-devel] [PULL 23/48] sdhci: check the Spec v1 capabilities correctness

2018-02-13 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé Incorrect value will throw an error. Note than Spec v2 is supported by default. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alistair Francis Message-Id: <20180208164818.7961-11-f4...@amsat.org> --- hw/sd/sdhci-internal.h | 20 ++- hw/sd/sdhci.c

[Qemu-devel] [PULL 40/48] hw/arm/xilinx_zynqmp: enable the UHS-I mode

2018-02-13 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé see the Xilinx datasheet "UG1085" (v1.7) Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alistair Francis Message-Id: <20180208164818.7961-28-f4...@amsat.org> --- hw/arm/xlnx-zynqmp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/arm/xlnx-zynqmp.c b/hw

[Qemu-devel] [PULL 35/48] sdhci: implement CMD/DAT[] fields in the Present State register

2018-02-13 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé [based on a patch from Alistair Francis from qemu/xilinx tag xilinx-v2015.2] Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alistair Francis Message-Id: <20180208164818.7961-23-f4...@amsat.org> --- hw/sd/core.c | 34 +

[Qemu-devel] [PULL 33/48] sdbus: add trace events

2018-02-13 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alistair Francis Message-Id: <20180208164818.7961-21-f4...@amsat.org> --- hw/sd/core.c | 14 -- hw/sd/trace-events | 5 + 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/hw/sd

[Qemu-devel] [PULL 22/48] sdhci: simplify sdhci_get_fifolen()

2018-02-13 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alistair Francis Message-Id: <20180208164818.7961-10-f4...@amsat.org> --- hw/sd/sdhci-internal.h | 4 +++- hw/sd/sdhci.c | 20 +--- 2 files changed, 8 insertions(+), 16 deletions(-) diff

[Qemu-devel] [PULL 44/48] g364fb: switch to using DirtyBitmapSnapshot

2018-02-13 Thread Paolo Bonzini
This removes the last user of memory_region_test_and_clear_dirty outside memory.c. Tested-by: Hervé Poussineau Signed-off-by: Paolo Bonzini --- hw/display/g364fb.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/hw/display/g364fb.c b/hw/display/g364fb.c index 8655

[Qemu-devel] [PULL 42/48] sdhci: add a check_capab_v3() qtest

2018-02-13 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Stefan Hajnoczi Message-Id: <20180208164818.7961-30-f4...@amsat.org> --- tests/sdhci-test.c | 17 + 1 file changed, 17 insertions(+) diff --git a/tests/sdhci-test.c b/tests/sdhci-test.c index 08bc5

[Qemu-devel] [PULL 38/48] hw/arm/fsl-imx6: implement SDHCI Spec. v3

2018-02-13 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé Signed-off-by: Philippe Mathieu-Daudé Acked-by: Alistair Francis Message-Id: <20180208164818.7961-26-f4...@amsat.org> --- hw/arm/fsl-imx6.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/hw/arm/fsl-imx6.c b/hw/arm/fsl-imx6.c index e6559a8..b6ac72d 10064

[Qemu-devel] [PULL 31/48] sdhci: rename the hostctl1 register

2018-02-13 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé As per the Spec v3.00 Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alistair Francis Message-Id: <20180208164818.7961-19-f4...@amsat.org> --- hw/sd/sdhci.c | 42 +- include/hw/sd/sdhci.h | 2 +- 2 files changed

[Qemu-devel] [PULL 43/48] sdhci: add Spec v4.2 register definitions

2018-02-13 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20180208164818.7961-31-f4...@amsat.org> --- hw/sd/sdhci-internal.h | 9 + hw/sd/sdhci.c | 16 +++- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/hw/sd/sdhci-internal.h

Re: [Qemu-devel] [PATCH v2 3/5] usb-mtp: Support delete of mtp objects

2018-02-13 Thread Gerd Hoffmann
> +#ifndef CONFIG_INOTIFY1 > +/* Assumes that children, if any, have been already freed */ > +static void usb_mtp_object_free_one(MTPState *s, MTPObject *o) > +{ > +assert(o->nchildren == 0); > +QTAILQ_REMOVE(&s->objects, o, next); > +g_free(o->name); > +g_free(o->path); > +g_fr

[Qemu-devel] [PULL 48/48] travis: use libgcc-4.8-dev (libgcc-6-dev is not available on Ubuntu 14.04)

2018-02-13 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé Travis image is based on Ubuntu Trusty (14.04), since d83414e1fd1 we get: $ sudo -E \ apt-get -yq --no-install-suggests --no-install-recommends --force-yes \ install \ libaio-dev libattr1-dev libbrlapi-dev libcap-ng-dev libgcc-6-dev \ libg

[Qemu-devel] [PULL 29/48] hw/arm/xilinx_zynq: fix the capabilities register to match the datasheet

2018-02-13 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé checking Xilinx datasheet "UG585" (v1.12.1) Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alistair Francis Message-Id: <20180208164818.7961-17-f4...@amsat.org> --- hw/arm/xilinx_zynq.c | 53 tests/sdhci-tes

[Qemu-devel] [PULL 41/48] sdhci: check Spec v3 capabilities qtest

2018-02-13 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé Signed-off-by: Philippe Mathieu-Daudé Acked-by: Alistair Francis Message-Id: <20180208164818.7961-29-f4...@amsat.org> --- tests/Makefile.include | 1 + tests/sdhci-test.c | 12 2 files changed, 13 insertions(+) diff --git a/tests/Makefile.include

[Qemu-devel] [PULL 47/48] memory: unify loops to sync dirty log bitmap

2018-02-13 Thread Paolo Bonzini
Now that memory_region_sync_dirty_bitmap is NULL, we can unify its loop with memory_global_dirty_log_sync's. The only difference is that memory_region_sync_dirty_bitmap will no longer call log_sync on FlatRanges that do have a zero dirty_log_mask, but this is okay because video memory is always re

[Qemu-devel] [PULL 36/48] hw/arm/bcm2835_peripherals: implement SDHCI Spec v3

2018-02-13 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alistair Francis Message-Id: <20180208164818.7961-24-f4...@amsat.org> --- hw/arm/bcm2835_peripherals.c | 21 + 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/hw/arm/bcm2835_perip

Re: [Qemu-devel] [RFC v6 18/22] hw/arm/virt-acpi-build: Add virtio-iommu node in IORT table

2018-02-13 Thread Andrew Jones
On Mon, Feb 12, 2018 at 06:58:20PM +, Eric Auger wrote: > This patch builds the virtio-iommu node in the ACPI IORT table. > The dt node creation function fills the information used by > the IORT table generation function (base address, base irq, > type of the smmu). > > The RID space of the ro

Re: [Qemu-devel] [PATCH v2 4/5] usb-mtp: Introduce write support for MTP objects

2018-02-13 Thread Gerd Hoffmann
> @@ -66,7 +67,9 @@ enum mtp_code { > RES_STORE_READ_ONLY= 0x200e, > RES_PARTIAL_DELETE = 0x2012, > RES_SPEC_BY_FORMAT_UNSUPPORTED = 0x2014, > +RES_INVALID_OBJECTINFO = 0x2015, > RES_INVALID_PARENT_OBJECT = 0x201a, > +RES_STORE_FULL

[Qemu-devel] [PULL 45/48] memory: remove memory_region_test_and_clear_dirty

2018-02-13 Thread Paolo Bonzini
It is unused after g364fb has been converted to use DirtyBitmapSnapshot. Signed-off-by: Paolo Bonzini --- include/exec/memory.h | 24 +++- memory.c | 8 2 files changed, 3 insertions(+), 29 deletions(-) diff --git a/include/exec/memory.h b/include/exec

[Qemu-devel] [PULL 37/48] hw/arm/bcm2835_peripherals: change maximum block size to 1kB

2018-02-13 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé following the datasheet. Signed-off-by: Philippe Mathieu-Daudé Acked-by: Alistair Francis Message-Id: <20180208164818.7961-25-f4...@amsat.org> --- hw/arm/bcm2835_peripherals.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/arm/bcm2835_perip

Re: [Qemu-devel] [qemu-s390x] [PATCH 1/3] qmp: expose s390-specific CPU info

2018-02-13 Thread Viktor Mihajlovski
On 13.02.2018 12:16, David Hildenbrand wrote: > On 12.02.2018 19:03, Luiz Capitulino wrote: >> On Mon, 12 Feb 2018 13:14:30 +0100 >> Viktor Mihajlovski wrote: >> >>> Presently s390x is the only architecture not exposing specific >>> CPU information via QMP query-cpus. Upstream discussion has shown

[Qemu-devel] [PULL 39/48] hw/arm/xilinx_zynqmp: fix the capabilities/spec version to match the datasheet

2018-02-13 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé checking Xilinx datasheet "UG1085" (v1.7) Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alistair Francis Message-Id: <20180208164818.7961-27-f4...@amsat.org> --- hw/arm/xlnx-zynqmp.c | 29 ++--- 1 file changed, 18 insertions(+), 11 del

Re: [Qemu-devel] [PATCH v4 34/39] qcow2: Rename l2_table in count_contiguous_clusters_unallocated()

2018-02-13 Thread Kevin Wolf
Am 05.02.2018 um 15:33 hat Alberto Garcia geschrieben: > This function doesn't need any changes to support L2 slices, but since > it's now dealing with slices intead of full tables, the l2_table s/intead/instead/ > variable is renamed for clarity. > > Signed-off-by: Alberto Garcia > Reviewed-by

[Qemu-devel] [PULL 46/48] memory: hide memory_region_sync_dirty_bitmap behind DirtyBitmapSnapshot

2018-02-13 Thread Paolo Bonzini
Simplify the users of memory_region_snapshot_and_clear_dirty, so that they do not have to call memory_region_sync_dirty_bitmap explicitly. Signed-off-by: Paolo Bonzini --- hw/display/cg3.c | 1 - hw/display/exynos4210_fimd.c | 1 - hw/display/framebuffer.c | 1 - hw/display/g3

Re: [Qemu-devel] [PATCH v4 37/39] iotests: Test valid values of l2-cache-entry-size

2018-02-13 Thread Kevin Wolf
Am 05.02.2018 um 15:33 hat Alberto Garcia geschrieben: > The l2-cache-entry-size setting can only contain values that are > powers of two between 512 and the cluster size. > > Signed-off-by: Alberto Garcia > Reviewed-by: Eric Blake > Reviewed-by: Max Reitz > --- > tests/qemu-iotests/103 |

[Qemu-devel] [PATCH] monitor.c: Fix infinite loop in monitor's auto-complete

2018-02-13 Thread Dr. David Alan Gilbert (git)
From: "Dr. David Alan Gilbert" Reported-by: Dimitris Karagkasidis Fixes: 48fe86f6400574165979e0db6f5937ad487b6888 Signed-off-by: Dr. David Alan Gilbert --- monitor.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/monitor.c b/monitor.c index 0c0faec0a4..bec484440f 100

Re: [Qemu-devel] [PATCH] linux-user: Use *at functions to implement interp_prefix

2018-02-13 Thread Peter Maydell
On 28 January 2018 at 22:15, Richard Henderson wrote: > From: Richard Henderson > > If the interp_prefix is a complete chroot, it may have a *lot* of files. > Setting up the cache for this is quite expensive. > > For the most part, we can use the *at versions of various syscalls to > attempt the

Re: [Qemu-devel] [PATCH v4 37/39] iotests: Test valid values of l2-cache-entry-size

2018-02-13 Thread Alberto Garcia
On Tue 13 Feb 2018 01:32:17 PM CET, Kevin Wolf wrote: >> +# Invalid cache entry sizes >> +$QEMU_IO -c "open -o l2-cache-entry-size=256 $TEST_IMG" \ >> +2>&1 | _filter_testdir | _filter_imgfmt >> +$QEMU_IO -c "open -o l2-cache-entry-size=300 $TEST_IMG" \ >> +2>&1 | _filter_testdir | _filter_

Re: [Qemu-devel] [PATCH 3/3] qmp: add architecture specific cpu data for query-cpus-fast

2018-02-13 Thread Viktor Mihajlovski
On 12.02.2018 19:15, Luiz Capitulino wrote: > On Mon, 12 Feb 2018 13:14:32 +0100 > Viktor Mihajlovski wrote: > >> -{ 'struct': 'CpuInfoFast', >> - 'data': {'cpu-index': 'int', 'qom-path': 'str', >> - 'thread-id': 'int', '*props': 'CpuInstanceProperties' } } >> +{ 'union': 'CpuInfoFast'

Re: [Qemu-devel] [RFC PATCH v6 00/20] replay additions

2018-02-13 Thread Pavel Dovgalyuk
I’ve tried starting QEMU with your files without SCSI at all. The problem is with implementation of icount in ARM. The following command line fails with the same error: ./bin/qemu-system-arm -icount 7 -M versatilepb -nographic -dtb ./images/arm/versatile-pb.dtb -kernel ./images/arm/zImage -

Re: [Qemu-devel] [PATCH v4 00/39] Allow configuring the qcow2 L2 cache entry size

2018-02-13 Thread Kevin Wolf
Am 05.02.2018 um 17:31 hat Max Reitz geschrieben: > On 2018-02-05 15:33, Alberto Garcia wrote: > > this is the new revision of the patch series to allow configuring the > > entry size of the qcow2 L2 cache. Follow this link for the full > > description from the first version: > > > >https://li

Re: [Qemu-devel] [PATCH v2 5/5] usb-mtp: Advertise SendObjectInfo for write support

2018-02-13 Thread Gerd Hoffmann
> +/* > + * ObjectInfo dataset received from initiator > + * Fields we don't care about are ignored > + */ > +typedef struct { > +char __pad1[4]; So, is this really padding or a field we don't care about? If the latter I'd suggest to give them proper names nevertheless, maybe append /* unused

[Qemu-devel] [PATCH 0/7] block: Preallocated truncation for gluster and sheepdog

2018-02-13 Thread Max Reitz
As far as I can see, these are the only protocols beside file-posix that support preallocated creation. In contrast to file-posix, however, they have not supported preallocated truncation so far. This series brings their truncation code to feature parity with their creation code in this regard.

Re: [Qemu-devel] [PATCH v2 4/4] acpi: build TPM Physical Presence interface

2018-02-13 Thread Igor Mammedov
On Mon, 12 Feb 2018 13:45:17 -0500 Stefan Berger wrote: > On 02/12/2018 12:52 PM, Igor Mammedov wrote: > > On Mon, 12 Feb 2018 11:44:16 -0500 > > Stefan Berger wrote: > > > >> On 02/12/2018 09:27 AM, Igor Mammedov wrote: > >>> On Fri, 9 Feb 2018 15:19:31 -0500 > >>> Stefan Berger wrote: > >

[Qemu-devel] [PATCH 7/7] sheepdog: Allow fully preallocated truncation

2018-02-13 Thread Max Reitz
Signed-off-by: Max Reitz --- block/sheepdog.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/block/sheepdog.c b/block/sheepdog.c index d300fb69c0..ac02b10fe0 100644 --- a/block/sheepdog.c +++ b/block/sheepdog.c @@ -2180,15 +2180,16 @@ static int sd_truncate(B

Re: [Qemu-devel] [PATCH] monitor.c: Fix infinite loop in monitor's auto-complete functionality

2018-02-13 Thread Dr. David Alan Gilbert
* Dimitris Karagkasidis (t.page...@gmail.com) wrote: > The QEMU monitor enters an infinite loop when trying to auto-complete commands > that accept only optional parameters. The commands currently affected by this > issue are 'info registers' and 'info mtree'. > > Signed-off-by: Dimitris Karagkasi

Re: [Qemu-devel] [PATCH v3] hw/char: remove legacy interface escc_init()

2018-02-13 Thread Laurent Vivier
Hi, can a maintainer of one of the involved parts take this in his maintenance branch to have this merged? Thanks, Laurent On 29/01/2018 15:21, Laurent Vivier wrote: > Paolo, > > I forgot to cc: you for the "MAINTAINERS/Character devices/Odd Fixes". > Could you take this through your branch? >

Re: [Qemu-devel] [PATCH V2] target-arm:Add a dynamic XML-description of the cp-registers to GDB

2018-02-13 Thread Abdallah Bouassida
[PATCH V2] target-arm:Add a dynamic XML-description of the cp-registers to GDB This patch offers to GDB the ability to read/write all the coprocessor registers for ARM and ARM64 by generating dynamically an XML-description for these registers. Signed-off-by: Abdallah Bouassida --- Hi. I trie

[Qemu-devel] [PATCH 5/7] sheepdog: Make sd_prealloc() take a BDS

2018-02-13 Thread Max Reitz
We want to use this function in sd_truncate() later on, so taking a filename is not exactly ideal. Signed-off-by: Max Reitz --- block/sheepdog.c | 29 + 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/block/sheepdog.c b/block/sheepdog.c index af125a2c8d

[Qemu-devel] [PATCH 4/7] gluster: Add preallocated truncation

2018-02-13 Thread Max Reitz
By using qemu_do_cluster_truncate() in qemu_cluster_truncate(), we now automatically have preallocated truncation. Signed-off-by: Max Reitz --- block/gluster.c | 17 + 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/block/gluster.c b/block/gluster.c index 806b894bc8

[Qemu-devel] [PATCH 6/7] sheepdog: Pass old and new size to sd_prealloc()

2018-02-13 Thread Max Reitz
sd_prealloc() will now preallocate the area [old_size, new_size). As before, it rounds to buf_size and may thus overshoot and preallocate areas that were not requested to be preallocated. For image creation, this is no change in behavior. For truncation, this is in accordance with the documentat

Re: [Qemu-devel] [PATCH v2 4/4] acpi: build TPM Physical Presence interface

2018-02-13 Thread Igor Mammedov
On Mon, 12 Feb 2018 15:17:21 -0500 Stefan Berger wrote: > On 02/12/2018 02:45 PM, Kevin O'Connor wrote: > > On Fri, Feb 09, 2018 at 03:19:31PM -0500, Stefan Berger wrote: > >> I have played around with this patch and some modifications to EDK2. Though > >> for EDK2 the question is whether to tr

Re: [Qemu-devel] [RFC v6 18/22] hw/arm/virt-acpi-build: Add virtio-iommu node in IORT table

2018-02-13 Thread Auger Eric
Hi Drew, On 13/02/18 13:24, Andrew Jones wrote: > On Mon, Feb 12, 2018 at 06:58:20PM +, Eric Auger wrote: >> This patch builds the virtio-iommu node in the ACPI IORT table. >> The dt node creation function fills the information used by >> the IORT table generation function (base address, base i

Re: [Qemu-devel] [PATCH V2] target-arm:Add a dynamic XML-description of the cp-registers to GDB

2018-02-13 Thread Peter Maydell
On 13 February 2018 at 12:51, Abdallah Bouassida wrote: >> Hi. I tried applying this patch to review it, but unfortunately your >> email client has made a complete mess of it. In particular: >> * it is wrapping long lines >> * it is converting all the leading space characters to unicode >>

[Qemu-devel] [PATCH 1/7] gluster: Move glfs_close() to create's clean-up

2018-02-13 Thread Max Reitz
glfs_close() is a classical clean-up operation, as can be seen by the fact that it is executed even if the truncation before it failed. Also, moving it to clean-up makes it more clear that if it fails, we do not want it to overwrite the current ret value if that signifies an error already. Signed-

[Qemu-devel] [Bug 1405176] Re: ctrl+alt+2 not work on gtk display

2018-02-13 Thread Thomas Huth
Triaging old bug tickets... can you still reproduce this issue with the latest version of QEMU? Or could we close this ticket nowadays? ** Changed in: qemu Status: New => Incomplete -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QE

[Qemu-devel] [Bug 1376938] Re: detect-zeroes=unmap fails to discard in some cases

2018-02-13 Thread Thomas Huth
Triaging old bug tickets... can you still reproduce this issue with the latest version of QEMU? Or could we close this ticket nowadays? ** Changed in: qemu Status: New => Incomplete -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QE

[Qemu-devel] [PATCH 2/7] gluster: Pull truncation from qemu_gluster_create

2018-02-13 Thread Max Reitz
Pull out the truncation code from the qemu_cluster_create() function so we can later reuse it in qemu_gluster_truncate(). Signed-off-by: Max Reitz --- block/gluster.c | 74 +++-- 1 file changed, 40 insertions(+), 34 deletions(-) diff --git a/b

[Qemu-devel] [PATCH 3/7] gluster: Query current size in do_truncate()

2018-02-13 Thread Max Reitz
Instead of expecting the current size to be 0, query it and allocate only the area [current_size, offset) if preallocation is requested. Signed-off-by: Max Reitz --- block/gluster.c | 21 +++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/block/gluster.c b/block

[Qemu-devel] [Bug 1397157] Re: cpu high with ps2 keyboard on multi-core win7 guest os

2018-02-13 Thread Thomas Huth
Triaging old bug tickets... can you still reproduce this issue with the latest version of QEMU? Or could we close this ticket nowadays? ** Bug watch removed: Red Hat Bugzilla #1169267 https://bugzilla.redhat.com/show_bug.cgi?id=1169267 ** Changed in: qemu Status: New => Incomplete --

  1   2   3   4   5   >