[Qemu-devel] [PATCH v4 14/22] target/arm: Implement the access tag cache flushes

2019-03-07 Thread Richard Henderson
Like the regular data cache flushes, these are nops within qemu. Signed-off-by: Richard Henderson --- target/arm/helper.c | 48 + 1 file changed, 48 insertions(+) diff --git a/target/arm/helper.c b/target/arm/helper.c index 7b30e1a1a9..a16c87d0d9 1006

[Qemu-devel] [PATCH v4 03/22] target/arm: Add MTE system registers

2019-03-07 Thread Richard Henderson
This is TFSRE0_EL1, TFSR_EL1, TFSR_EL2, TFSR_EL3, RGSR_EL1, GCR_EL1, GMID_EL1, and PSTATE.TCO. Signed-off-by: Richard Henderson --- v3: Add GMID; add access_mte. --- target/arm/cpu.h | 3 ++ target/arm/internals.h | 6 target/arm/helper.c| 66

[Qemu-devel] [PATCH v4 00/22] target/arm: Implement ARMv8.5-MemTag, system mode

2019-03-07 Thread Richard Henderson
Major changes since v3: * User mode support dropped. There's nothing baked about the userland abi yet. * Introduce a new softmmu TLB to avoid duplicating the address space -> flatview -> memory region -> ram offset craziness that the TLB already manages. * Tested with a truly

[Qemu-devel] [PATCH v4 07/22] target/arm: Implement ADDG, SUBG instructions

2019-03-07 Thread Richard Henderson
Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson --- v2: Shift offset in translate; use extract32. --- target/arm/helper-a64.h| 2 ++ target/arm/internals.h | 4 +++ target/arm/mte_helper.c| 32 + target/arm/translate-a64.c | 71 ++

[Qemu-devel] [PATCH v4 04/22] target/arm: Add helper_mte_check{1, 2}

2019-03-07 Thread Richard Henderson
Implements the rules of "PE generation of Checked and Unchecked accesses" which aren't already implied by TB_FLAGS_MTE_ACTIVE. Implements the rules of "PE handling of Tag Check Failure". Does not implement tag physical address space, so all operations reduce to unchecked so far. Signed-off-by: Ri

Re: [Qemu-devel] [PATCH] scsi-disk: Fix crash if request is invaild or disk is no medium

2019-03-07 Thread Paolo Bonzini
On 07/03/19 10:12, Zhengui li wrote: > From: Zhengui Li > > Qemu will crash with the assertion error that "assert(r->req.aiocb != > NULL)" in scsi_read_complete if request is invaild or disk is no medium. > The error is below: > qemu-kvm: hw/scsi/scsi_disk.c:299: scsi_read_complete: Assertion > `

Re: [Qemu-devel] [PULL 0/7] Python queue, 2019-02-22

2019-03-07 Thread Peter Maydell
On Fri, 22 Feb 2019 at 19:41, Cleber Rosa wrote: > > The following changes since commit 8eb29f1bf5a974dc4c11d2d1f5e7c7f7a62be116: > > Merge remote-tracking branch > 'remotes/awilliam/tags/vfio-updates-20190221.0' into staging (2019-02-22 > 15:48:04 +) > > are available in the Git repositor

Re: [Qemu-devel] [PATCH v2] machine: Move acpi_nvdimm_state into struct MachineState

2019-03-07 Thread Eduardo Habkost
On Thu, Mar 07, 2019 at 04:15:21PM +0100, Auger Eric wrote: > Hi Philippe, Eduardo, > > On 3/7/19 11:56 AM, Philippe Mathieu-Daudé wrote: > > Hi Eric, Eduardo, > > > > On 3/7/19 10:06 AM, Eric Auger wrote: > >> As NVDIMM support is looming for ARM and SPAPR, let's > >> move the acpi_nvdimm_state

[Qemu-devel] [PATCH v2] io: fix handling of EOF / error conditions in websock GSource

2019-03-07 Thread Daniel P . Berrangé
We were never reporting the G_IO_HUP event when an end of file was hit on the websocket channel. We also didn't report G_IO_ERR when we hit a fatal error processing the websocket protocol. The latter in particular meant that the chardev code would not notice when an eof/error was encountered on t

Re: [Qemu-devel] [PATCH v4 0/2] qemu-iotests: Add dependency to qemu-block tools

2019-03-07 Thread Kevin Wolf
Am 07.03.2019 um 16:10 hat Philippe Mathieu-Daudé geschrieben: > Hi Kevin, Max, John. > > Two trivial fixes I encountered while trying to run QEMU test suite on > a distribution which doesn't has the qemu-tools distrib-wide installed, > see https://lists.gnu.org/archive/html/qemu-devel/2018-06/msg

[Qemu-devel] [PATCH] qcow2 spec: Describe string header extensions

2019-03-07 Thread Kevin Wolf
Be more specific about the string representation in header extensions. Suggested-by: Stefan Hajnoczi Signed-off-by: Kevin Wolf --- docs/interop/qcow2.txt | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/docs/interop/qcow2.txt b/docs/interop/qcow2.txt index bfb

[Qemu-devel] [PATCH v5-resend 0/2] Basic ATI VGA emulation

2019-03-07 Thread Andrew Randrianasulu
You can have my Tested-by: Andrew Randrianasulu, randrianas...@gmail.com ref: https://lists.gnu.org/archive/html/qemu-devel/2019-03/msg01728.html https://lists.gnu.org/archive/html/qemu-devel/2019-03/msg01985.html

[Qemu-devel] [PATCH v3] file-posix: add drop-cache=on|off option

2019-03-07 Thread Stefan Hajnoczi
Commit dd577a26ff03b6829721b1ffbbf9e7c411b72378 ("block/file-posix: implement bdrv_co_invalidate_cache() on Linux") introduced page cache invalidation so that cache.direct=off live migration is safe on Linux. The invalidation takes a significant amount of time when the file is large and present in

Re: [Qemu-devel] [multiprocess RFC PATCH 36/37] multi-process: add the concept description to docs/devel/qemu-multiprocess

2019-03-07 Thread Daniel P . Berrangé
On Thu, Mar 07, 2019 at 11:46:19AM -0500, Michael S. Tsirkin wrote: > On Thu, Mar 07, 2019 at 04:19:44PM +, Daniel P. Berrangé wrote: > > On Thu, Mar 07, 2019 at 11:05:36AM -0500, Michael S. Tsirkin wrote: > > > On Thu, Mar 07, 2019 at 02:51:20PM +, Daniel P. Berrangé wrote: > > > > The bro

Re: [Qemu-devel] [multiprocess RFC PATCH 36/37] multi-process: add the concept description to docs/devel/qemu-multiprocess

2019-03-07 Thread Michael S. Tsirkin
On Thu, Mar 07, 2019 at 04:19:44PM +, Daniel P. Berrangé wrote: > On Thu, Mar 07, 2019 at 11:05:36AM -0500, Michael S. Tsirkin wrote: > > On Thu, Mar 07, 2019 at 02:51:20PM +, Daniel P. Berrangé wrote: > > > The broadening of vhost-user support is useful with that in much the > > > same way

Re: [Qemu-devel] [PATCH] scsi-disk: Fix crash if request is invaild or disk is no medium

2019-03-07 Thread Eric Blake
On 3/7/19 3:12 AM, Zhengui li wrote: > From: Zhengui Li > > Qemu will crash with the assertion error that "assert(r->req.aiocb != > NULL)" in scsi_read_complete if request is invaild or disk is no medium. s/invaild/invalid/ > The error is below: > qemu-kvm: hw/scsi/scsi_disk.c:299: scsi_read_co

Re: [Qemu-devel] [PATCH v4 0/4] tests: Allow use of Ports bash and GNU sed extensions

2019-03-07 Thread Philippe Mathieu-Daudé
On 3/7/19 5:24 PM, Kevin Wolf wrote: > Am 07.03.2019 um 15:58 hat Philippe Mathieu-Daudé geschrieben: >> This series contains few script cleanups which help to >> run tests on OpenBSD. >> Note, this is a split of the previous series, here restricted >> to tests/. > > Thanks, applied to the block b

Re: [Qemu-devel] [multiprocess RFC PATCH 22/37] multi-process: QMP/HMP commands to remove device from the remote process

2019-03-07 Thread Eric Blake
On 3/7/19 1:22 AM, elena.ufimts...@oracle.com wrote: > From: Jagannathan Raman > > Add rdevice_del QMP & HMP commands to hot-unplug device from remote > device. > > Signed-off-by: Jagannathan Raman > Signed-off-by: John G Johnson > Signed-off-by: Elena Ufimtseva > --- Similar to my other mai

Re: [Qemu-devel] [PATCH v3 7/7] block/dirty-bitmaps: implement inconsistent bit

2019-03-07 Thread Eric Blake
On 3/6/19 3:46 PM, John Snow wrote: >> I think, inconsistent bitmaps should have readonly flag always set or always >> unset, independently on can_write, >> as we are not going to write something related to inconsistent bitmaps. >> > > We'll never change metadata for inconsistent bitmaps, no. We

Re: [Qemu-devel] [PATCH 00/20] qcow2: External data files

2019-03-07 Thread Kevin Wolf
Am 27.02.2019 um 18:22 hat Kevin Wolf geschrieben: > There are use cases where raw images are given (e.g. existing physical > disks), but advanced features like dirty bitmaps or backing files are > wanted that require use of a proper image format like qcow2. > > This series adds an incompatible fe

Re: [Qemu-devel] [PATCH v3 00/32] s390x/tcg: Vector Instruction Support Part 1

2019-03-07 Thread Cornelia Huck
On Thu, 7 Mar 2019 13:15:07 +0100 David Hildenbrand wrote: > This is the first part of vector instruction support for s390x. Parts > will be sent and reviewed piece by piece. > > Part 1: Vector Support Instructions > Part 2: Vector Integer Instructions > Part 3: Vector String Instructions > Par

Re: [Qemu-devel] [PATCH v3 0/2] OpenBSD: Let QEMU 4.0 be usable from OpenBSD 6.0 and onwards

2019-03-07 Thread Paolo Bonzini
On 07/03/19 15:28, Philippe Mathieu-Daudé wrote: > Since OpenBSD 6.0, the W^X protection is enforced by default. > TCG is incompatible with this protection, to be able to use the > QEMU binary, this protection has to be disabled. > The OpenBSD ports seens to have downstream patches to be able to >

Re: [Qemu-devel] [PATCH v3 13/16] s390-bios: Use control unit type to determine boot method

2019-03-07 Thread Jason J. Herne
On 3/5/19 7:27 AM, Cornelia Huck wrote: On Fri, 1 Mar 2019 13:59:33 -0500 "Jason J. Herne" wrote: The boot method is different depending on which device type we are booting from. Let's examine the control unit type to determine if we're a virtio device. We'll eventually add a case to check fo

Re: [Qemu-devel] egl: EGL_MESA_image_dma_buf_export not supported / Failed to initialize EGL render node for SPICE GL

2019-03-07 Thread Marc-André Lureau
Hi On Thu, Mar 7, 2019 at 3:00 PM manish jaggi wrote: > > Hi List, > I am trying to run qemu with spice gl=on with the below command line > and getting errors. > > qemu-system-x86_64 -cdrom ubuntu-18.04.2-desktop-amd64.iso -hda > u1.qcow2 -enable-kvm -m 1G -cpu host -smp 8 -machine vmport=off -bo

Re: [Qemu-devel] [PATCH v4 0/4] tests: Allow use of Ports bash and GNU sed extensions

2019-03-07 Thread Kevin Wolf
Am 07.03.2019 um 15:58 hat Philippe Mathieu-Daudé geschrieben: > This series contains few script cleanups which help to > run tests on OpenBSD. > Note, this is a split of the previous series, here restricted > to tests/. Thanks, applied to the block branch. Kevin

[Qemu-devel] [PATCH v2] hw/block/virtio-blk: Clean req->dev repetitions

2019-03-07 Thread Anastasiia Rusakova
From: Anastasiia Rusakova Some functions sometimes uses req->dev even though a local variable VirtIOBlock* s = req->dev has already been defined. Updated places to use s everywhere in the file. Signed-off-by: Anastasiia Rusakova --- hw/block/virtio-blk.c | 16 +--- 1 file changed,

Re: [Qemu-devel] [multiprocess RFC PATCH 35/37] multi-process: QMP/HMP commands to resize block device on remote process

2019-03-07 Thread Eric Blake
On 3/7/19 1:22 AM, elena.ufimts...@oracle.com wrote: > From: Jagannathan Raman > > Adds rblock_resize QMP/HMP commands to resize block devices on the remote > process. > > Signed-off-by: John G Johnson > Signed-off-by: Jagannathan Raman > Signed-off-by: Elena Ufimtseva > --- I know the discu

Re: [Qemu-devel] [PULL 00/12] sphinx queue

2019-03-07 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20190307152450.20340-1-peter.mayd...@linaro.org/ Hi, This series seems to have some coding style problems. See output below for more information: Type: series Message-id: 20190307152450.20340-1-peter.mayd...@linaro.org Subject: [Qemu-devel] [PULL 00/12] s

Re: [Qemu-devel] [PATCH] RFC: net/socket: learn to talk with a unix dgram socket

2019-03-07 Thread Marc-André Lureau
Hi Jason On Thu, Nov 15, 2018 at 3:39 AM Jason Wang wrote: > > > On 2018/11/14 下午9:01, Marc-André Lureau wrote: > > Hi > > > > On Wed, Nov 14, 2018 at 7:46 AM Jason Wang wrote: > >> > >> On 2018/11/10 上午3:56, Marc-André Lureau wrote: > >>> -net socket has a fd argument, and may be passed pre-ope

Re: [Qemu-devel] [multiprocess RFC PATCH 36/37] multi-process: add the concept description to docs/devel/qemu-multiprocess

2019-03-07 Thread Daniel P . Berrangé
On Thu, Mar 07, 2019 at 11:05:36AM -0500, Michael S. Tsirkin wrote: > On Thu, Mar 07, 2019 at 02:51:20PM +, Daniel P. Berrangé wrote: > > The broadening of vhost-user support is useful with that in much the > > same way I imagine. > > vhost user has more of an impact but is also a bigger maint

Re: [Qemu-devel] [PATCH v4 2/2] qemu-iotests: Add dependency to qemu-nbd tool

2019-03-07 Thread Eric Blake
On 3/7/19 9:10 AM, Philippe Mathieu-Daudé wrote: > Since a9660664fde, some iotests use qemu-nbd. > Add a dependency to build it before using it. > This fixes: > > $ make check-block > GEN qemu-img-cmds.h > CC qemu-img.o > LINKqemu-img > CC qemu-io.o > LINK

Re: [Qemu-devel] [PATCH] numa: warn if numa 'mem' option or default RAM splitting between nodes is used.

2019-03-07 Thread Igor Mammedov
On Thu, 7 Mar 2019 10:04:56 + Daniel P. Berrangé wrote: > On Wed, Mar 06, 2019 at 07:48:22PM +0100, Igor Mammedov wrote: > > On Wed, 6 Mar 2019 17:10:37 + > > Daniel P. Berrangé wrote: > > > > > On Wed, Mar 06, 2019 at 05:58:35PM +0100, Igor Mammedov wrote: > > > > On Wed, 6 Mar 201

Re: [Qemu-devel] [PULL 00/12] sphinx queue

2019-03-07 Thread Peter Maydell
> Merge remote-tracking branch > 'remotes/ehabkost/tags/machine-next-pull-request' into staging (2019-03-06 > 18:52:19 +) > > are available in the Git repository at: > > https://git.linaro.org/people/pmaydell/qemu-arm.git

Re: [Qemu-devel] [PATCH v3 0/2] OpenBSD: Let QEMU 4.0 be usable from OpenBSD 6.0 and onwards

2019-03-07 Thread Philippe Mathieu-Daudé
On 3/7/19 3:57 PM, Daniel P. Berrangé wrote: > On Thu, Mar 07, 2019 at 03:28:20PM +0100, Philippe Mathieu-Daudé wrote: >> Since OpenBSD 6.0, the W^X protection is enforced by default. >> TCG is incompatible with this protection, to be able to use the >> QEMU binary, this protection has to be disabl

Re: [Qemu-devel] [PATCH v4 0/4] tests: Allow use of Ports bash and GNU sed extensions

2019-03-07 Thread Philippe Mathieu-Daudé
On 3/7/19 4:27 PM, Thomas Huth wrote: > On 07/03/2019 15.58, Philippe Mathieu-Daudé wrote: >> Hi Thomas, > > ? -^ > > I could take the patch for tests/data/acpi/rebuild-expected-aml.sh > through the qtests tree (if Michael or Igor don't want to take it), but > the other patches are not relate

Re: [Qemu-devel] [PATCH] Added periodic IRQ support for bcm2836_control local timer

2019-03-07 Thread Peter Maydell
On Thu, 7 Mar 2019 at 15:57, bzt wrote: > > Nope. I meant the second patch, sent on 4th Mar, which had all the > things fixed you listed in your review. > > But here's the modification for your latest query. This one controls > the timer depending on ENABLE bit. It sets the INTFLAG even if > INTEN

Re: [Qemu-devel] [PATCH v2] machine: Move acpi_nvdimm_state into struct MachineState

2019-03-07 Thread David Hildenbrand
On 07.03.19 16:36, Philippe Mathieu-Daudé wrote: > On 3/7/19 4:21 PM, David Hildenbrand wrote: >> On 07.03.19 16:15, Auger Eric wrote: >>> Hi Philippe, Eduardo, >>> >>> On 3/7/19 11:56 AM, Philippe Mathieu-Daudé wrote: Hi Eric, Eduardo, On 3/7/19 10:06 AM, Eric Auger wrote: > As

Re: [Qemu-devel] [PATCH v3 12/16] s390-bios: Refactor virtio to run channel programs via cio

2019-03-07 Thread Cornelia Huck
On Thu, 7 Mar 2019 10:09:46 -0500 "Jason J. Herne" wrote: > On 3/5/19 7:30 AM, Cornelia Huck wrote: > > On Fri, 1 Mar 2019 13:59:32 -0500 > > "Jason J. Herne" wrote: > > > >> Now that we have a Channel I/O library let's modify virtio boot code to > >> make use of it for running channel progr

Re: [Qemu-devel] [PULL 00/12] sphinx queue

2019-03-07 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20190307152450.20340-1-peter.mayd...@linaro.org/ Hi, This series seems to have some coding style problems. See output below for more information: Type: series Message-id: 20190307152450.20340-1-peter.mayd...@linaro.org Subject: [Qemu-devel] [PULL 00/12] s

Re: [Qemu-devel] [multiprocess RFC PATCH 36/37] multi-process: add the concept description to docs/devel/qemu-multiprocess

2019-03-07 Thread Michael S. Tsirkin
On Thu, Mar 07, 2019 at 02:51:20PM +, Daniel P. Berrangé wrote: > The broadening of vhost-user support is useful with that in much the > same way I imagine. vhost user has more of an impact but is also a bigger maintainance burden as clients are packaged, can be restarted etc individually. --

Re: [Qemu-devel] [PATCH v3 00/32] s390x/tcg: Vector Instruction Support Part 1

2019-03-07 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20190307121539.12842-1-da...@redhat.com/ Hi, This series seems to have some coding style problems. See output below for more information: Type: series Message-id: 20190307121539.12842-1-da...@redhat.com Subject: [Qemu-devel] [PATCH v3 00/32] s390x/tcg: Vec

Re: [Qemu-devel] [PATCH v4 0/4] tests: Allow use of Ports bash and GNU sed extensions

2019-03-07 Thread Thomas Huth
On 07/03/2019 15.58, Philippe Mathieu-Daudé wrote: > Hi Thomas, ? -^ I could take the patch for tests/data/acpi/rebuild-expected-aml.sh through the qtests tree (if Michael or Igor don't want to take it), but the other patches are not related to qtests... Thomas

Re: [Qemu-devel] [PATCH 0/9] tcg: Add tcg_gen_extract2_{i32,i64}

2019-03-07 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20190307144126.31847-1-richard.hender...@linaro.org/ Hi, This series seems to have some coding style problems. See output below for more information: Type: series Message-id: 20190307144126.31847-1-richard.hender...@linaro.org Subject: [Qemu-devel] [PATCH

[Qemu-devel] [PULL 12/12] MAINTAINERS: Add entry for Sphinx documentation infrastructure

2019-03-07 Thread Peter Maydell
Add a MAINTAINERS entry for Sphinx documentation infrastructure: this doesn't cover actual content, only the machinery we use to build the docs. Signed-off-by: Peter Maydell Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-id: 20190305172139.32662-13-peter.mayd...@lina

[Qemu-devel] [PULL 11/12] docs/conf.py: Don't hard-code QEMU version

2019-03-07 Thread Peter Maydell
Don't hard-code the QEMU version number into conf.py. Instead we either pass it to sphinx-build on the command line, or (if doing a standalone Sphinx run in a readthedocs.org setup) extract it from the VERSION file. Signed-off-by: Peter Maydell Reviewed-by: Alex Bennée Reviewed-by: Philippe Math

Re: [Qemu-devel] [PATCH] Added periodic IRQ support for bcm2836_control local timer

2019-03-07 Thread Peter Maydell
On Thu, 7 Mar 2019 at 15:27, bzt wrote: > Yes, could be. The QA7 spec is not really detailed, and calling both > timers simply ARM timers can be misleading. But it's not relevant > anyway from the IRQ's point of view. My latest patch checks both bits > to be set to generate the IRQ, so it does not

[Qemu-devel] [PULL 04/12] docs/conf.py: Disable unused _static directory

2019-03-07 Thread Peter Maydell
We don't yet have any custom static files, so disable this config file setting to avoid a warning from sphinx about not being able to find the directory. Signed-off-by: Peter Maydell Reviewed-by: Alex Bennée Acked-by: Aleksandar Markovic Reviewed-by: Richard Henderson Message-id: 2019030517213

Re: [Qemu-devel] [PATCH v5 04/14] audio: -audiodev command line option basic implementation

2019-03-07 Thread Gerd Hoffmann
On Tue, Feb 26, 2019 at 02:39:38AM +0100, Zoltán Kővágó wrote: > On 2019-02-20 22:37, Kővágó, Zoltán wrote: > [...] > > diff --git a/audio/audio.c b/audio/audio.c > > index ce8e6ea8c2..8ad8cbe559 100644 > > --- a/audio/audio.c > > +++ b/audio/audio.c > [...] > > @@ -2129,3 +1866,170 @@ void AUD_set

Re: [Qemu-devel] [PATCH] Added periodic IRQ support for bcm2836_control local timer

2019-03-07 Thread bzt
Nope. I meant the second patch, sent on 4th Mar, which had all the things fixed you listed in your review. But here's the modification for your latest query. This one controls the timer depending on ENABLE bit. It sets the INTFLAG even if INTENABLE is not set, and only raises the IRQ if both are s

[Qemu-devel] [PULL 01/12] docs/cpu-hotplug.rst: Fix rST markup issues

2019-03-07 Thread Peter Maydell
sphinx-build complains: docs/cpu-hotplug.rst:67: ERROR: Unexpected indentation. docs/cpu-hotplug.rst:69: ERROR: Unexpected indentation. docs/cpu-hotplug.rst:74: WARNING: Block quote ends without a blank line; unexpected unindent. docs/cpu-hotplug.rst:75: WARNING: Block quote ends without a blank

[Qemu-devel] [PULL 09/12] Makefile, configure: Support building rST documentation

2019-03-07 Thread Peter Maydell
Add support to our configure and makefile machinery for building our rST docs into HTML files. Building the documentation now requires that sphinx-build is available; this seems better than allowing half the docs to be built if it is not present but having half of them missing. (In particular it m

Re: [Qemu-devel] [PULL 0/4] Usb 20190307 patches

2019-03-07 Thread Peter Maydell
> > are available in the Git repository at: > > git://git.kraxel.org/qemu tags/usb-20190307-pull-request > > for you to fetch changes up to ba4c735b4fc74e309ce4b2551d258e442ef513a5: > > Introduce new "no_guest_reset&quo

[Qemu-devel] [PATCH 1/2] tests/tcg: target/mips: Correct preambles of test source files

2019-03-07 Thread Aleksandar Markovic
From: Aleksandar Markovic Correct preambles of test source files. Signed-off-by: Aleksandar Markovic --- tests/tcg/mips/user/ase/msa/bit-count/test_msa_nloc_b.c| 4 ++-- tests/tcg/mips/user/ase/msa/bit-count/test_msa_nloc_d.c| 4 ++-- tests/tcg/mips/user/ase/msa/bit-count/test_msa_nloc

[Qemu-devel] [PULL 03/12] docs: Commit initial files from sphinx-quickstart

2019-03-07 Thread Peter Maydell
Commit the initial Sphinx conf.py and skeleton index.rst as generated with sphinx-quickstart. We'll update these to add QEMU-specific tweaks in subsequent commits. Signed-off-by: Peter Maydell Acked-by: Aleksandar Markovic Acked-by: Richard Henderson Message-id: 20190305172139.32662-4-peter.may

Re: [Qemu-devel] [PATCH v2] machine: Move acpi_nvdimm_state into struct MachineState

2019-03-07 Thread David Hildenbrand
On 07.03.19 16:15, Auger Eric wrote: > Hi Philippe, Eduardo, > > On 3/7/19 11:56 AM, Philippe Mathieu-Daudé wrote: >> Hi Eric, Eduardo, >> >> On 3/7/19 10:06 AM, Eric Auger wrote: >>> As NVDIMM support is looming for ARM and SPAPR, let's >>> move the acpi_nvdimm_state to the generic machine struct

Re: [Qemu-devel] [PATCH 0/5] target/mips: Add tests for a variety of MSA int binary ops

2019-03-07 Thread Aleksandar Markovic
> From: Mateja Marjanovic > Subject: [PATCH 0/5] target/mips: Add tests for a variety of MSA int binary > ops > > From: Mateja Marjanovic > > These are regression tests for MSA integer binary operations. Some minor cleanups are needed in preambles and commit messages, but nevertheless: Revie

[Qemu-devel] [PATCH 2/2] tests/tcg: target/mips: Rename two header files for consistency

2019-03-07 Thread Aleksandar Markovic
From: Aleksandar Markovic Rename two header files for consistency and clarity. Signed-off-by: Aleksandar Markovic --- tests/tcg/mips/include/{test_inputs.h => test_inputs_128.h} | 0 tests/tcg/mips/include/{test_utils.h => test_utils_128.h} | 0 tests/tcg/mips/user/ase/msa/bit-count/test_msa

[Qemu-devel] [PULL 05/12] docs/conf.py: Configure the 'alabaster' theme

2019-03-07 Thread Peter Maydell
Add the 'navigation' bar to the sidebar, which for some reason is not enabled by default. Remove 'relations', which is effectively disabled anyway and isn't useful for us. This requires that we mandate having at least Sphinx 1.3, where the theme was added. Signed-off-by: Peter Maydell Reviewed-b

Re: [Qemu-devel] [PATCH v2] machine: Move acpi_nvdimm_state into struct MachineState

2019-03-07 Thread Auger Eric
Hi Philippe, Eduardo, On 3/7/19 11:56 AM, Philippe Mathieu-Daudé wrote: > Hi Eric, Eduardo, > > On 3/7/19 10:06 AM, Eric Auger wrote: >> As NVDIMM support is looming for ARM and SPAPR, let's >> move the acpi_nvdimm_state to the generic machine struct >> instead of duplicating the same code in sev

[Qemu-devel] [PATCH 0/2] target/mips: Minor cleanups in test infrastructure

2019-03-07 Thread Aleksandar Markovic
From: Aleksandar Markovic This series contains some minor cleanups in MIPS-specific test infrastructure, done mostly for consistency and clarity. Aleksandar Markovic (2): tests/tcg: target/mips: Correct preambles of test source files tests/tcg: target/mips: Rename two header files for consis

[Qemu-devel] [PULL 00/12] sphinx queue

2019-03-07 Thread Peter Maydell
7; into staging (2019-03-06 18:52:19 +) are available in the Git repository at: https://git.linaro.org/people/pmaydell/qemu-arm.git tags/pull-sphinx-20190307 for you to fetch changes up to c10e01b996df09f6cb4eceb2b7a9754bece927c9: MAINTAINERS: Add entry for Sphinx documentation infrastruct

Re: [Qemu-devel] [PATCH v4 0/4] tests: Allow use of Ports bash and GNU sed extensions

2019-03-07 Thread Kevin Wolf
Am 07.03.2019 um 16:27 hat Thomas Huth geschrieben: > On 07/03/2019 15.58, Philippe Mathieu-Daudé wrote: > > Hi Thomas, > > ? -^ > > I could take the patch for tests/data/acpi/rebuild-expected-aml.sh > through the qtests tree (if Michael or Igor don't want to take it), but > the other patches

Re: [Qemu-devel] [PATCH v3 27/32] s390x/tcg: Provide probe_write_access helper

2019-03-07 Thread Richard Henderson
On 3/7/19 6:34 AM, David Hildenbrand wrote: > So it should be > > > +void probe_write_access(CPUS390XState *env, uint64_t addr, uint64_t len, > +uintptr_t ra) > +{ > +#ifdef CONFIG_USER_ONLY > +if (!h2g_valid(addr) || !h2g_valid(addr + len - 1) || > +page_check

Re: [Qemu-devel] [PATCH 3/4] hw/i386/pc_sysfw: Let pc_system_firmware_init() access PCMachineState

2019-03-07 Thread Markus Armbruster
Laszlo Ersek writes: > On 03/04/19 20:48, Philippe Mathieu-Daudé wrote: >> PCMachineState will be used in the next patch. >> Since We can access PCMachineClass from it, directly use it. >> We can also access pcmc->pci_enabled, remove the isapc_ram_fw >> argument. >> >> Signed-off-by: Markus Armb

Re: [Qemu-devel] [PATCH 2/9] tcg: Add INDEX_op_extract2_{i32,i64}

2019-03-07 Thread David Hildenbrand
On 07.03.19 15:41, Richard Henderson wrote: > This will let backends implement the double-word shift operation. > > Signed-off-by: Richard Henderson > --- > tcg/aarch64/tcg-target.h | 2 ++ > tcg/arm/tcg-target.h | 1 + > tcg/i386/tcg-target.h| 2 ++ > tcg/mips/tcg-target.h| 2 ++

Re: [Qemu-devel] [PATCH] Added periodic IRQ support for bcm2836_control local timer

2019-03-07 Thread bzt
Hi, Yes, could be. The QA7 spec is not really detailed, and calling both timers simply ARM timers can be misleading. But it's not relevant anyway from the IRQ's point of view. My latest patch checks both bits to be set to generate the IRQ, so it does not really matter. As I've said, this patch add

Re: [Qemu-devel] [multiprocess RFC PATCH 35/37] multi-process: QMP/HMP commands to resize block device on remote process

2019-03-07 Thread Dr. David Alan Gilbert
* Kevin Wolf (kw...@redhat.com) wrote: > Am 07.03.2019 um 08:22 hat elena.ufimts...@oracle.com geschrieben: > > From: Jagannathan Raman > > > > Adds rblock_resize QMP/HMP commands to resize block devices on the remote > > process. > > > > Signed-off-by: John G Johnson > > Signed-off-by: Jaganna

Re: [Qemu-devel] [PATCH v2] machine: Move acpi_nvdimm_state into struct MachineState

2019-03-07 Thread Philippe Mathieu-Daudé
On 3/7/19 4:21 PM, David Hildenbrand wrote: > On 07.03.19 16:15, Auger Eric wrote: >> Hi Philippe, Eduardo, >> >> On 3/7/19 11:56 AM, Philippe Mathieu-Daudé wrote: >>> Hi Eric, Eduardo, >>> >>> On 3/7/19 10:06 AM, Eric Auger wrote: As NVDIMM support is looming for ARM and SPAPR, let's mov

[Qemu-devel] [PULL 6/7] vnc: allow specifying a custom authorization object name

2019-03-07 Thread Gerd Hoffmann
From: "Daniel P. Berrange" The VNC server has historically had support for ACLs to check both the SASL username and the TLS x509 distinguished name. The VNC server was responsible for creating the initial ACL, and the client app was then responsible for populating it with rules using the HMP 'acl

[Qemu-devel] [PULL 06/12] docs/conf.py: Don't include rST sources in HTML build

2019-03-07 Thread Peter Maydell
Sphinx defaults to including all the rST source files in the HTML build and making each HTML page link to the source file. Disable that. Signed-off-by: Peter Maydell Reviewed-by: Alex Bennée Acked-by: Aleksandar Markovic Reviewed-by: Richard Henderson Message-id: 20190305172139.32662-7-peter.m

[Qemu-devel] [PULL 5/7] vnc: fix update stalls

2019-03-07 Thread Gerd Hoffmann
vnc aborts display update jobs on video mode switches and page flips. That can cause vnc update stalls in case an unfinished vnc job gets aborted. The vnc client will never receive the requested update then. Fix that by copying the state from job_update back to update in that case. Reports compla

[Qemu-devel] [PULL 08/12] docs: Provide separate conf.py for each manual we want

2019-03-07 Thread Peter Maydell
By default Sphinx wants to build a single manual at once. For QEMU, this doesn't suit us, because we want to have separate manuals for "Developer's Guide", "User Manual", and so on, and we don't want to ship the Developer's Guide to end-users. However, we don't want to completely duplicate conf.py

[Qemu-devel] [PULL 02/12] docs: Convert memory.txt to rst format

2019-03-07 Thread Peter Maydell
Convert the memory API documentation from plain text to restructured text format. This is a very minimal conversion: all I had to change was to mark up the ASCII art parts as Sphinx expects for 'literal blocks', and fix up the bulleted lists (Sphinx expects no leading space before the bullet, and

[Qemu-devel] [PULL 7/7] monitor: deprecate acl_show, acl_reset, acl_policy, acl_add, acl_remove

2019-03-07 Thread Gerd Hoffmann
From: Daniel P. Berrangé The various ACL related commands are obsolete now that the QAuthZ framework for authorization is fully integrated throughout QEMU network services. These only ever worked with VNC and were never used by libvirt. Mark it as deprecated with no direct replacement to be provi

[Qemu-devel] [PATCH v4 4/4] qemu-iotests: Ensure GNU sed is used

2019-03-07 Thread Philippe Mathieu-Daudé
Various sed regexp from common.filter use sed GNU extensions. Instead of spending time to write these regex to be POSIX compliant, verify the GNU sed is available and use it. Signed-off-by: Philippe Mathieu-Daudé --- tests/qemu-iotests/common.filter | 36 tests/q

[Qemu-devel] [PULL 10/12] Makefile: Abstract out "identify the pkgversion" code

2019-03-07 Thread Peter Maydell
Abstract out the "identify the pkgversion" code from the rule for creating qemu-version.h, so it sets makefile variables for QEMU_PKGVERSION and QEMU_FULL_VERSION. (We will want to use these when building the Sphinx docs.) NB: As we abstract this out, we use -e to check for .git rather than -d, si

[Qemu-devel] [PULL 2/7] curses: support wide input

2019-03-07 Thread Gerd Hoffmann
From: Samuel Thibault This makes use of wide curses functions instead of 8bit functions. This allows to type e.g. accented letters. Unfortunately, key codes are then returned with values that could be confused with wide characters by ncurses, so we need to add a maybe_keycode variable to know wh

Re: [Qemu-devel] [PATCH v2 0/4] iotests: check whitelisted formats

2019-03-07 Thread Andrey Shinkevich
On 07/03/2019 18:11, Kevin Wolf wrote: > Am 07.03.2019 um 14:33 hat Andrey Shinkevich geschrieben: >> Some test cases require specific formats to be supported by QEMU. The >> list of formats supported by the block layer doesn't take whitelists >> into account. This series manages this issue. The m

[Qemu-devel] [PATCH v4 1/4] tests/multiboot: Improve portability by searching bash in the $PATH

2019-03-07 Thread Philippe Mathieu-Daudé
Bash is not always installed as /bin/bash. In particular on OpenBSD, the package installs it in /usr/local/bin. Use the 'env' shebang to search bash in the $PATH. Reviewed-by: Kamil Rytarowski Reviewed-by: Eric Blake Signed-off-by: Philippe Mathieu-Daudé --- tests/multiboot/run_test.sh | 2 +-

[Qemu-devel] [PULL 07/12] docs/conf.py: Disable option warnings

2019-03-07 Thread Peter Maydell
sphinx-build complains about using :option: to mark up option flags that it doesn't know about (because they were not defined using the "option::" directive): docs/pr-manager.rst:68: WARNING: unknown option: -d Suppress these warnings. This way we get the semantic markup of the option flag but no

[Qemu-devel] [PULL 3/7] iconv: detect and make curses depend on it

2019-03-07 Thread Gerd Hoffmann
From: Samuel Thibault curses will use it for proper wide output support. Signed-off-by: Samuel Thibault Message-Id: <20190304210217.7056-2-samuel.thiba...@ens-lyon.org> Signed-off-by: Gerd Hoffmann --- configure | 40 vl.c | 2 +- 2 files changed

Re: [Qemu-devel] [PATCH 0/9] tcg: Add tcg_gen_extract2_{i32,i64}

2019-03-07 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20190307144126.31847-1-richard.hender...@linaro.org/ Hi, This series seems to have some coding style problems. See output below for more information: Type: series Message-id: 20190307144126.31847-1-richard.hender...@linaro.org Subject: [Qemu-devel] [PATCH

[Qemu-devel] [PATCH v4 2/2] qemu-iotests: Add dependency to qemu-nbd tool

2019-03-07 Thread Philippe Mathieu-Daudé
Since a9660664fde, some iotests use qemu-nbd. Add a dependency to build it before using it. This fixes: $ make check-block GEN qemu-img-cmds.h CC qemu-img.o LINKqemu-img CC qemu-io.o LINKqemu-io CC tests/qemu-iotests/socket_scm_helper.o LINK

[Qemu-devel] [PULL 0/7] Ui 20190307 patches

2019-03-07 Thread Gerd Hoffmann
The following changes since commit 32694e98b8d7a246345448a8f707d2e11d6c65e2: Merge remote-tracking branch 'remotes/ehabkost/tags/machine-next-pull-request' into staging (2019-03-06 18:52:19 +) are available in the Git repository at: git://git.kraxel.org/qemu tags/ui-201

Re: [Qemu-devel] [RFC PATCH v6 1/4] hw/block: better reporting on pflash backing file mismatch

2019-03-07 Thread Alex Bennée
Markus Armbruster writes: > From: Alex Bennée > > It looks like there was going to be code to check we had some sort of > alignment so let's replace it with an actual check. Reject undersized > images with "device needs N bytes, backing file provides only M > bytes". This is a bit more usefu

[Qemu-devel] [PULL 4/7] curses: add option to specify VGA font encoding

2019-03-07 Thread Gerd Hoffmann
From: Samuel Thibault This uses iconv to convert glyphs from the specified VGA font encoding to unicode, and makes use of cchar_t instead of chtype when using ncursesw, which allows to store all wide char as well as the WACS values. The default charset is made CP437 since that is the charset of t

[Qemu-devel] [PATCH 3/9] tcg: Use extract2 in tcg_gen_shifti_i64

2019-03-07 Thread Richard Henderson
Signed-off-by: Richard Henderson --- tcg/tcg-op.c | 47 --- 1 file changed, 24 insertions(+), 23 deletions(-) diff --git a/tcg/tcg-op.c b/tcg/tcg-op.c index deacc63e3b..34e0dbc6e0 100644 --- a/tcg/tcg-op.c +++ b/tcg/tcg-op.c @@ -1355,31 +1355,32 @@ sta

Re: [Qemu-devel] [PATCH 0/3] virtio-gpu: fix reset.

2019-03-07 Thread Michael S. Tsirkin
On Thu, Mar 07, 2019 at 09:02:41AM +0100, Gerd Hoffmann wrote: > > > Gerd Hoffmann (3): > virtio: add class_size to VirtioPCIDeviceTypeInfo > virtio-vga: fix reset. > virtio-gpu: make virtio_gpu_reset static Reviewed-by: Michael S. Tsirkin Feel free to merge. > hw/virtio/virtio-pci.h

Re: [Qemu-devel] [PATCH v2 0/4] iotests: check whitelisted formats

2019-03-07 Thread Kevin Wolf
Am 07.03.2019 um 14:33 hat Andrey Shinkevich geschrieben: > Some test cases require specific formats to be supported by QEMU. The > list of formats supported by the block layer doesn't take whitelists > into account. This series manages this issue. The method decorator > skip_if_unsupported() check

Re: [Qemu-devel] [PATCH v5 1/2] Add generic Nios II board.

2019-03-07 Thread Peter Maydell
On Wed, 13 Feb 2019 at 04:04, Sandra Loosemore wrote: > > This patch adds support for a generic MMU-less Nios II board that can > be used e.g. for bare-metal compiler testing. Nios II booting is also > tweaked so that bare-metal binaries start executing in RAM starting at > 0x, rather tha

Re: [Qemu-devel] [multiprocess RFC PATCH 36/37] multi-process: add the concept description to docs/devel/qemu-multiprocess

2019-03-07 Thread Konrad Rzeszutek Wilk
On Thu, Mar 07, 2019 at 03:21:47PM +0100, Thomas Huth wrote: > On 07/03/2019 15.16, Kevin Wolf wrote: > > Am 07.03.2019 um 09:14 hat Thomas Huth geschrieben: > >> On 07/03/2019 08.22, elena.ufimts...@oracle.com wrote: > >>> From: Elena Ufimtseva > >>> > >>> TODO: Make relevant changes to the doc.

[Qemu-devel] [PULL 1/7] Reduce curses escdelay from 1s to 25ms

2019-03-07 Thread Gerd Hoffmann
From: Samuel Thibault By default, curses will only report single ESC key event after 1s delay, since ESC is also used for keypad escape sequences. This however makes users believe that ESC is not working. Reducing to 25ms provides good user experience, while still allowing 25ms for keypad sequenc

[Qemu-devel] [PATCH v4 1/2] ahci-test: Add dependency to qemu-img tool

2019-03-07 Thread Philippe Mathieu-Daudé
Since the ahci-test uses qemu-img, add a dependency to build it before using it. This fixes: $ gmake check-qtest V=1 QTEST_QEMU_BINARY=x86_64-softmmu/qemu-system-x86_64 QTEST_QEMU_IMG=qemu-img tests/ahci-test Failed to execute child process "/tmp/qemu-test.19tMRF/qemu-img" (No such file or

Re: [Qemu-devel] [PATCH v3 2/2] configure: Disable W^X on OpenBSD

2019-03-07 Thread Thomas Huth
On 07/03/2019 15.28, Philippe Mathieu-Daudé wrote: > Since OpenBSD 6.0 [1], W^X is enforced by default [2]. > TCG requires WX access. Disable W^X if it is available. > This fixes: > > # lm32-softmmu/qemu-system-lm32 > Could not allocate dynamic translator buffer > > # sysctl kern.wxabort=1

Re: [Qemu-devel] [PATCH v3 27/32] s390x/tcg: Provide probe_write_access helper

2019-03-07 Thread Cornelia Huck
On Thu, 7 Mar 2019 15:34:27 +0100 David Hildenbrand wrote: > On 07.03.19 15:10, Richard Henderson wrote: > > On 3/7/19 4:15 AM, David Hildenbrand wrote: > >> +void probe_write_access(CPUS390XState *env, uint64_t addr, uint64_t len, > >> +uintptr_t ra) > >> +{ > >> +#ifde

[Qemu-devel] [PATCH v4 0/2] qemu-iotests: Add dependency to qemu-block tools

2019-03-07 Thread Philippe Mathieu-Daudé
Hi Kevin, Max, John. Two trivial fixes I encountered while trying to run QEMU test suite on a distribution which doesn't has the qemu-tools distrib-wide installed, see https://lists.gnu.org/archive/html/qemu-devel/2018-06/msg08415.html: $ make vm-build-ubuntu.i386 Traceback (most recent call

Re: [Qemu-devel] [PATCH v3 12/16] s390-bios: Refactor virtio to run channel programs via cio

2019-03-07 Thread Jason J. Herne
On 3/5/19 7:30 AM, Cornelia Huck wrote: On Fri, 1 Mar 2019 13:59:32 -0500 "Jason J. Herne" wrote: Now that we have a Channel I/O library let's modify virtio boot code to make use of it for running channel programs. Signed-off-by: Jason J. Herne --- pc-bios/s390-ccw/virtio.c | 49 +

Re: [Qemu-devel] [RFC PATCH v6 2/4] hw/block: Pad undersized read-only images with 0xFF

2019-03-07 Thread Kevin Wolf
Am 07.03.2019 um 11:05 hat Markus Armbruster geschrieben: > Markus Armbruster writes: > > > From: Alex Bennée > > > > We reject undersized images. As of the previous commit, even with a > > decent error message. Still, this is a potentially confusing > > stumbling block when you move from usin

Re: [Qemu-devel] [qemu-s390x] [PATCH v3 16/16] s390-bios: dasd-ipl: Use control unit type to customize error data

2019-03-07 Thread Jason J. Herne
On 3/4/19 12:02 PM, Eric Farman wrote: On 03/01/2019 01:59 PM, Jason J. Herne wrote: Propagate control unit type from main through the dasd ipl call chain. The control unit type can be used to determine if we are attempting to boot from a real dasd device. If something goes wrong we'll want to

Re: [Qemu-devel] [PATCH v4 00/29] Kconfig dependencies for ARM machines

2019-03-07 Thread no-reply
Patchew URL: https://patchew.org/QEMU/1551968334-18982-1-git-send-email-th...@redhat.com/ Hi, This series seems to have some coding style problems. See output below for more information: Type: series Message-id: 1551968334-18982-1-git-send-email-th...@redhat.com Subject: [Qemu-devel] [PATCH v

<    1   2   3   4   5   6   7   >