[PATCH 1/5] target/arm/tcg: Indirect addressing for coprocessor register storage

2022-04-10 Thread Gavin Shan
Currently, there is an array used as the storage for the coprocessor registers. Each element in the array occupies for 8 bytes. It means we have the assumption that the size of coprocessor can't exceed 8 bytes. The storage mechanism is used by KVM either. Unfortunately, the assumption is conflictin

Re: [RFC PATCH for-7.1] Remove the slirp submodule (and only compile with an external libslirp)

2022-04-10 Thread Thomas Huth
On 11/04/2022 01.50, Brad Smith wrote: On 4/10/2022 5:06 AM, Peter Maydell wrote: On Sun, 10 Apr 2022 at 05:51, Brad Smith wrote: On 4/8/2022 12:47 PM, Thomas Huth wrote: QEMU 7.1 won't support Ubuntu 18.04 anymore, so the last big important distro that did not have a pre-packaged libslirp ha

Re: [PATCH v5 0/4] hw/arm/virt: Fix CPU's default NUMA node ID

2022-04-10 Thread Gavin Shan
Hi Igor and Yanan, On 4/3/22 10:59 PM, Gavin Shan wrote: When the CPU-to-NUMA association isn't provided by user, the default NUMA node ID for the specific CPU is returned from virt_get_default_cpu_node_id(). Unfortunately, the default NUMA node ID breaks socket boundary and leads to the broken

Re: [PATCH v1] hw/ppc: change indentation to spaces from TABs

2022-04-10 Thread Bin Meng
On Mon, Apr 11, 2022 at 2:45 PM Thomas Huth wrote: > > On 08/04/2022 21.19, Daniel Henrique Barboza wrote: > > > > > > On 4/6/22 07:08, Bin Meng wrote: > >> On Tue, Apr 5, 2022 at 10:36 PM Guo Zhi wrote: > >>> > >>> There are still some files in the QEMU PPC code base that use TABs for > >>> inde

Re: [PATCH v1] hw/ppc: change indentation to spaces from TABs

2022-04-10 Thread Thomas Huth
On 08/04/2022 21.19, Daniel Henrique Barboza wrote: On 4/6/22 07:08, Bin Meng wrote: On Tue, Apr 5, 2022 at 10:36 PM Guo Zhi wrote: There are still some files in the QEMU PPC code base that use TABs for indentation instead of using  spaces. The TABs should be replaced so that we have a co

Re: [PATCH v9 12/14] target/riscv: rvk: add CSR support for Zkr

2022-04-10 Thread Weiwei Li
Hi, any comments on this patch or patchset? Currently, read-only instruction to access Seed CSR is checked as a special case in helper_csrr as suggested in https://lists.nongnu.org/archive/html/qemu-riscv/2022-03/msg00146.html. (The new version for that patch is in https://lists.nongnu.org/a

Re: [PATCH v5 0/9] Add support for AST1030 SoC

2022-04-10 Thread Jamin Lin
The 04/05/2022 16:12, Cédric Le Goater wrote: Hi Cedric, > Hello Jamin, > > On 4/1/22 10:38, Jamin Lin wrote: > > Changes from v5: > > - remove TYPE_ASPEED_MINIBMC_MACHINE and ASPEED_MINIBMC_MACHINE > > - remove ast1030_machine_instance_init function > > > > Changes from v4: > > - drop the ASPEED

Re: [PATCH v5 0/9] Add support for AST1030 SoC

2022-04-10 Thread Jamin Lin
The 04/01/2022 13:25, Cédric Le Goater wrote: Hi Cedric, > Hello Jamin, > > On 4/1/22 11:23, Jamin Lin wrote: > > Hi Cedric, Joel and Andrew > > First all, thanks for all your kindly support and review. We are so > > glad that QEMU v7.1 will support AST1030 model. > > QEMU 7.1 is for after the su

Re: [RFC PATCH for-7.1] Remove the slirp submodule (and only compile with an external libslirp)

2022-04-10 Thread Brad Smith
On 4/10/2022 5:06 AM, Peter Maydell wrote: On Sun, 10 Apr 2022 at 05:51, Brad Smith wrote: On 4/8/2022 12:47 PM, Thomas Huth wrote: QEMU 7.1 won't support Ubuntu 18.04 anymore, so the last big important distro that did not have a pre-packaged libslirp has been dismissed. All other major distro

Re: Procedures adding new CPUs in sbsa-ref

2022-04-10 Thread Itaru Kitayama
Good point; however per the SBSA specification, DEN0029F, there's the PE architecture requirement at each level from 1 to 7, so now I am wondering whether supporting cortex-a57 and a72 are good enough to set up a fully SBSA level 7 compliant "board" in QMEU. Also, the 'max' is there, but does not b

[PATCH] hw/crypto: add Allwinner sun4i-ss crypto device

2022-04-10 Thread Corentin Labbe
From: Corentin LABBE The Allwinner A10 has a cryptographic offloader device which could be easily emulated. The emulated device is tested with Linux only as any of BSD does not support it. Signed-off-by: Corentin LABBE --- MAINTAINERS| 8 + docs/system/arm/cub

Re: [libvirt RFC] virFile: new VIR_FILE_WRAPPER_BIG_PIPE to improve performance

2022-04-10 Thread Claudio Fontana
Hi Daniel, On 3/25/22 11:33 AM, Daniel P. Berrangé wrote: > On Fri, Mar 18, 2022 at 02:34:29PM +0100, Claudio Fontana wrote: >> On 3/17/22 4:03 PM, Dr. David Alan Gilbert wrote: >>> * Claudio Fontana (cfont...@suse.de) wrote: On 3/17/22 2:41 PM, Claudio Fontana wrote: > On 3/17/22 11:25 A

[PATCH v2 0/1] ui/cocoa: show/hide menu in fullscreen on mouse

2022-04-10 Thread Carwyn Ellis
Minor change to make fullscreen mode in the Cocoa UI a little more convenient. The menu bar is now made visible when the mouse is released (ungrabbed) making it accessible without having to leave fullscreen mode. Grabbing the mouse hides the menu. Incorporates changes in response to feedback from

[PATCH v2 1/1] ui/cocoa: show/hide menu in fullscreen on mouse ungrab/grab

2022-04-10 Thread Carwyn Ellis
The menu bar is only accessible when the Cocoa UI is windowed. In order to allow the menu bar to be accessible in fullscreen mode, this change makes the menu visible when the mouse is ungrabbed. When the mouse is grabbed the menu is hidden again. Incorporates changes in response to review feedbac

Re: [PATCH 1/1] ui/cocoa: show/hide menu in fullscreen on mouse ungrab/grab

2022-04-10 Thread Carwyn Ellis
Thanks, taking a look now and will push up another patch once I’ve tested the changes. Regards Carwyn > On 18 Feb 2022, at 18:42, Akihiko Odaki wrote: > > On 2022/01/03 20:45, Carwyn Ellis wrote: >> The menu bar is only accessible when the Cocoa UI is windowed. In order >> to allow the menu ba

Re: [PATCH v3 2/2] hw/display/vmware_vga: do not discard screen updates

2022-04-10 Thread Carwyn Ellis
ping https://patchew.org/QEMU/20220206183956.10694-1-carwynel...@gmail.com/20220206183956.10694-3-carwynel...@gmail.com/ Originally submitted as one of two patches, the first patch to use trace events has been merged, however the patch that fixes garbled output hasn’t been reviewed yet. Do let

Re: [PATCH v3] qapi, target/i386/sev: Add cpu0-id to query-sev-capabilities

2022-04-10 Thread Dov Murik
On 07/04/2022 8:55, Markus Armbruster wrote: > Cole Robinson writes: > >> On 2/28/22 4:39 AM, Dov Murik wrote: >>> >>> >>> On 28/02/2022 11:31, Daniel P. Berrangé wrote: On Mon, Feb 28, 2022 at 09:30:14AM +, Dov Murik wrote: > Add a new field 'cpu0-id' to the response of query-sev

Re: [RFC PATCH for-7.1] Remove the slirp submodule (and only compile with an external libslirp)

2022-04-10 Thread Peter Maydell
On Sun, 10 Apr 2022 at 05:51, Brad Smith wrote: > > On 4/8/2022 12:47 PM, Thomas Huth wrote: > > QEMU 7.1 won't support Ubuntu 18.04 anymore, so the last big important > > distro that did not have a pre-packaged libslirp has been dismissed. > > All other major distros seem to have a libslirp packa

Re: [PATCH 29/41] hw/intc/arm_gicv3_redist: Recalculate hppvlpi on VPENDBASER writes

2022-04-10 Thread Peter Maydell
On Sat, 9 Apr 2022 at 21:10, Richard Henderson wrote: > It it really valid to write to vpendbaser with other than a 64-bit write? I > suppose it's > possible to order the 32-bit writes to make sure the update to valid comes > last... Yes, that's valid. The GICv3 spec states specifically when r

Re: [PATCH 25/41] hw/intc/arm_gicv3_cpuif: Support vLPIs

2022-04-10 Thread Peter Maydell
On Sat, 9 Apr 2022 at 20:20, Richard Henderson wrote: > On 4/8/22 07:15, Peter Maydell wrote: > > @@ -2632,6 +2735,12 @@ static void gicv3_cpuif_el_change_hook(ARMCPU *cpu, > > void *opaque) > > GICv3CPUState *cs = opaque; > > > > gicv3_cpuif_update(cs); > > +/* > > + * Becaus