[RFC PATCH 35/40] target/arm: Move "has_el2" to class property

2023-01-03 Thread Richard Henderson
With the movement of the property, we can remove the field from the cpu entirely, using only the class. However, late initialization of the "max" cpu, due to its interaction with "host", means that we cannot leave the class property undefined when EL2 is not supported. Adjust the class field to On

[RFC PATCH 10/40] target/arm: Copy dtb_compatible from ARMCPUClass

2023-01-03 Thread Richard Henderson
Move the default initialization of dtb_compatible to arm_cpu_class_init, and copy back to the instance in arm_cpu_init. Further class overrides will come in a future patch. Signed-off-by: Richard Henderson --- target/arm/cpu-qom.h | 3 +++ target/arm/cpu.c | 15 ++- 2 files cha

[RFC PATCH 31/40] target/arm: Get and set class properties in the monitor

2023-01-03 Thread Richard Henderson
Setting is not actually functional here, because it is always done after the creation of the first object, and so will generate an error. But at least it's a different error than 'Property not found'. Signed-off-by: Richard Henderson --- target/arm/monitor.c | 21 - 1 file ch

[RFC PATCH 34/40] target/arm: Move "reset-hivecs" to class property

2023-01-03 Thread Richard Henderson
Remove the reset_hivecs variable entirely and create property accessor functions that directly read/write a bit of the reset value of SCTLR. Signed-off-by: Richard Henderson --- target/arm/cpu.h | 1 - hw/arm/digic.c | 11 - hw/arm/npcm7xx.c | 9 hw/arm/xlnx-zynq

[RFC PATCH 13/40] hw/arm/bcm2836: Set mp-affinity property in realize

2023-01-03 Thread Richard Henderson
There was even a TODO comment that we ought to be using a cpu property, but we failed to update when the property was added. Use ARM_AFF1_SHIFT instead of the bare constant 8. Signed-off-by: Richard Henderson --- hw/arm/bcm2836.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff

[RFC PATCH 07/40] target/arm: Create TYPE_ARM_V7M_CPU

2023-01-03 Thread Richard Henderson
Create a new intermediate abstract class for v7m, like we do for aarch64. The initialization of ARMCPUClass.info follows the concrete class, so remove that init from arm_v7m_class_init. Signed-off-by: Richard Henderson --- target/arm/cpu-qom.h | 6 ++ target/arm/cpu_tcg.c | 36 +

[RFC PATCH 29/40] target/arm: Remove m-profile has_vfp and has_dsp properties

2023-01-03 Thread Richard Henderson
Replace the properties with separate cpu classes that have these features disabled. These stand in the way of moving all id-register properties to the cpu class level, because of the case of SSE200, which has one cortex-m33 with dsp+vfp and one without. Create the full set of m-profile cpus with

[RFC PATCH 36/40] target/arm: Move "has_el3" to class property

2023-01-03 Thread Richard Henderson
With the movement of the property, we can remove the field from the cpu entirely, using only the class. Signed-off-by: Richard Henderson --- target/arm/cpu-qom.h | 2 ++ target/arm/cpu.h | 2 -- hw/arm/allwinner-h3.c | 5 ++- hw/arm/exynos4210.c | 18 +- hw/arm/integratorcp.c

[RFC PATCH 37/40] target/arm: Move "cfgend" to class property

2023-01-03 Thread Richard Henderson
Remove the cfgend variable entirely and reuse the property accessor functions created for reset-hivecs. This removes the last setting of cpu->reset_sctlr, to we can remove that as well, using only the class value. Signed-off-by: Richard Henderson --- target/arm/cpu.h| 8 target/ar

[RFC PATCH 20/40] target/arm: Merge kvm64.c with kvm.c

2023-01-03 Thread Richard Henderson
With appropriate sorting of functions, this allows quite a number of prototypes to be removed from kvm_arm.h, and the corresponding functions made static. Signed-off-by: Richard Henderson --- target/arm/kvm_arm.h | 190 target/arm/kvm.c | 2048 +-

[RFC PATCH 19/40] target/arm: Move most cpu initialization to the class

2023-01-03 Thread Richard Henderson
Quite a lot of the cpu definition is constant, and can be initialized once with the type, rather than for each object instance. For now, leave the "host" cpu with the object init. Note that the "max" class (and even a converted "host") must be delayed until accellerator init, which itself is dela

[RFC PATCH 15/40] target/arm: Create arm_cpu_mp_affinity

2023-01-03 Thread Richard Henderson
Wrapper to return the mp affinity bits from the cpu. Signed-off-by: Richard Henderson --- target/arm/cpu.h | 5 + hw/arm/virt-acpi-build.c | 2 +- hw/arm/virt.c | 6 +++--- hw/arm/xlnx-versal-virt.c | 3 ++- hw/misc/xlnx-versal-crl.c | 4 ++-- target/arm/arm-powerctl.c

[RFC PATCH 16/40] target/arm: Represent the entire MPIDR_EL1

2023-01-03 Thread Richard Henderson
Replace ARMCPU.mp_affinity with CPUARMState.cp15.mpidr_el1, setting the additional bits as required. In particular, always set the U bit when there is only one cpu in the system. Remove the mp_is_up bit which attempted to do the same thing. Signed-off-by: Richard Henderson --- target/arm/cpu.h

[RFC PATCH 24/40] target/arm/hvf: Probe host into ARMCPUClass

2023-01-03 Thread Richard Henderson
We can now store these values into ARMCPUClass instead of into a temporary ARMHostCPUFeatures structure. Signed-off-by: Richard Henderson --- target/arm/cpu.h | 5 target/arm/hvf_arm.h | 2 +- target/arm/cpu.c | 13 -- target/arm/cpu64.c | 4 +-- target/arm/hvf/hvf.c |

[RFC PATCH 26/40] target/arm: Rename 'cpu' to 'acc' in class init functions

2023-01-03 Thread Richard Henderson
These were previously left 'misnamed' to minimize the size of the patch. Rename them all in bulk with no other change. Signed-off-by: Richard Henderson --- target/arm/cpu64.c | 858 ++-- target/arm/cpu_tcg.c | 1260 +- 2 files c

[RFC PATCH 33/40] target/arm: Move "cntfrq" to class property

2023-01-03 Thread Richard Henderson
With the movement of the property, we can remove the field from the cpu entirely, using only the class. Signed-off-by: Richard Henderson --- target/arm/cpu-qom.h| 3 +++ target/arm/cpu.h| 3 --- hw/arm/aspeed_ast2600.c | 6 +++-- target/arm/cpu.c| 50 ++

[RFC PATCH 22/40] target/arm: Hoist feature and dtb_compatible from KVM, HVF

2023-01-03 Thread Richard Henderson
These settings are generic and identical between the two host accelerators. Signed-off-by: Richard Henderson --- target/arm/cpu64.c | 23 ++- target/arm/hvf/hvf.c | 13 + target/arm/kvm.c | 29 ++--- 3 files changed, 25 insertions(+),

[RFC PATCH 23/40] target/arm: Probe KVM host into ARMCPUClass

2023-01-03 Thread Richard Henderson
We can now store these values into ARMCPUClass instead of into a temporary ARMHostCPUFeatures structure. Signed-off-by: Richard Henderson --- target/arm/kvm_arm.h | 14 ++--- target/arm/cpu64.c | 18 +-- target/arm/kvm.c | 119 +-- 3 files chan

[RFC PATCH 08/40] target/arm: Pass ARMCPUClass to ARMCPUInfo.class_init

2023-01-03 Thread Richard Henderson
Streamline new instances of this hook, so that we always go through arm_cpu_leaf_class_init first, performing common tasks, and have resolved the ARMCPUClass. Signed-off-by: Richard Henderson --- target/arm/cpu-qom.h | 2 +- target/arm/cpu.c | 10 +++--- 2 files changed, 8 insertions(+)

[RFC PATCH 04/40] target/arm: Remove aarch64_cpu_finalizefn

2023-01-03 Thread Richard Henderson
If the instance_finalize hook is NULL, the hook is not called. There is no need to install an empty function. Signed-off-by: Richard Henderson --- target/arm/cpu64.c | 5 - 1 file changed, 5 deletions(-) diff --git a/target/arm/cpu64.c b/target/arm/cpu64.c index 2cf2ca4ce5..611b233d23 10064

[RFC PATCH 27/40] target/arm: Split out strongarm_class_init

2023-01-03 Thread Richard Henderson
Use an intermediate function to share code between sa1100_class_init and sa1110_class_init. Signed-off-by: Richard Henderson --- target/arm/cpu_tcg.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/target/arm/cpu_tcg.c b/target/arm/cpu_tcg.c index 1ef825b39e..

[RFC PATCH 17/40] target/arm: Copy cp_regs from ARMCPUClass

2023-01-03 Thread Richard Henderson
Create a hash table of cpregs in ARMCPUClass and copy to the instance in arm_cpu_init. Population of this new table will come in a future patch. Signed-off-by: Richard Henderson --- target/arm/cpu-qom.h | 3 +++ target/arm/cpu.c | 23 +-- 2 files changed, 24 insertions(

[RFC PATCH 28/40] target/arm: Split out xscale*_class_init

2023-01-03 Thread Richard Henderson
Use two intermediate functions to share code between the 13 variants of pxa*_class_init. Signed-off-by: Richard Henderson --- target/arm/cpu_tcg.c | 81 +--- 1 file changed, 23 insertions(+), 58 deletions(-) diff --git a/target/arm/cpu_tcg.c b/target/arm/

[RFC PATCH 25/40] target/arm/hvf: Use offsetof in hvf_arm_get_host_cpu_features

2023-01-03 Thread Richard Henderson
Use an offsetof vs ARMCPUClass, which means that the regs[] array may be static const, and we can include midr in the list. Signed-off-by: Richard Henderson --- target/arm/hvf/hvf.c | 38 -- 1 file changed, 24 insertions(+), 14 deletions(-) diff --git a/targe

[RFC PATCH 06/40] target/arm: Remove AArch64CPUClass

2023-01-03 Thread Richard Henderson
The class structure is a plain wrapper around ARMCPUClass. We really only need the QOM class, TYPE_AARCH64_CPU. The instance init and fallback class init functions are identical to the same ones over in cpu.c. Make arm_cpu_post_init static. Signed-off-by: Richard Henderson --- target/arm/cpu-

[RFC PATCH 40/40] target/arm: Move "pmu" to class property

2023-01-03 Thread Richard Henderson
With the movement of the property, we can remove the field from the cpu entirely, using only the class. Properly detect support in kvm_arm_get_host_cpu_features rather than adjust much later in kvm_arch_init_vcpu. Signed-off-by: Richard Henderson --- target/arm/cpu-qom.h | 2 ++ target/arm/cpu.

[RFC PATCH 21/40] target/arm: Remove aarch64 check from aarch64_host_object_init

2023-01-03 Thread Richard Henderson
Since kvm32 was removed, all kvm hosts support aarch64. Signed-off-by: Richard Henderson --- target/arm/cpu64.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/target/arm/cpu64.c b/target/arm/cpu64.c index 28b5a07244..668e979a24 100644 --- a/target/arm/cpu64.c +++ b/tar

[RFC PATCH 12/40] target/arm: Copy isar and friends from ARMCPUClass

2023-01-03 Thread Richard Henderson
Create a block of cpregs in ARMCPUClass and copy to the instance in arm_cpu_init. Settings of these values will come in a future patch. Signed-off-by: Richard Henderson --- target/arm/cpu-qom.h | 98 target/arm/cpu.h | 43 ++- tar

[RFC PATCH 05/40] target/arm: Create arm_cpu_register_parent

2023-01-03 Thread Richard Henderson
Create an arm cpu class with a specific abstract parent class. Signed-off-by: Richard Henderson --- target/arm/cpu-qom.h | 7 ++- target/arm/cpu.c | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/target/arm/cpu-qom.h b/target/arm/cpu-qom.h index 514c22ced9..95f780

[RFC PATCH 02/40] qom: Introduce class_late_init

2023-01-03 Thread Richard Henderson
Create a new class initialization hook, to be called immediately before creation of the first instance. Most class initialization happens quite early, which makes interaction between classes difficult. E.g. cpu objects often depend on the accellerator, or the global properties coming from the com

[RFC PATCH 11/40] target/arm: Copy features from ARMCPUClass

2023-01-03 Thread Richard Henderson
Create a features member in ARMCPUClass and copy to the instance in arm_cpu_init. Settings of this value will come in a future patch. Signed-off-by: Richard Henderson --- target/arm/cpu-qom.h | 18 ++ target/arm/cpu.c | 1 + 2 files changed, 19 insertions(+) diff --git a/t

[RFC PATCH 01/40] qdev: Don't always force the global property array non-null

2023-01-03 Thread Richard Henderson
Only qdev_prop_register_global requires a non-null array. The other instances can simply exit early. Signed-off-by: Richard Henderson --- hw/core/qdev-properties.c | 43 --- 1 file changed, 27 insertions(+), 16 deletions(-) diff --git a/hw/core/qdev-propertie

Re: [PATCH v6] xen/pt: reserve PCI slot 2 for Intel igd-passthru

2023-01-03 Thread Chuck Zmudzinski
On 1/2/2023 12:46 PM, Michael S. Tsirkin wrote: > On Sun, Jan 01, 2023 at 06:52:03PM -0500, Chuck Zmudzinski wrote: > > Intel specifies that the Intel IGD must occupy slot 2 on the PCI bus, > > as noted in docs/igd-assign.txt in the Qemu source code. > > > > Currently, when the xl toolstack is use

Re: [RFC PATCH 26/40] target/arm: Rename 'cpu' to 'acc' in class init functions

2023-01-03 Thread Philippe Mathieu-Daudé
On 3/1/23 19:16, Richard Henderson wrote: These were previously left 'misnamed' to minimize the size of the patch. Rename them all in bulk with no other change. Signed-off-by: Richard Henderson --- target/arm/cpu64.c | 858 ++-- target/arm/cpu_tcg.c | 1260 +++

Re: [PATCH 0/2] hw/intc/arm_gicv3: Bump ITT entry size to 16

2023-01-03 Thread Alexander Graf
Hi Peter, On 03.01.23 18:41, Peter Maydell wrote: On Fri, 23 Dec 2022 at 08:50, Alexander Graf wrote: While trying to make Windows work with GICv3 emulation, I stumbled over the fact that it only supports ITT entry sizes that are power of 2 sized. While the spec allows arbitrary sizes, in pra

Re: [PATCH] Update scripts/meson-buildoptions.sh

2023-01-03 Thread Stefan Hajnoczi
On Tue, 3 Jan 2023 at 12:31, Peter Maydell wrote: > > On Tue, 3 Jan 2023 at 16:12, Alessandro Di Federico wrote: > > > > On Tue, 3 Jan 2023 10:51:36 -0500 > > Stefan Hajnoczi wrote: > > > > > QEMU's Makefile used to a use a technique where it generated > > > "timestamp" files and used cmp(1) to

Re: [PATCH] hw/pci: Display correct size for unmapped BARs in HMP 'info pci'

2023-01-03 Thread Philippe Mathieu-Daudé
On 3/1/23 18:39, BALATON Zoltan wrote: On Tue, 3 Jan 2023, Philippe Mathieu-Daudé wrote: When a BAR is not mapped, the displayed size is shifted by 1 byte:  (qemu) info pci    ...    Bus  0, device  11, function 0: Ethernet controller: PCI device 1022:2000    PCI subsystem :   

Re: [PATCH] hw/pci: Display correct size for unmapped BARs in HMP 'info pci'

2023-01-03 Thread Philippe Mathieu-Daudé
On 3/1/23 20:39, Philippe Mathieu-Daudé wrote: On 3/1/23 18:39, BALATON Zoltan wrote: On Tue, 3 Jan 2023, Philippe Mathieu-Daudé wrote: When a BAR is not mapped, the displayed size is shifted by 1 byte:  (qemu) info pci    ...    Bus  0, device  11, function 0: Ethernet controller: PCI de

Re: [PATCH] memory: Do not print MR priority in flatview HMP output

2023-01-03 Thread Peter Xu
On Wed, Dec 28, 2022 at 02:04:39PM +0100, Philippe Mathieu-Daudé wrote: > When requesting the flatview output with 'info mtree -f', > the MemoryRegion priority is irrelevant and noise. Remove it. It is in many cases still helpful debugging information to me. Maybe it's because it can cause mis-al

Re: [PATCH v6] xen/pt: reserve PCI slot 2 for Intel igd-passthru

2023-01-03 Thread Chuck Zmudzinski
On 1/3/2023 10:14 AM, Alex Williamson wrote: > On Mon, 2 Jan 2023 18:10:24 -0500 > Chuck Zmudzinski wrote: > > > On 1/2/23 12:46 PM, Michael S. Tsirkin wrote: > > > On Sun, Jan 01, 2023 at 06:52:03PM -0500, Chuck Zmudzinski wrote: > > > > Intel specifies that the Intel IGD must occupy slot 2 on

[PATCH] Windows installer: keep dependency cache

2023-01-03 Thread Arthur Sengileyev
It should be possible to reuse cache built by previous iteration processing next executables. Already processed dependencies are already skipped later based on dll name. Signed-off-by: Arthur Sengileyev --- scripts/nsis.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scr

Re: [PATCH v6] xen/pt: reserve PCI slot 2 for Intel igd-passthru

2023-01-03 Thread Chuck Zmudzinski
On 1/3/2023 4:50 PM, Chuck Zmudzinski wrote: > On 1/3/2023 10:14 AM, Alex Williamson wrote: > > On Mon, 2 Jan 2023 18:10:24 -0500 > > Chuck Zmudzinski wrote: > > > > > On 1/2/23 12:46 PM, Michael S. Tsirkin wrote: > > > > On Sun, Jan 01, 2023 at 06:52:03PM -0500, Chuck Zmudzinski wrote: > > > >

Re: [PATCH v10 2/9] KVM: Introduce per-page memory attributes

2023-01-03 Thread Sean Christopherson
On Tue, Jan 03, 2023, Wang, Wei W wrote: > On Tuesday, January 3, 2023 9:40 AM, Chao Peng wrote: > > > Because guest memory defaults to private, and now this patch stores > > > the attributes with KVM_MEMORY_ATTRIBUTE_PRIVATE instead of > > _SHARED, > > > it would bring more KVM_EXIT_MEMORY_FAULT e

Re: [PATCH 0/6] Resolve TYPE_PIIX3_XEN_DEVICE

2023-01-03 Thread Bernhard Beschow
Am 3. Januar 2023 17:25:35 UTC schrieb Chuck Zmudzinski : >On 1/3/2023 8:38 AM, Bernhard Beschow wrote: >> >> >> On Tue, Jan 3, 2023 at 2:17 PM Philippe Mathieu-Daudé >> wrote: >> >> Hi Chuck, >> >> On 3/1/23 04:15, Chuck Zmudzinski wrote: >> > On 1/2/23 4:34 PM, Bernhard Beschow w

Re: [RFC PATCH 00/40] Toward class init of cpu features

2023-01-03 Thread Richard Henderson
On 1/3/23 10:16, Richard Henderson wrote: Richard Henderson (40): target/arm: Remove aarch64_cpu_finalizefn target/arm: Create arm_cpu_register_parent target/arm: Remove AArch64CPUClass target/arm: Create TYPE_ARM_V7M_CPU ... target/arm: Utilize arm-cpu instance_post_init hook .

[PATCH v5 0/3] Add irq number property for loongarch pch interrupt controller

2023-01-03 Thread Tianrui Zhao
This series add irq number property for loongarch pch_msi and pch_pic interrupt controller. Changes for v5: (1) Remove unreachable check after using g_new() to alloc msi irq. (2) Use deposit32() to generate the value of pch pic irq info. Changes for v4: (1) Change the default irq number of pch pi

[PATCH v5 2/3] hw/intc/loongarch_pch_pic: add irq number property

2023-01-03 Thread Tianrui Zhao
With loongarch 7A1000 manual, irq number supported can be set in PCH_PIC_INT_ID_HI register. This patch adds irq number property for loongarch_pch_pic, so that virt machine can set different irq number when pch_pic intc is added. Signed-off-by: Tianrui Zhao --- hw/intc/loongarch_pch_pic.c

[PATCH v5 3/3] hw/intc/loongarch_pch: Change default irq number of pch irq controller

2023-01-03 Thread Tianrui Zhao
Change the default irq number of pch pic to 32, so that the irq number of pch msi is 224(256 - 32), and move the 'PCH_PIC_IRQ_NUM' macro to pci-host/ls7a.h and add prefix 'VIRT' on it to keep standard format. Signed-off-by: Tianrui Zhao Reviewed-by: Philippe Mathieu-Daud?? --- hw/intc/loongarch

[PATCH v5 1/3] hw/intc/loongarch_pch_msi: add irq number property

2023-01-03 Thread Tianrui Zhao
This patch adds irq number property for loongarch msi interrupt controller, and remove hard coding irq number macro. Signed-off-by: Tianrui Zhao Reviewed-by: Philippe Mathieu-Daud?? --- hw/intc/loongarch_pch_msi.c | 29 ++--- hw/loongarch/virt.c |

Re: [PATCH v3] intel-iommu: Document iova_tree

2023-01-03 Thread Jason Wang
On Wed, Jan 4, 2023 at 1:30 AM Peter Xu wrote: > > On Mon, Dec 26, 2022 at 12:09:52PM +0800, Jason Wang wrote: > > On Sat, Dec 24, 2022 at 12:26 AM Peter Xu wrote: > > > > > > On Fri, Dec 23, 2022 at 03:48:01PM +0800, Jason Wang wrote: > > > > On Wed, Dec 7, 2022 at 6:13 AM Peter Xu wrote: > > >

Re: IO port write width clamping differs between TCG and KVM

2023-01-03 Thread Laszlo Ersek
On 1/3/23 18:42, Laszlo Ersek wrote: > (resending with qemu-devel on CC; sorry!) > > Hi, > > this is with QEMU-7.2. This is a regression. It works fine with QEMU-5.0. The regression has not been fixed since QEMU-7.2, as of master @ 222059a0fccf ("Merge tag 'pull-ppc-20221221' of https://gitlab.c

Re: IO port write width clamping differs between TCG and KVM

2023-01-03 Thread Laszlo Ersek
On 1/4/23 07:06, Laszlo Ersek wrote: > On 1/3/23 18:42, Laszlo Ersek wrote: >> (resending with qemu-devel on CC; sorry!) >> >> Hi, >> >> this is with QEMU-7.2. > > This is a regression. It works fine with QEMU-5.0. The regression has > not been fixed since QEMU-7.2, as of master @ 222059a0fccf ("M

Re: IO port write width clamping differs between TCG and KVM

2023-01-03 Thread Laszlo Ersek
Adding Michael. The thread started here: https://lists.gnu.org/archive/html/qemu-devel/2023-01/msg00199.html More below: On 1/4/23 07:06, Laszlo Ersek wrote: > On 1/3/23 18:42, Laszlo Ersek wrote: >> (resending with qemu-devel on CC; sorry!) >> >> Hi, >> >> this is with QEMU-7.2. > > This is a r

Re: IO port write width clamping differs between TCG and KVM

2023-01-03 Thread Philippe Mathieu-Daudé
Hi Laszlo, Happy new year! On 4/1/23 08:04, Laszlo Ersek wrote: Adding Michael. The thread started here: https://lists.gnu.org/archive/html/qemu-devel/2023-01/msg00199.html More below: On 1/4/23 07:06, Laszlo Ersek wrote: On 1/3/23 18:42, Laszlo Ersek wrote: (resending with qemu-devel on C

Re: [PATCH] hw/pci: Display correct size for unmapped BARs in HMP 'info pci'

2023-01-03 Thread Philippe Mathieu-Daudé
On 3/1/23 20:45, Philippe Mathieu-Daudé wrote: On 3/1/23 20:39, Philippe Mathieu-Daudé wrote: On 3/1/23 18:39, BALATON Zoltan wrote: On Tue, 3 Jan 2023, Philippe Mathieu-Daudé wrote: When a BAR is not mapped, the displayed size is shifted by 1 byte:  (qemu) info pci    ...    Bus  0, device 

Re: [RFC v4 3/3] migration: reduce time of loading non-iterable vmstate

2023-01-03 Thread Chuang Xu
On 2022/12/24 上午12:06, David Hildenbrand wrote: On 23.12.22 15:23, Chuang Xu wrote: The duration of loading non-iterable vmstate accounts for a significant portion of downtime (starting with the timestamp of source qemu stop and ending with the timestamp of target qemu start). Most of the time is

Re: [External] Re: [RFC v4 2/3] memory: add depth assert in address_space_to_flatview

2023-01-03 Thread Chuang Xu
On 2022/12/28 下午6:50, Philippe Mathieu-Daudé wrote: On 23/12/22 15:23, Chuang Xu wrote: Before using any flatview, sanity check we're not during a memory region transaction or the map can be invalid. Signed-off-by: Chuang Xu --- include/exec/memory.h | 9 + softmmu/memory.c | 5

<    1   2