[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

[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

[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(+),

[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:

[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

[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

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

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' }

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] 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

[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

[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

[Qemu-devel] [PATCH] log-for-trace.h: Split out parts of log.h used by trace.h

2018-02-13 Thread Peter Maydell
A persistent build problem we see is where a source file accidentally omits the #include of log.h. This slips through local developer testing because if you configure with the default (log) trace backend trace.h will pull in log.h for you. Compilation fails only if some other backend is selected.

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

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 > >

[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

[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

[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

[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(-)

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(>objects, o, next); > +g_free(o->name); > +g_free(o->path); > +

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

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

[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

[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.

[Qemu-devel] [PATCH] linux-user: Remove THREAD macro

2018-02-13 Thread Peter Maydell
Back when we used to support compiling either with or without NPTL threading library support, we used a macro THREAD which would expand either to nothing (no thread support) or to __thread (threads supported). For a long time now we have required thread support, so remove the macro and just use

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

2018-02-13 Thread Luiz Capitulino
On Tue, 13 Feb 2018 13:30:02 +0100 Viktor Mihajlovski wrote: > On 12.02.2018 19:15, Luiz Capitulino wrote: > > On Mon, 12 Feb 2018 13:14:32 +0100 > > Viktor Mihajlovski wrote: > > > >> -{ 'struct': 'CpuInfoFast', > >> - 'data':

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 02:20:00PM +0100, Kevin Wolf wrote: > Am 13.02.2018 um 12:51 hat Daniel P. Berrangé geschrieben: > > 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

[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

[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:

[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

[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:

[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

[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 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 /*

[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 --

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

2018-02-13 Thread Laszlo Ersek
On 02/13/18 13:57, Igor Mammedov wrote: > 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

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

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:

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), > >

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

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

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

[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

[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>

[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

[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> ---

[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

[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

[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

[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

[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

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.

[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

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 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,

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

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

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

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

[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

[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+

[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>

[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

[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

[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:

[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,

[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(-)

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: > > > >

[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 @@

[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

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

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

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

[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

[Qemu-devel] [Bug 1402289] Re: netware 5.1 and SCSI (LSI Logic 53c895a) = lsi_scsi: error: readb 0x49

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

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

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: > > > > >

[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.

[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

[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

[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(+)

[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:

[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

[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(+)

[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

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

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

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 |

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

[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

[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

[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

[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

[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

[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

[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

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 13.02.2018 um 12:51 hat Daniel P. Berrangé geschrieben: > 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

[Qemu-devel] [Bug 1392504] Re: libvirt not relabeling devices on USB Passthrough

2018-02-13 Thread Thomas Huth
** Project changed: qemu => qemu (Ubuntu) -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1392504 Title: libvirt not relabeling devices on USB Passthrough Status in libvirt package in Ubuntu:

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 >

  1   2   3   4   5   >