[PATCH v4 3/4] net/slirp.c: Refactor address parsing

2021-02-18 Thread Doug Evans via
... in preparation for adding ipv6 host forwarding support. New test: avocado run tests/acceptance/hostfwd.py Signed-off-by: Doug Evans --- Changes from v3: - this patch renamed from 2/3 to 3/4 - call inet_parse_host_and_port from util/qemu-sockets.c - added tests/acceptance/hostfwd.py Changes

[PATCH v4 1/4] slirp: Advance libslirp submodule to add ipv6 host-forward support

2021-02-18 Thread Doug Evans via
Signed-off-by: Doug Evans --- Changes from v3: - pick up latest libslirp patch to reject ipv6 addr-any for guest address - libslirp currently only provides a stateless DHCPv6 server, which means it can't know in advance what the guest's IP address is, and thus cannot do the "addr-any ->

[PATCH v4 0/4] Add support for ipv6 host forwarding

2021-02-18 Thread Doug Evans via
This patchset takes the original patch from Maxim, https://www.mail-archive.com/qemu-devel@nongnu.org/msg569573.html and updates it. Option hostfwd is extended to support ipv6 addresses. Commands hostfwd_add, hostfwd_remove are extended as well. The libslirp part of the patch has been committed u

[PATCH 5/5] do not apply: Revert "nbd-client: Work around server BLOCK_STATUS misalignment at EOF"

2021-02-18 Thread Eric Blake
This reverts commit 737d3f524481bb2ef68d3eba1caa636ff143e16a. This is intended only for testing purposes: if you apply this without the rest of the series, iotest 241 no longer benefits from the client side working around server non-compliance. --- block/nbd.c | 30 --

Re: [PATCH v2] Correct CRIS TCG register lifetime management

2021-02-18 Thread Philippe Mathieu-Daudé
On 2/18/21 9:10 PM, Stefan Sandström wrote: >> On 18 Feb 2021, at 20:59, Philippe Mathieu-Daudé wrote: >> >> Hi Stefan, >> >>> On 2/18/21 7:43 PM, Stefan Sandström wrote: >>> From: Stefan Sandstrom >>> >>> Add and fix deallocation of temporary TCG registers in CRIS code >>> generation. >> >> Wha

[PATCH v4 4/4] net: Extend host forwarding to support IPv6

2021-02-18 Thread Doug Evans via
Net option "-hostfwd" now supports IPv6 addresses. Commands hostfwd_add, hostfwd_remove now support IPv6 addresses. Signed-off-by: Doug Evans --- Differences from v3: - this patch renamed from 3/3 to 4/4 - ipv6 support added to existing hostfwd option, commands - instead of creating new ipv6 o

Re: [PATCH v3 0/3]

2021-02-18 Thread Doug Evans
On Thu, Feb 11, 2021 at 1:12 AM Daniel P. Berrangé wrote: > [...] > > I think the key useful part to keep common impl for is the handling > of the [] brackets for IPv6 raw addrs. I'd suggest we try to pull the > "address:port" part out into a new inet_addr_parse() helper that can be > called from

Re: [PATCH 0/5] Obey NBD spec regarding block size bounds on reply

2021-02-18 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20210218201528.127099-1-ebl...@redhat.com/ Hi, This series seems to have some coding style problems. See output below for more information: Type: series Message-id: 20210218201528.127099-1-ebl...@redhat.com Subject: [PATCH 0/5] Obey NBD spec regarding bloc

Re: [PATCH v2 2/6] hw/sd: sdhci: Don't write to SDHC_SYSAD register when transfer is in progress

2021-02-18 Thread Philippe Mathieu-Daudé
On 2/18/21 7:23 PM, Philippe Mathieu-Daudé wrote: > On 2/16/21 4:46 AM, Bin Meng wrote: >> Per "SD Host Controller Standard Specification Version 7.00" >> chapter 2.2.1 SDMA System Address Register: >> >> This register can be accessed only if no transaction is executing >> (i.e., after a transactio

Re: [PATCH v4 0/4] Add support for ipv6 host forwarding

2021-02-18 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20210218201538.701509-1-...@google.com/ Hi, This series seems to have some coding style problems. See output below for more information: Type: series Message-id: 20210218201538.701509-1-...@google.com Subject: [PATCH v4 0/4] Add support for ipv6 host forwa

Re: [PATCH 0/5] Obey NBD spec regarding block size bounds on reply

2021-02-18 Thread Eric Blake
On 2/18/21 2:33 PM, no-re...@patchew.org wrote: > Patchew URL: > https://patchew.org/QEMU/20210218201528.127099-1-ebl...@redhat.com/ > > > > Hi, > > This series seems to have some coding style problems. See output below for > more information: > > 5/5 Checking commit 7be641fea748 (do not app

[PATCH] s390x/pci: restore missing Query PCI Function CLP data

2021-02-18 Thread Matthew Rosato
Some CLP response data was accidentally dropped when fixing endianness issues with the Query PCI Function CLP response. All of these values are sent as 0s to the guest for emulated devices, so the impact is only observed on passthrough devices. Fixes: a4e2fff1b104 ("s390x/pci: fix endianness issu

[RFC PATCH 1/5] fuzz: add a script to build reproducers

2021-02-18 Thread Alexander Bulekov
Currently, bash and C crash reproducers are be built manually. This is a problem, as we want to integrate reproducers into the tree, for regression testing. This patch adds a script that converts a sequence of QTest commands into a pasteable Bash reproducer, or a libqtest-based C program. This will

[RFC PATCH 3/5] tests: add a sdhci reproducer

2021-02-18 Thread Alexander Bulekov
This patch serves as an example of a file generated with the ./scripts/oss-fuzz/output_reproducer.py script: The source file in this patch was generated like this: $ wget https://paste.debian.net/plain/118513 -O /tmp/trace $ export QEMU_ARGS="-nographic -machine accel=qtest -m 512M \ -nodefaults -

[RFC PATCH 4/5] tests: add another sdhci reproducer

2021-02-18 Thread Alexander Bulekov
This patch serves as an example of a file generated with the ./scripts/oss-fuzz/output_reproducer.py script: The source file in this patch was generated like this: $ wget https://paste.debian.net/plain/1185141 -O /tmp/trace $ export QEMU_ARGS="-nographic -machine accel=qtest -m 512M \ -nodefaults

[PATCH v5 1/3] hw/net: Add npcm7xx emc model

2021-02-18 Thread Doug Evans via
This is a 10/100 ethernet device that has several features. Only the ones needed by the Linux driver have been implemented. See npcm7xx_emc.c for a list of unimplemented features. Reviewed-by: Hao Wu Reviewed-by: Avi Fishman Signed-off-by: Doug Evans --- Differences from v4: - no change Diffe

[PATCH v5 3/3] tests/qtests: Add npcm7xx emc model test

2021-02-18 Thread Doug Evans via
Reviewed-by: Hao Wu Reviewed-by: Avi Fishman Reviewed-by: Peter Maydell Signed-off-by: Doug Evans --- Differences from v4: - handle --disable-slirp Differences from v3: - handle big endian hosts, tested on sparc64 Differences from v2: - remove use of C99 mixed decls/statements tests/qtest/

[PATCH v5 2/3] hw/arm: Add npcm7xx emc model

2021-02-18 Thread Doug Evans via
This is a 10/100 ethernet device that has several features. Only the ones needed by the Linux driver have been implemented. See npcm7xx_emc.c for a list of unimplemented features. Reviewed-by: Hao Wu Reviewed-by: Avi Fishman Reviewed-by: Peter Maydell Signed-off-by: Doug Evans --- Differences

[PATCH v5 0/3] Add npcm7xx emc model

2021-02-18 Thread Doug Evans via
This is a 10/100 ethernet device that has several features. Only the ones needed by the Linux driver have been implemented. See npcm7xx_emc.c for a list of unimplemented features. Doug Evans (3): hw/net: Add npcm7xx emc model hw/arm: Add npcm7xx emc model tests/qtests: Add npcm7xx emc model

[RFC PATCH 0/5] fuzz: add a script to help build reproducers

2021-02-18 Thread Alexander Bulekov
Hello, This series adds a script that can be handy for reporting fuzzer bugs and creating regression-tests, based on crash reproducers Patch 1 adds a script that can help create bash and C reproducers for crashes. Patch 2 documents the process of building reproducers. Patches 3-5 are examples of C

[RFC PATCH 2/5] fuzz: add instructions for building reproducers

2021-02-18 Thread Alexander Bulekov
We have several scripts that help build reproducers, but no documentation for how they should be used. Add some documentation Signed-off-by: Alexander Bulekov --- docs/devel/fuzzing.rst | 45 ++ 1 file changed, 45 insertions(+) diff --git a/docs/devel/fuz

Re: [PATCH v4 0/3] Add npcm7xx emc model

2021-02-18 Thread Doug Evans
On Wed, Feb 17, 2021 at 3:01 AM Peter Maydell wrote: > On Tue, 16 Feb 2021 at 14:28, Peter Maydell > wrote: > > > > On Sat, 13 Feb 2021 at 00:25, Doug Evans wrote: > > > > > > This is a 10/100 ethernet device that has several features. > > > Only the ones needed by the Linux driver have been im

Re: [PATCH v4 02/71] tcg: Split out tcg_raise_tb_overflow

2021-02-18 Thread Philippe Mathieu-Daudé
On 2/17/21 9:19 PM, Richard Henderson wrote: > Allow other places in tcg to restart with a smaller tb. > > Signed-off-by: Richard Henderson > --- > tcg/tcg.c | 9 +++-- > 1 file changed, 7 insertions(+), 2 deletions(-) Reviewed-by: Philippe Mathieu-Daudé

Re: [PATCH v4 05/71] tcg/tci: Remove tci_read_r8

2021-02-18 Thread Philippe Mathieu-Daudé
On 2/17/21 9:19 PM, Richard Henderson wrote: > Use explicit casts for ext8u opcodes, and allow truncation > to happen with the store for st8 opcodes. > > Signed-off-by: Richard Henderson > --- > tcg/tci.c | 23 +-- > 1 file changed, 5 insertions(+), 18 deletions(-) > > diff

Re: [PATCH v4 06/71] tcg/tci: Remove tci_read_r8s

2021-02-18 Thread Philippe Mathieu-Daudé
On 2/17/21 9:19 PM, Richard Henderson wrote: > Use explicit casts for ext8s opcodes. > > Signed-off-by: Richard Henderson > --- > tcg/tci.c | 25 - > 1 file changed, 4 insertions(+), 21 deletions(-) Reviewed-by: Philippe Mathieu-Daudé

Re: [PATCH v4 08/71] tcg/tci: Remove tci_read_r16s

2021-02-18 Thread Philippe Mathieu-Daudé
On 2/17/21 9:19 PM, Richard Henderson wrote: > Use explicit casts for ext16s opcodes. > > Signed-off-by: Richard Henderson > --- > tcg/tci.c | 26 -- > 1 file changed, 4 insertions(+), 22 deletions(-) Reviewed-by: Philippe Mathieu-Daudé

Re: [PATCH v4 12/71] tcg/tci: Merge basic arithmetic operations

2021-02-18 Thread Philippe Mathieu-Daudé
On 2/17/21 9:19 PM, Richard Henderson wrote: > This includes add, sub, mul, and, or, xor. > > Signed-off-by: Richard Henderson > --- > tcg/tci.c | 83 +-- > 1 file changed, 25 insertions(+), 58 deletions(-) Reviewed-by: Philippe Mathieu-Daudé

Re: [PATCH v4 10/71] tcg/tci: Remove tci_read_r32s

2021-02-18 Thread Philippe Mathieu-Daudé
On 2/17/21 9:19 PM, Richard Henderson wrote: > Use explicit casts for ext32s opcodes. > > Signed-off-by: Richard Henderson > --- > tcg/tci.c | 20 ++-- > 1 file changed, 2 insertions(+), 18 deletions(-) Reviewed-by: Philippe Mathieu-Daudé

Re: [PATCH v4 15/71] tcg/tci: Merge bswap operations

2021-02-18 Thread Philippe Mathieu-Daudé
On 2/17/21 9:19 PM, Richard Henderson wrote: > This includes bswap16 and bswap32. > > Signed-off-by: Richard Henderson > --- > tcg/tci.c | 22 -- > 1 file changed, 4 insertions(+), 18 deletions(-) Reviewed-by: Philippe Mathieu-Daudé

Re: [PATCH v4 16/71] tcg/tci: Merge mov, not and neg operations

2021-02-18 Thread Philippe Mathieu-Daudé
On 2/17/21 9:19 PM, Richard Henderson wrote: > Signed-off-by: Richard Henderson > --- > tcg/tci.c | 29 + > 1 file changed, 5 insertions(+), 24 deletions(-) Reviewed-by: Philippe Mathieu-Daudé

How to get a wiki account?

2021-02-18 Thread Taylor Simpson
How do I get a wiki account for wiki.qemu.org? Going forward, I'd like to be able to add information about the Hexagon target. Thanks, Taylor

Re: [PATCH v4 13/71] tcg/tci: Merge extension operations

2021-02-18 Thread Philippe Mathieu-Daudé
On 2/17/21 9:19 PM, Richard Henderson wrote: > This includes ext8s, ext8u, ext16s, ext16u. > > Signed-off-by: Richard Henderson > --- > tcg/tci.c | 44 > 1 file changed, 8 insertions(+), 36 deletions(-) Reviewed-by: Philippe Mathieu-Daudé

[PULL 0/3] Machine and x86 queue, 2021-02-18

2021-02-18 Thread Eduardo Habkost
Merge remote-tracking branch 'remotes/rth-gitlab/tags/pull-hex-20210218' into staging (2021-02-18 16:33:36 +) are available in the Git repository at: https://gitlab.com/ehabkost/qemu.git tags/machine-next-pull-request for you to fetch changes up to bf475162d70a16a6cef478272aa

[PULL 1/3] i386: Add the support for AMD EPYC 3rd generation processors

2021-02-18 Thread Eduardo Habkost
From: Babu Moger Adds the support for AMD 3rd generation processors. The model display for the new processor will be EPYC-Milan. Adds the following new feature bits on top of the feature bits from the first and second generation EPYC models. pcid: Process context identifiers support ibrs

[PULL 3/3] hostmem: Don't report pmem attribute if unsupported

2021-02-18 Thread Eduardo Habkost
From: Michal Privoznik When management applications (like Libvirt) want to check whether memory-backend-file.pmem is supported they can list object properties using 'qom-list-properties'. However, 'pmem' is declared always (and thus reported always) and only at runtime QEMU errors out if it was b

[PULL 2/3] device-crash-test: Remove problematic language

2021-02-18 Thread Eduardo Habkost
Replace "whitelist" in the device-crash-test script with "rule list". I'm using "rule list" instead of "allow list" or "pass list" because the list is not used only for expected/allowed errors. It also contain rules specifying which errors shouldn't be ignored and/or should be fatal. Signed-off-b

Re: [PATCH v4 04/71] tcg/tci: Merge identical cases in generation

2021-02-18 Thread Philippe Mathieu-Daudé
On 2/17/21 9:19 PM, Richard Henderson wrote: > Use CASE_32_64 and CASE_64 to reduce ifdefs and merge > cases that are identical between 32-bit and 64-bit hosts. > > Signed-off-by: Richard Henderson > --- > tcg/tci/tcg-target.c.inc | 204 ++- > 1 file changed,

[PATCH 2/5] tcg/tci: Merge identical cases in generation (exchange opcodes)

2021-02-18 Thread Philippe Mathieu-Daudé
From: Richard Henderson Use CASE_32_64 and CASE_64 to reduce ifdefs and merge cases that are identical between 32-bit and 64-bit hosts. Signed-off-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20210217202036.1724901-5-richard.hender...@linaro.org> [PMD: Split patch as

[PATCH 5/5] tcg/tci: Merge identical cases in generation (load/store opcodes)

2021-02-18 Thread Philippe Mathieu-Daudé
From: Richard Henderson Use CASE_32_64 and CASE_64 to reduce ifdefs and merge cases that are identical between 32-bit and 64-bit hosts. Signed-off-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20210217202036.1724901-5-richard.hender...@linaro.org> [PMD: Split patch as

[PATCH 3/5] tcg/tci: Merge identical cases in generation (deposit opcode)

2021-02-18 Thread Philippe Mathieu-Daudé
From: Richard Henderson Use CASE_32_64 and CASE_64 to reduce ifdefs and merge cases that are identical between 32-bit and 64-bit hosts. Signed-off-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20210217202036.1724901-5-richard.hender...@linaro.org> [PMD: Split patch as

[PATCH 0/5] tcg/tci: Merge identical cases in generation

2021-02-18 Thread Philippe Mathieu-Daudé
Hi Richard, This is your patch (#4/71 of v4 [*]) split in 5 parts for easier review. Please consider using this series instead of your original patch. Regards, Phil. [*] https://www.mail-archive.com/qemu-devel@nongnu.org/msg783450.html Richard Henderson (5): tcg/tci: Merge identical cases in

[PATCH 1/5] tcg/tci: Merge identical cases in generation (arithmetic opcodes)

2021-02-18 Thread Philippe Mathieu-Daudé
From: Richard Henderson Use CASE_32_64 and CASE_64 to reduce ifdefs and merge cases that are identical between 32-bit and 64-bit hosts. Signed-off-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20210217202036.1724901-5-richard.hender...@linaro.org> [PMD: Split patch as

Re: [PATCH v4 05/71] tcg/tci: Remove tci_read_r8

2021-02-18 Thread Richard Henderson
On 2/18/21 3:11 PM, Philippe Mathieu-Daudé wrote: >> @@ -533,7 +520,7 @@ uintptr_t QEMU_DISABLE_CFI tcg_qemu_tb_exec(CPUArchState >> *env, >> tci_write_reg(regs, t0, *(uint32_t *)(t1 + t2)); >> break; >> CASE_32_64(st8) >> -t0 = tci_read_r8(regs, &tb_

[PATCH 4/5] tcg/tci: Merge identical cases in generation (conditional opcodes)

2021-02-18 Thread Philippe Mathieu-Daudé
From: Richard Henderson Use CASE_32_64 and CASE_64 to reduce ifdefs and merge cases that are identical between 32-bit and 64-bit hosts. Signed-off-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20210217202036.1724901-5-richard.hender...@linaro.org> [PMD: Split patch as

Re: [PATCH] hw/ppc: e500: Add missing #address-cells and #size-cells in the eTSEC node

2021-02-18 Thread David Gibson
On Thu, Feb 18, 2021 at 10:58:39PM +0800, Bin Meng wrote: > From: Bin Meng > > Per devicetree spec v0.3 [1] chapter 2.3.5: > > The #address-cells and #size-cells properties are not inherited > from ancestors in the devicetree. They shall be explicitly defined. > If missing, a client program shou

Re: [PATCH v2 1/6] hw/sd: sdhci: Don't transfer any data when command time out

2021-02-18 Thread Bin Meng
Hi Philippe, On Fri, Feb 19, 2021 at 12:25 AM Philippe Mathieu-Daudé wrote: > > On 2/16/21 4:46 AM, Bin Meng wrote: > > At the end of sdhci_send_command(), it starts a data transfer if the > > command register indicates data is associated. But the data transfer > > should only be initiated when t

Re: [PULL 0/3] Machine and x86 queue, 2021-02-18

2021-02-18 Thread Eduardo Habkost
; stale. > > The following changes since commit c79f01c9450bcf90c08a77f13fbf67bdba59a316: > > Merge remote-tracking branch 'remotes/rth-gitlab/tags/pull-hex-20210218' > into staging (2021-02-18 16:33:36 +) > > are available in the Git repository at: > &g

Re: How to get a wiki account?

2021-02-18 Thread Philippe Mathieu-Daudé
On 2/19/21 12:23 AM, Taylor Simpson wrote: > How do I get a wiki account for wiki.qemu.org?  Going forward, I’d like > to be able to add information about the Hexagon target. As any user with access to the wiki can create user accounts, I created yours and will send you your information off-list.

Re: [PATCH v4 05/71] tcg/tci: Remove tci_read_r8

2021-02-18 Thread Philippe Mathieu-Daudé
On 2/19/21 12:33 AM, Richard Henderson wrote: > On 2/18/21 3:11 PM, Philippe Mathieu-Daudé wrote: >>> @@ -533,7 +520,7 @@ uintptr_t QEMU_DISABLE_CFI >>> tcg_qemu_tb_exec(CPUArchState *env, >>> tci_write_reg(regs, t0, *(uint32_t *)(t1 + t2)); >>> break; >>> CASE_3

Re: [PATCH v4 07/71] tcg/tci: Remove tci_read_r16

2021-02-18 Thread Philippe Mathieu-Daudé
On 2/17/21 9:19 PM, Richard Henderson wrote: > Use explicit casts for ext16u opcodes, and allow truncation > to happen with the store for st16 opcodes, and with the call > for bswap16 opcodes. > > Signed-off-by: Richard Henderson > --- > tcg/tci.c | 28 +++- > 1 file chan

Re: [PATCH v4 11/71] tcg/tci: Reduce use of tci_read_r64

2021-02-18 Thread Philippe Mathieu-Daudé
On 2/17/21 9:19 PM, Richard Henderson wrote: > In all cases restricted to 64-bit hosts, tcg_read_r is > identical. We retain the 64-bit symbol for the single > case of INDEX_op_qemu_st_i64. > > Signed-off-by: Richard Henderson > --- > tcg/tci.c | 93 +

Re: [PATCH v4 09/71] tcg/tci: Remove tci_read_r32

2021-02-18 Thread Philippe Mathieu-Daudé
On 2/17/21 9:19 PM, Richard Henderson wrote: > Use explicit casts for ext32u opcodes, and allow truncation > to happen for other users. > > Signed-off-by: Richard Henderson > --- > tcg/tci.c | 122 -- > 1 file changed, 54 insertions(+), 68 dele

RE: hexagon sysemu - library loading path feature

2021-02-18 Thread Brian Cain
> -Original Message- > From: Alex Bennée > Sent: Tuesday, February 16, 2021 5:18 AM > To: Philippe Mathieu-Daudé > Cc: Brian Cain ; qemu-devel@nongnu.org; Michael > Lambert ; Sid Manning ; > Laurent Vivier > Subject: [EXT] Re: hexagon sysemu - library loading path feature > > > Philippe

Re: [RFC PATCH v2 1/2] Basic PCIe DOE support

2021-02-18 Thread Chris Browy
> On Feb 18, 2021, at 2:11 PM, Jonathan Cameron > wrote: > > On Fri, 12 Feb 2021 16:58:21 -0500 > Chris Browy wrote: > >>> On Feb 12, 2021, at 11:24 AM, Jonathan Cameron >>> wrote: >>> >>> On Tue, 9 Feb 2021 15:35:49 -0500 >>> Chris Browy wrote: >>> >>> Run ./scripts/checkpatch.pl over

Re: [RFC v2 2/2] Basic CXL DOE for CDAT and Compliance Mode

2021-02-18 Thread Chris Browy
> On Feb 18, 2021, at 2:15 PM, Jonathan Cameron > wrote: > > On Fri, 12 Feb 2021 17:26:50 -0500 > Chris Browy wrote: > >>> On Feb 12, 2021, at 12:23 PM, Jonathan Cameron >>> wrote: >>> >>> On Tue, 9 Feb 2021 15:36:03 -0500 >>> Chris Browy wrote: >>> >>> Split this into two patches for

Re: [PATCH v2 00/38] ppc: qemu: Convert qemu-ppce500 to driver model and enable additional driver support

2021-02-18 Thread Bin Meng
On Thu, Feb 18, 2021 at 11:58 PM Bin Meng wrote: > > At present when building qemu-ppce500 the following warnings are seen: > > = WARNING == > This board does not use CONFIG_DM. CONFIG_DM will be > compulsory starting with the v2020.01 release. > Failure to

Re: [PATCH] net: eepro100: validate various address values

2021-02-18 Thread Alexander Bulekov
On 210218 1441, Peter Maydell wrote: > On Thu, 18 Feb 2021 at 14:13, P J P wrote: > > > > From: Prasad J Pandit > > > > While processing controller commands, eepro100 emulator gets > > command unit(CU) base address OR receive unit (RU) base address > > OR command block (CB) address from guest. If

Re: [PATCH] net: eepro100: validate various address values

2021-02-18 Thread Li Qiang
Alexander Bulekov 于2021年2月19日周五 上午9:56写道: > > On 210218 1441, Peter Maydell wrote: > > On Thu, 18 Feb 2021 at 14:13, P J P wrote: > > > > > > From: Prasad J Pandit > > > > > > While processing controller commands, eepro100 emulator gets > > > command unit(CU) base address OR receive unit (RU) ba

Re: [PATCH] net: eepro100: validate various address values

2021-02-18 Thread Alexander Bulekov
On 210219 1006, Li Qiang wrote: > Alexander Bulekov 于2021年2月19日周五 上午9:56写道: > > > > On 210218 1441, Peter Maydell wrote: > > > On Thu, 18 Feb 2021 at 14:13, P J P wrote: > > > > > > > > From: Prasad J Pandit > > > > > > > > While processing controller commands, eepro100 emulator gets > > > > com

Re: [PATCH 1/1] hw/s390x: modularize virtio-gpu-ccw

2021-02-18 Thread Halil Pasic
On Thu, 18 Feb 2021 14:38:20 +0100 Gerd Hoffmann wrote: > > > The explanation is simple. Unlike most devices, the ccw devices aren't > > > portable. In particular both css.c and css.h includes "cpu.h", and > > > virtio-ccw-gpu.c includes "qemu/osdep.h". Furthermore osdep.h contains: > > > #ifdef

Re: [PATCH] net: e1000: check transmit descriptor field values

2021-02-18 Thread Jason Wang
On 2021/2/18 3:47 下午, P J P wrote: Hello Jason, +-- On Thu, 18 Feb 2021, Jason Wang wrote --+ | On 2021/2/10 下午10:52, P J P wrote: | > From: Prasad J Pandit | > | > While processing transmit (tx) descriptors in process_tx_desc() | > various descriptor fields are not checked properly. This

Re: [PATCH] net: e1000: check transmit descriptor field values

2021-02-18 Thread Alexander Bulekov
On 210210 2022, P J P wrote: > From: Prasad J Pandit > > While processing transmit (tx) descriptors in process_tx_desc() > various descriptor fields are not checked properly. This may lead > to infinite loop like issue. Add checks to avoid them. > +CC Peter Maydell Is this a DMA re-entracy/sta

[PULL SUBSYSTEM qemu-pseries] pseries: Update SLOF firmware image

2021-02-18 Thread Alexey Kardashevskiy
The following changes since commit ef450767d7d162dec67ec4674f85f9044a3d80cc: spapr_drc.c: do not call spapr_drc_detach() in drc_isolate_logical() (2021-02-17 11:50:21 +1100) are available in the Git repository at: g...@github.com:aik/qemu.git tags/qemu-slof-20210217 for you to fetch change

Re: [PATCH] net: eepro100: validate various address values

2021-02-18 Thread Li Qiang
Alexander Bulekov 于2021年2月19日周五 上午10:15写道: > > On 210219 1006, Li Qiang wrote: > > Alexander Bulekov 于2021年2月19日周五 上午9:56写道: > > > > > > On 210218 1441, Peter Maydell wrote: > > > > On Thu, 18 Feb 2021 at 14:13, P J P wrote: > > > > > > > > > > From: Prasad J Pandit > > > > > > > > > > While pr

Re: [PATCH RESEND] hw/net: fsl_etsec: Do not reject short frames

2021-02-18 Thread Bin Meng
On Tue, Feb 9, 2021 at 8:06 AM Bin Meng wrote: > > Cc'ing libSLiRP I am not sure whether my reply arrived to libSLiRP as I did not subscribe to that list ... > > Hi Peter, > > On Tue, Feb 9, 2021 at 12:09 AM Peter Maydell > wrote: > > > > On Mon, 8 Feb 2021 at 14:53, Bin Meng wrote: > > > > >

[Bug 1916112] [NEW] Illegal instruction crash of QEMU on Jetson Nano

2021-02-18 Thread Ravishankar
Public bug reported: I have a jetson nano (arm64 SBC) and I want to check the native emulation performance of Raspbian Buster. I used the info available here: https://github.com/dhruvvyas90/qemu-rpi-kernel/tree/master/native- emuation I have Xubuntut 20.04 with KVM enabled kernel running on the

Re: [PATCH] net: eepro100: validate various address values

2021-02-18 Thread P J P
Hello Alex, Stefan, all +-- On Thu, 18 Feb 2021, Alexander Bulekov wrote --+ | Maybe the infinite loop mentioned in the commit message is actually a DMA | recursion issue? I'm providing a reproducer for a DMA re-entracy issue | below. With this patch applied, the reproducer triggers the assert

Re: [PATCH 1/1] css: SCHIB measurement block origin must be aligned

2021-02-18 Thread Thomas Huth
On 18/02/2021 18.40, Pierre Morel wrote: The Measurement Block Origin inside the SCHIB is used when Mesurement Block format 1 is in used and must be aligned on 128bits. 128 bits = 16 bytes ... Signed-off-by: Pierre Morel --- target/s390x/ioinst.c | 6 ++ 1 file changed, 6 insertions(+

[Bug 1862619] Re: "-serial telnet::xxxx, server" causes "Device 'serial0' is in use"

2021-02-18 Thread Thierry Briot
I'm now using qemu-system-hppa version 5.2.50, and I can put "-serial mon: stdio" before or after "-serial telnet :: 4441, server" without a problem. #qemu-system-hppa --version QEMU emulator version 5.2.50 (v5.2.0-1300-g0e32462630) Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project deve

Re: [PATCH v13 0/5] UFFD write-tracking migration/snapshots

2021-02-18 Thread Andrey Gruzdev
On 17.02.2021 02:35, Peter Xu wrote: Hi, Andrey, On Sat, Feb 13, 2021 at 12:34:07PM +0300, Andrey Gruzdev wrote: On 12.02.2021 19:11, Peter Xu wrote: On Fri, Feb 12, 2021 at 09:52:52AM +0100, David Hildenbrand wrote: On 12.02.21 04:06, Peter Xu wrote: On Thu, Feb 11, 2021 at 10:09:58PM +0100

Re: [PATCH v13 0/5] UFFD write-tracking migration/snapshots

2021-02-18 Thread David Hildenbrand
On 19.02.21 07:57, Andrey Gruzdev wrote: On 17.02.2021 02:35, Peter Xu wrote: Hi, Andrey, On Sat, Feb 13, 2021 at 12:34:07PM +0300, Andrey Gruzdev wrote: On 12.02.2021 19:11, Peter Xu wrote: On Fri, Feb 12, 2021 at 09:52:52AM +0100, David Hildenbrand wrote: On 12.02.21 04:06, Peter Xu wrote:

[PULL 01/10] tests/qtest/boot-serial-test: Test Virt machine with 'max'

2021-02-18 Thread Thomas Huth
From: Philippe Mathieu-Daudé When using KVM, using a specific cpu type will only work if the host CPU really is that exact CPU type. During testing we can simply use the 'max' CPU which will select all the features available from the host. This allow running this test on a Cavium CN8890 (Thunde

[PULL 02/10] gitlab: always build container images

2021-02-18 Thread Thomas Huth
From: Daniel P. Berrangé Currently we attempt to skip building container images if the commits do not involve changes to the dockerfiles or gitlab CI definitions. Conceptually this makes sense, but there is a challenge in the real world implementation of this in gitlab. In the case of a CI pipe

[PULL 00/10] gitlab and qtest patches

2021-02-18 Thread Thomas Huth
Hi Peter! The following changes since commit c79f01c9450bcf90c08a77f13fbf67bdba59a316: Merge remote-tracking branch 'remotes/rth-gitlab/tags/pull-hex-20210218' into staging (2021-02-18 16:33:36 +) are available in the Git repository at: https://gitlab.com/huth/qemu.git

<    1   2   3