Support disabling TCG on ARM
v4 cover Support disabling TCG on ARM
Paolo motived me to salvage this (other!) previous series fromi Samuel Ortiz (NEMU project).
v1 cover from Samuel [1]:
This patchset allows for building and running ARM targets with TCG disabled. It splits the target/arm/helper.c file into logical TCG and non TCG dependent files so that one can build and run QEMU binaries with or without TCG enabled.
The rationale behind this work comes from the NEMU project where we're trying to only support x86 and ARM 64-bit architectures, without including the TCG code base. We can only do so if we can build and run ARM binaries with TCG disabled.
v2: https://lists.gnu.org/archive/html/qemu-devel/2019-06/msg03271.html
Most of the patches from v1 got adapted, except the "Move all interrupt handlers" patch, because Peter disagreed with it. See threads:
https://lists.gnu.org/archive/html/qemu-devel/2018-11/msg03908.html
https://lists.gnu.org/archive/html/qemu-devel/2019-05/msg07304.html
Anyway this is not a blocking issue, and can be done once this series get merged.
v3: http://mid.mail-archive.com/[email protected]
- Addressed Alex's review comments from v2.
- added RFC patches to remove (pre-v7, M-profile, R-profile) from KVM-only build
v4:
- patches 1-12, 14-17, 19-21 accepted, rebased on target-arm.next
- addressed Peter's comment (described in each patch).
Based-on: target-arm.next
$ git backport-diff -u v3 -r target-arm.next..v4 Key: [----] : patches are identical [####] : number of functional differences between upstream/downstream patch [down] : patch is downstream-only The flags [FC] indicate (F)unctional and (C)ontextual differences, respectively
001/8:[0048] [FC] 'target/arm: Move debug routines to debug_helper.c' 002/8:[0004] [FC] 'target/arm: Restrict semi-hosting to TCG' 003/8:[0027] [FC] 'target/arm/helper: Move M profile routines to m_helper.c' 004/8:[----] [--] 'RFC target/arm: Restrict pre-ARMv7 cpus to TCG' 005/8:[----] [--] 'RFC target/arm: Do not build pre-ARMv7 cpus when using KVM' 006/8:[----] [--] 'RFC target/arm: Restrict R and M profiles to TCG' 007/8:[----] [--] 'RFC target/arm: Do not build A/M-profile cpus when using KVM' 008/8:[----] [--] 'target/arm: Do not build TCG objects when TCG is off'
Patches 4-8 are included as RFC for series completeness, but are not meant for review for the 4.1 release.
Paolo, the RFC patches are ARM but Kconfig related, you might want to have a look at them ;) Cc'ing Thomas for the same reason.
Thanks a lot to Alex and Peter for their review time, and Samuel for the original effort.
Regards,
Phil.
[1]: https://lists.gnu.org/archive/html/qemu-devel/2018-11/msg02451.html
Philippe Mathieu-Daudé (8):
target/arm: Move debug routines to debug_helper.c target/arm: Restrict semi-hosting to TCG target/arm/helper: Move M profile routines to m_helper.c RFC target/arm: Restrict pre-ARMv7 cpus to TCG
RFC target/arm: Do not build pre-ARMv7 cpus when using KVM RFC target/arm: Restrict R and M profiles to TCG RFC target/arm: Do not build A/M-profile cpus when using KVM target/arm: Do not build TCG objects when TCG is off
default-configs/arm-softmmu.mak | 47 +- hw/arm/Kconfig | 42 +- target/arm/Makefile.objs | 9 +- target/arm/cpu.c | 25 +- target/arm/cpu.h | 7 + target/arm/debug_helper.c | 311 ++++ target/arm/helper.c | 2669 +----------------------------- target/arm/m_helper.c | 2676 +++++++++++++++++++++++++++++++ target/arm/op_helper.c | 295 ---- 9 files changed, 3091 insertions(+), 2990 deletions(-) create mode 100644 target/arm/debug_helper.c create mode 100644 target/arm/m_helper.c
Signature · 1 line
2.20.1
PATCH v4 1/8 target/arm: Move debug routines to debug_helper.c
These routines are TCG specific.
---
v4: get_phys_page_attrs_debug is not TCG specific (Peter)
--- target/arm/Makefile.objs | 2 +- target/arm/cpu.c | 9 +- target/arm/debug_helper.c | 311 ++++++++++++++++++++++++++++++++++++++ target/arm/op_helper.c | 295 ------------------------------------ 4 files changed, 315 insertions(+), 302 deletions(-) create mode 100644 target/arm/debug_helper.c
target/arm/Makefile.objs +1 -1
@@ -32,7 +32,7 @@ target/arm/translate-sve.o: target/arm/decode-sve.inc.c target/arm/translate.o: target/arm/decode-vfp.inc.c target/arm/translate.o: target/arm/decode-vfp-uncond.inc.c -obj-y += tlb_helper.o +obj-y += tlb_helper.o debug_helper.o obj-y += translate.o op_helper.o obj-y += crypto_helper.o obj-y += iwmmxt_helper.o vec_helper.o neon_helper.o
target/arm/cpu.c +3 -6
@@ -2578,19 +2578,16 @@ static void arm_cpu_class_init(ObjectClass *oc, void *data) cc->gdb_arch_name = arm_gdb_arch_name; cc->gdb_get_dynamic_xml = arm_gdb_get_dynamic_xml; cc->gdb_stop_before_watchpoint = true; - cc->debug_excp_handler = arm_debug_excp_handler; - cc->debug_check_watchpoint = arm_debug_check_watchpoint; -#if !defined(CONFIG_USER_ONLY ) - cc->adjust_watchpoint_address = arm_adjust_watchpoint_address; -#endif - cc->disas_set_info = arm_disas_set_info;#ifdef CONFIG_TCG cc->tcg_initialize = arm_translate_init; cc->tlb_fill = arm_cpu_tlb_fill; + cc->debug_excp_handler = arm_debug_excp_handler; + cc->debug_check_watchpoint = arm_debug_check_watchpoint;#if !defined(CONFIG_USER_ONLY ) cc->do_unaligned_access = arm_cpu_do_unaligned_access; cc->do_transaction_failed = arm_cpu_do_transaction_failed; + cc->adjust_watchpoint_address = arm_adjust_watchpoint_address;#endif /* CONFIG_TCG && !CONFIG_USER_ONLY */ #endif }
target/arm/debug_helper.c new file +311 -0
311 lines not on this page · raw message
target/arm/op_helper.c +0 -295
301 lines not on this page · raw message
Signature · 1 line
2.20.1
PATCH v4 2/8 target/arm: Restrict semi-hosting to TCG
In reply to Philippe Mathieu-DaudéPer Peter Maydell:
Semihosting hooks either SVC or HLT instructions, and inside KVM both of those go to EL1, ie to the guest, and can't be trapped to KVM.
Let check_for_semihosting() return False when not running on TCG.
---
v3: inline call to g_assert_not_reached if !TCG
v4: fixed some ifdef that had moved in the next patch (Peter)
--- target/arm/Makefile.objs | 2 +- target/arm/cpu.h | 7 +++++++ target/arm/helper.c | 8 +++++++- 3 files changed, 15 insertions(+), 2 deletions(-)
target/arm/Makefile.objs +1 -1
@@ -1,4 +1,4 @@ -obj-y += arm-semi.o +obj-$(CONFIG_TCG) += arm-semi.o obj-y += helper.o vfp_helper.o obj-y += cpu.o gdbstub.o obj-$(TARGET_AARCH64) += cpu64.o gdbstub64.o
target/arm/cpu.h +7 -0
@@ -964,7 +964,14 @@ static inline void aarch64_sve_change_el(CPUARMState *env, int o, { }#endif +#if !defined(CONFIG_TCG ) +static inline target_ulong do_arm_semihosting (CPUARMState *env) +{ +g_assert_not_reached (); +} +#else target_ulong do_arm_semihosting (CPUARMState *env); +#endif void aarch64_sync_32_to_64 (CPUARMState *env);void aarch64_sync_64_to_32 (CPUARMState *env);
target/arm/helper.c +7 -1
@@ -20,7 +20,6 @@#include "qemu/qemu-print.h" #include "exec/exec-all.h" #include "exec/cpu_ldst.h" -#include "arm_ldst.h" #include <zlib.h> /* For crc32 */ #include "hw/semihosting/semihost.h" #include "sysemu/cpus.h"
@@ -29,6 +28,9 @@#include "qapi/qapi-commands-target.h" #include "qapi/error.h" #include "qemu/guest-random.h" +#ifdef CONFIG_TCG +#include "arm_ldst.h" +#endif #define ARM_CPU_FREQ 1000000000/* FIXME: 1 GHz, should be configurable */
@@ -10399,6 +10401,7 @@ static void arm_cpu_do_interrupt_aarch64(CPUState *cs)static inline bool check_for_semihosting (CPUState *cs) { +#ifdef CONFIG_TCG /* Check whether this exception is a semihosting call; if so * then handle it and return true; otherwise return false. */
@@ -10474,6 +10477,9 @@ static inline bool check_for_semihosting(CPUState *cs) env->regs[0 ] =do_arm_semihosting (env); return true; } +#else +return false; +#endif }/* Handle a CPU exception for A and R profile CPUs.
Signature · 1 line
2.20.1
Re: [PATCH v4 2/8] target/arm: Restrict semi-hosting to TCG
Quoted 10 lines · Philippe Mathieu-Daudé
Per Peter Maydell:
Semihosting hooks either SVC or HLT instructions, and inside KVM both of those go to EL1, ie to the guest, and can't be trapped to KVM.
Let
check_for_semihosting()return False when not running on TCG.Signed-off-by Philippe Mathieu-Daudé <[email protected]>
Quoted 8 lines
---
v3: inline call tog_assert_not_reachedif !TCG
v4: fixed some ifdef that had moved in the next patch (Peter)--- target/arm/Makefile.objs | 2 +- target/arm/cpu.h | 7 +++++++ target/arm/helper.c | 8 +++++++- 3 files changed, 15 insertions(+), 2 deletions(-)
thanks
-- PMM
PATCH v4 3/8 target/arm/helper: Move M profile routines to m_helper.c
In reply to Philippe Mathieu-DaudéIn preparation for supporting TCG disablement on ARM, we move most of TCG related v7m/v8m helpers and APIs into their own file.
Note: It is easier to review this commit using the 'histogram'
diff algorithm:
$ git diff --diff-algorithm=histogram ...
or
$ git diff --histogram ...
---
patch generated with git diff --histogram.
v4: rebased
--- target/arm/Makefile.objs | 1 + target/arm/helper.c | 2661 +------------------------------------ target/arm/m_helper.c | 2676 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 2681 insertions(+), 2657 deletions(-) create mode 100644 target/arm/m_helper.c
target/arm/Makefile.objs +1 -0
@@ -36,6 +36,7 @@ obj-y += tlb_helper.o debug_helper.o obj-y += translate.o op_helper.o obj-y += crypto_helper.o obj-y += iwmmxt_helper.o vec_helper.o neon_helper.o +obj-$(CONFIG_ARM_V7M) += m_helper.o obj-$(CONFIG_SOFTMMU) += psci.o
target/arm/helper.c +4 -2657
2,700 lines not on this page · raw message
target/arm/m_helper.c new file +2676 -0
293 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.20.1
Part of the diff is not shown here. View the raw message.
Re: [PATCH v4 3/8] target/arm/helper: Move M profile routines to m_helper.c
Quoted 16 lines · Philippe Mathieu-Daudé
In preparation for supporting TCG disablement on ARM, we move most of TCG related v7m/v8m helpers and APIs into their own file.
Note: It is easier to review this commit using the 'histogram'
diff algorithm:$ git diff --diff-algorithm=histogram ...
or$ git diff --histogram ...Suggested-by Samuel Ortiz <[email protected]>Signed-off-by Philippe Mathieu-Daudé <[email protected]>---
patch generated with git diff --histogram.
Quoted 7 lines
v4: rebased
--- target/arm/Makefile.objs | 1 + target/arm/helper.c | 2661 +------------------------------------ target/arm/m_helper.c | 2676 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 2681 insertions(+), 2657 deletions(-) create mode 100644 target/arm/m_helper.c
This patch doesn't compile:
Quoted 14 lines
target/arm/helper.c +0
-13-hwaddr arm_cpu_get_phys_page_attrs_debug (CPUState *cs,vaddr addr, -MemTxAttrs *attrs) -{ -ARMCPU *cpu =ARM_CPU (cs); -CPUARMState *env = &cpu->env; -hwaddr phys_addr; -target_ulong page_size; -int prot; -bool ret; -ARMMMUFaultInfo fi = {}; -ARMMMUIdx mmu_idx =arm_mmu_idx (env); - - *attrs = (MemTxAttrs ) {};
target/arm/helper.c bool get_phys_addr(CPUARMState *env, target_ulong address, · line 12756
Quoted 10 lines
target/arm/helper.c +0
-10- - ret =get_phys_addr (env, addr,0 , mmu_idx, &phys_addr, - attrs, &prot, &page_size, &fi,NULL ); - -if (ret) { -return -1 ; - } -return phys_addr; -} -
...it deletes the definition of arm_cpu_get_phys_page_attrs_debug(), which should stay where it is.
thanks
-- PMM
Re: [PATCH v4 3/8] target/arm/helper: Move M profile routines to m_helper.c
Quoted 46 lines · Peter Maydell
Quoted 16 lines · Philippe Mathieu-Daudé
In preparation for supporting TCG disablement on ARM, we move most of TCG related v7m/v8m helpers and APIs into their own file.
Note: It is easier to review this commit using the 'histogram'
diff algorithm:$ git diff --diff-algorithm=histogram ...
or$ git diff --histogram ...Suggested-by Samuel Ortiz <[email protected]>Signed-off-by Philippe Mathieu-Daudé <[email protected]>---
patch generated with git diff --histogram.Quoted 7 lines
v4: rebased
--- target/arm/Makefile.objs | 1 + target/arm/helper.c | 2661 +------------------------------------ target/arm/m_helper.c | 2676 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 2681 insertions(+), 2657 deletions(-) create mode 100644 target/arm/m_helper.cThis patch doesn't compile:
Quoted 19 lines
target/arm/helper.c +0
-18-hwaddr arm_cpu_get_phys_page_attrs_debug (CPUState *cs,vaddr addr, -MemTxAttrs *attrs) -{ -ARMCPU *cpu =ARM_CPU (cs); -CPUARMState *env = &cpu->env; -hwaddr phys_addr; -target_ulong page_size; -int prot; -bool ret; -ARMMMUFaultInfo fi = {}; -ARMMMUIdx mmu_idx =arm_mmu_idx (env); - - *attrs = (MemTxAttrs ) {}; - - ret =get_phys_addr (env, addr,0 , mmu_idx, &phys_addr, - attrs, &prot, &page_size, &fi,NULL ); - -if (ret) {
Quoted 8 lines
target/arm/helper.c bool get_phys_addr(CPUARMState *env, target_ulong address, · line 12756
Quoted 5 lines
target/arm/helper.c +0
-5-return -1 ; - } -return phys_addr; -} -...it deletes the definition of
arm_cpu_get_phys_page_attrs_debug(), which should stay where it is.
Grrrrr I missed that rebase failure within the 2676 lines.
I am sorry and ambarassed I failed at notice it doesn't even compile.
PATCH v4 4/8 RFC target/arm: Restrict pre-ARMv7 cpus to TCG
In reply to Philippe Mathieu-DaudéKVM requires at least a ARMv7 cpu.
--- target/arm/cpu.c | 12 ++++++++++++ 1 file changed, 12 insertions(+)
target/arm/cpu.c +12 -0
@@ -1643,6 +1643,8 @@ static ObjectClass *arm_cpu_class_by_name(const char *cpu_model)/* CPU models. These are not needed for the AArch64 linux-user build. */ #if !defined(CONFIG_USER_ONLY) || !defined(TARGET_AARCH64) +#ifdef CONFIG_TCG + static void arm926_initfn(Object *obj) { ARMCPU *cpu = ARM_CPU(obj);
@@ -1853,6 +1855,8 @@ static void cortex_m0_initfn(Object *obj) cpu->midr = 0x410cc200; } +#endif +static void cortex_m3_initfn (Object *obj) {ARMCPU *cpu =ARM_CPU (obj);
@@ -2234,6 +2238,8 @@ static void cortex_a15_initfn(Object *obj)define_arm_cp_regs (cpu, cortexa15_cp_reginfo); } +#ifdef CONFIG_TCG +static void ti925t_initfn (Object *obj) {ARMCPU *cpu =ARM_CPU (obj);
@@ -2402,6 +2408,8 @@ static void pxa270c5_initfn(Object *obj) cpu->reset_sctlr = 0x00000078; } +#endif +#ifndef TARGET_AARCH64 /* -cpu max: if KVM is enabled, like -cpu host (best possible with this host); * otherwise, a CPU with as many features enabled as our emulation supports.
@@ -2470,6 +2478,7 @@ struct ARMCPUInfo {static const ARMCPUInfo arm_cpus[] = { #if !defined(CONFIG_USER_ONLY) || !defined(TARGET_AARCH64) +#ifdef CONFIG_TCG { .name ="arm926" , .initfn = arm926_initfn }, { .name ="arm946" , .initfn = arm946_initfn }, { .name = "arm1026", .initfn = arm1026_initfn },
@@ -2482,6 +2491,7 @@ static const ARMCPUInfo arm_cpus[] = { { .name = "arm1176", .initfn = arm1176_initfn }, { .name = "arm11mpcore", .initfn = arm11mpcore_initfn }, { .name = "cortex-m0", .initfn = cortex_m0_initfn, +#endif .class_init = arm_v7m_class_init }, { .name = "cortex-m3", .initfn = cortex_m3_initfn, .class_init = arm_v7m_class_init },
@@ -2495,6 +2505,7 @@ static const ARMCPUInfo arm_cpus[] = { { .name = "cortex-a8", .initfn = cortex_a8_initfn }, { .name = "cortex-a9", .initfn = cortex_a9_initfn }, { .name = "cortex-a15", .initfn = cortex_a15_initfn }, +#ifdef CONFIG_TCG { .name = "ti925t", .initfn = ti925t_initfn }, { .name = "sa1100", .initfn = sa1100_initfn }, { .name = "sa1110", .initfn = sa1110_initfn },
@@ -2511,6 +2522,7 @@ static const ARMCPUInfo arm_cpus[] = { { .name = "pxa270-b1", .initfn = pxa270b1_initfn }, { .name = "pxa270-c0", .initfn = pxa270c0_initfn }, { .name = "pxa270-c5", .initfn = pxa270c5_initfn }, +#endif #ifndef TARGET_AARCH64 { .name = "max", .initfn = arm_max_initfn }, #endif
Signature · 1 line
2.20.1
PATCH v4 5/8 RFC target/arm: Do not build pre-ARMv7 cpus when using KVM
In reply to Philippe Mathieu-DaudéA KVM-only build won't be able to run pre-ARMv7 cpus, disable them.
If KVM is not enabled, they are enabled by default.
---
Sadly this does not work with --enable-tcg --enable-kvm dual config.
--- default-configs/arm-softmmu.mak | 33 ++++++++++++++++----------------- hw/arm/Kconfig | 26 ++++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 17 deletions(-)
default-configs/arm-softmmu.mak +16 -17
@@ -9,34 +9,33 @@ CONFIG_ARM_V7M=y CONFIG_ARM_VIRT=y CONFIG_CUBIEBOARD=y CONFIG_EXYNOS4=y -CONFIG_HIGHBANK=y -CONFIG_INTEGRATOR=y CONFIG_FSL_IMX31=y -CONFIG_MUSICPAL=y CONFIG_MUSCA=y -CONFIG_CHEETAH=y -CONFIG_SX1=y -CONFIG_NSERIES=y CONFIG_STELLARIS=y CONFIG_REALVIEW=y -CONFIG_VERSATILE=y CONFIG_VEXPRESS=y CONFIG_ZYNQ=y -CONFIG_MAINSTONE=y -CONFIG_GUMSTIX=y -CONFIG_SPITZ=y -CONFIG_TOSA=y -CONFIG_Z2=y -CONFIG_COLLIE=y -CONFIG_ASPEED_SOC=y CONFIG_NETDUINO2=y CONFIG_MPS2=y CONFIG_RASPI=y -CONFIG_DIGIC=y CONFIG_SABRELITE=y CONFIG_EMCRAFT_SF2=y -CONFIG_MICROBIT=y -CONFIG_FSL_IMX25=y CONFIG_FSL_IMX7=y CONFIG_FSL_IMX6UL=y CONFIG_SEMIHOSTING=y +#CONFIG_CHEETAH=y +#CONFIG_SX1=y +#CONFIG_DIGIC=y +#CONFIG_INTEGRATOR=y +#CONFIG_MUSICPAL=y +#CONFIG_MAINSTONE=y +#CONFIG_GUMSTIX=y +#CONFIG_SPITZ=y +#CONFIG_TOSA=y +#CONFIG_COLLIE=y +#CONFIG_VERSATILE=y +#CONFIG_FSL_IMX25=y +#CONFIG_ASPEED_SOC=y +#CONFIG_NSERIES=y +#CONFIG_HIGHBANK=n +#CONFIG_MICROBIT=n
hw/arm/Kconfig +26 -0
@@ -1,3 +1,18 @@ +config ARM_V4 + default y + depends on !KVM + bool + +config ARM_V5 + default y + depends on !KVM + bool + +config ARM_V6 + default y + depends on !KVM + bool + config ARM_VIRT bool imply PCI_DEVICES
@@ -23,6 +38,7 @@ config ARM_VIRT config CHEETAH bool + select ARM_V4 select OMAP select TSC210X
@@ -32,6 +48,7 @@ config CUBIEBOARD config DIGIC bool + select ARM_V5 select PTIMER select PFLASH_CFI02
@@ -61,6 +78,7 @@ config HIGHBANK config INTEGRATOR bool + select ARM_V5 select ARM_TIMER select INTEGRATOR_DEBUG select PL011 # UART
@@ -84,6 +102,7 @@ config MUSCA config MUSICPAL bool + select ARM_V5 select BITBANG_I2C select MARVELL_88W8618 select PTIMER
@@ -97,6 +116,7 @@ config NETDUINO2 config NSERIES bool + select ARM_V6 select OMAP select TMP105 # tempature sensor select BLIZZARD # LCD/TV controller
@@ -119,6 +139,7 @@ config OMAP config PXA2XX bool + select ARM_V5 select FRAMEBUFFER select I2C select SERIAL
@@ -229,10 +250,12 @@ config COLLIE config SX1 bool + select ARM_V4 select OMAP config VERSATILE bool + select ARM_V5 select ARM_TIMER # sp804 select PFLASH_CFI01 select LSI_SCSI_PCI
@@ -321,6 +344,7 @@ config XLNX_VERSAL config FSL_IMX25 bool + select ARM_V5 select IMX select IMX_FEC select IMX_I2C
@@ -328,6 +352,7 @@ config FSL_IMX25 config FSL_IMX31 bool + select ARM_V6 select SERIAL select IMX select IMX_I2C
@@ -343,6 +368,7 @@ config FSL_IMX6 config ASPEED_SOC bool + select ARM_V5 select DS1338 select FTGMAC100 select I2C
Signature · 1 line
2.20.1
PATCH v4 6/8 RFC target/arm: Restrict R and M profiles to TCG
In reply to Philippe Mathieu-DaudéKVM is only able to run A profile cpus.
--- target/arm/cpu.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)
target/arm/cpu.c +6 -4
@@ -453,7 +453,9 @@ bool arm_cpu_exec_interrupt(CPUState *cs, int interrupt_request)return ret; } -#if !defined(CONFIG_USER_ONLY ) || !defined(TARGET_AARCH64 ) +/* CPU models. These are not needed for the AArch64 linux-user build. */ +#if (!defined(CONFIG_USER_ONLY ) || !defined(TARGET_AARCH64 )) \ + && defined(CONFIG_TCG )static bool arm_v7m_cpu_exec_interrupt (CPUState *cs,int interrupt_request) {CPUClass *cc =CPU_GET_CLASS (cs);
@@ -1855,8 +1857,6 @@ static void cortex_m0_initfn(Object *obj) cpu->midr =0x410cc200 ; } -#endif -static void cortex_m3_initfn (Object *obj) {ARMCPU *cpu =ARM_CPU (obj);
@@ -2010,6 +2010,8 @@ static void cortex_r5f_initfn(Object *obj) cpu->isar.mvfr1 =0x00000011 ; } +#endif +static const ARMCPRegInfo cortexa8_cp_reginfo[] = { { .name ="L2LOCKDOWN" , .cp =15 , .crn =9 , .crm =0 , .opc1 =1 , .opc2 =0 , .access =PL1_RW , .type =ARM_CP_CONST , .resetvalue =0 },
@@ -2491,7 +2493,6 @@ static const ARMCPUInfo arm_cpus[] = { { .name = "arm1176", .initfn = arm1176_initfn }, { .name = "arm11mpcore", .initfn = arm11mpcore_initfn }, { .name = "cortex-m0", .initfn = cortex_m0_initfn, -#endif .class_init = arm_v7m_class_init }, { .name = "cortex-m3", .initfn = cortex_m3_initfn, .class_init = arm_v7m_class_init },
@@ -2501,6 +2502,7 @@ static const ARMCPUInfo arm_cpus[] = { .class_init = arm_v7m_class_init }, { .name = "cortex-r5", .initfn = cortex_r5_initfn }, { .name = "cortex-r5f", .initfn = cortex_r5f_initfn }, +#endif { .name = "cortex-a7", .initfn = cortex_a7_initfn }, { .name = "cortex-a8", .initfn = cortex_a8_initfn }, { .name = "cortex-a9", .initfn = cortex_a9_initfn },
Signature · 1 line
2.20.1
PATCH v4 7/8 RFC target/arm: Do not build A/M-profile cpus when using KVM
In reply to Philippe Mathieu-DaudéA KVM-only build won't be able to run A or M-profile cpus, disable them.
If KVM is not enabled, they are enabled by default.
---
Sadly this does not work with --enable-tcg --enable-kvm dual config.
--- default-configs/arm-softmmu.mak | 14 ++++++-------- hw/arm/Kconfig | 16 +++++++++++++--- 2 files changed, 19 insertions(+), 11 deletions(-)
default-configs/arm-softmmu.mak +6 -8
@@ -1,25 +1,18 @@ # Default configuration for arm-softmmu -# TODO: ARM_V7M is currently always required - make this more flexible! -CONFIG_ARM_V7M=y - # CONFIG_PCI_DEVICES=n # CONFIG_TEST_DEVICES=n +CONFIG_ARM_V7M=n CONFIG_ARM_VIRT=y CONFIG_CUBIEBOARD=y CONFIG_EXYNOS4=y CONFIG_FSL_IMX31=y -CONFIG_MUSCA=y -CONFIG_STELLARIS=y CONFIG_REALVIEW=y CONFIG_VEXPRESS=y CONFIG_ZYNQ=y -CONFIG_NETDUINO2=y -CONFIG_MPS2=y CONFIG_RASPI=y CONFIG_SABRELITE=y -CONFIG_EMCRAFT_SF2=y CONFIG_FSL_IMX7=y CONFIG_FSL_IMX6UL=y CONFIG_SEMIHOSTING=y
@@ -38,4 +31,9 @@ CONFIG_SEMIHOSTING=y #CONFIG_ASPEED_SOC=y #CONFIG_NSERIES=y #CONFIG_HIGHBANK=n +#CONFIG_MUSCA=n +#CONFIG_STELLARIS=n +#CONFIG_NETDUINO2=n +#CONFIG_MPS2=n +#CONFIG_EMCRAFT_SF2=n #CONFIG_MICROBIT=n
hw/arm/Kconfig +13 -3
@@ -13,6 +13,18 @@ config ARM_V6 depends on !KVM bool +# ARM Microcontroller profile +config ARM_V7M + default y + depends on !KVM + bool + +# ARM Realtime profile +config ARM_V7R + default y + depends on !KVM + bool + config ARM_VIRT bool imply PCI_DEVICES
@@ -295,9 +307,6 @@ config ZYNQ select XILINX_SPIPS select ZYNQ_DEVCFG -config ARM_V7M - bool - config ALLWINNER_A10 bool select AHCI
@@ -323,6 +332,7 @@ config STM32F205_SOC config XLNX_ZYNQMP_ARM bool + select ARM_V7R select AHCI select ARM_GIC select CADENCE
Signature · 1 line
2.20.1
PATCH v4 8/8 target/arm: Do not build TCG objects when TCG is off
In reply to Philippe Mathieu-DaudéWe can now safely turn all TCG dependent build off when CONFIG_TCG is off. This allows building ARM binaries with --disable-tcg.
---
v3: complete rewrite of patch content, removed R-b tags
--- target/arm/Makefile.objs | 4 ++++ 1 file changed, 4 insertions(+)
target/arm/Makefile.objs +4 -0
@@ -32,6 +32,8 @@ target/arm/translate-sve.o: target/arm/decode-sve.inc.c target/arm/translate.o: target/arm/decode-vfp.inc.c target/arm/translate.o: target/arm/decode-vfp-uncond.inc.c +ifeq ($(CONFIG_TCG),y) + obj-y += tlb_helper.o debug_helper.o obj-y += translate.o op_helper.o obj-y += crypto_helper.o
@@ -43,3 +45,5 @@ obj-$(CONFIG_SOFTMMU) += psci.o obj-$(TARGET_AARCH64) += translate-a64.o helper-a64.o obj-$(TARGET_AARCH64) += translate-sve.o sve_helper.o obj-$(TARGET_AARCH64) += pauth_helper.o + +endif # CONFIG_TCG
Signature · 1 line
2.20.1
Quoted 42 lines · Philippe Mathieu-Daudé
Paolo motived me to salvage this (other!) previous series fromi Samuel Ortiz (NEMU project).
v1 cover from Samuel [1]:
This patchset allows for building and running ARM targets with TCG disabled. It splits the
target/arm/helper.cfile into logical TCG and non TCG dependent files so that one can build and run QEMU binaries with or without TCG enabled.The rationale behind this work comes from the NEMU project where we're trying to only support x86 and ARM 64-bit architectures, without including the TCG code base. We can only do so if we can build and run ARM binaries with TCG disabled.
v2: https://lists.gnu.org/archive/html/qemu-devel/2019-06/msg03271.html
Most of the patches from v1 got adapted, except the "Move all interrupt handlers" patch, because Peter disagreed with it. See threads:
https://lists.gnu.org/archive/html/qemu-devel/2018-11/msg03908.html
https://lists.gnu.org/archive/html/qemu-devel/2019-05/msg07304.html
Anyway this is not a blocking issue, and can be done once this series get merged.v3: http://mid.mail-archive.com/[email protected]
- Addressed Alex's review comments from v2.
- added RFC patches to remove (pre-v7, M-profile, R-profile) from KVM-only buildv4:
- patches 1-12, 14-17, 19-21 accepted, rebased on target-arm.next
- addressed Peter's comment (described in each patch).
Based-on: target-arm.next$ git backport-diff -u v3 -r target-arm.next..v4 Key: [----] : patches are identical [####] : number of functional differences between upstream/downstream patch [down] : patch is downstream-only The flags [FC] indicate (F)unctional and (C)ontextual differences, respectively
Quoted 8 lines
001/8:[0048] [FC] 'target/arm: Move debug routines to
debug_helper.c' 002/8:[0004] [FC] 'target/arm: Restrict semi-hosting to TCG' 003/8:[0027] [FC] 'target/arm/helper: Move M profile routines tom_helper.c' 004/8:[----] [--] 'RFC target/arm: Restrict pre-ARMv7 cpus to TCG' 005/8:[----] [--] 'RFC target/arm: Do not build pre-ARMv7 cpus when using KVM' 006/8:[----] [--] 'RFC target/arm: Restrict R and M profiles to TCG' 007/8:[----] [--] 'RFC target/arm: Do not build A/M-profile cpus when using KVM' 008/8:[----] [--] 'target/arm: Do not build TCG objects when TCG is off'
I'm going to apply patches 1 and 2 to target-arm.next for rc0 (since 2 is helpful to redhat downstream and taking 1 now reduces the amount of code-movement patches you'll need to rebase). Patch 3 doesn't compile and 4-8 are rfc.
thanks
-- PMM
Hi Peter, Paolo, Alex, Thomas :)
Quoted 1 line · Peter Maydell
On Mon, 1 Jul 2019 at 20:49, Philippe Mathieu-Daudé <[email protected]> wrote:
[...]
Quoted 7 lines
Quoted 7 lines
$ git backport-diff -u v3 -r target-arm.next..v4 Key: [----] : patches are identical [####] : number of functional differences between upstream/downstream patch [down] : patch is downstream-only The flags [FC] indicate (F)unctional and (C)ontextual differences, respectively
[skipping patches already applied...]
Quoted 10 lines
Quoted 5 lines
004/8:[----] [--] 'RFC target/arm: Restrict pre-ARMv7 cpus to TCG' 005/8:[----] [--] 'RFC target/arm: Do not build pre-ARMv7 cpus when using KVM' 006/8:[----] [--] 'RFC target/arm: Restrict R and M profiles to TCG' 007/8:[----] [--] 'RFC target/arm: Do not build A/M-profile cpus when using KVM' 008/8:[----] [--] 'target/arm: Do not build TCG objects when TCG is off'
I'm going to apply patches 1 and 2 to target-arm.next for rc0 (since 2 is helpful to redhat downstream and taking 1 now reduces the amount of code-movement patches you'll need to rebase). Patch 3 doesn't compile and 4-8 are rfc.
The remaining patches can be applied without conflict, so no need to respin (yet) IMO.
Paolo/Thomas, do you mind reviewing patches 5 and 7? They are kconfig related.
Peter/Alex, do you mind reviewing patches 4 and 6 first, then 5 and 7 (5 and 7 can wait for Paolo/Thomas' review first).
Thanks!
Phil.
Quoted 25 lines · Philippe Mathieu-Daudé
Hi Peter, Paolo, Alex, Thomas :)
Quoted 1 line · Peter Maydell
On Mon, 1 Jul 2019 at 20:49, Philippe Mathieu-Daudé <[email protected]> wrote:
[...]
Quoted 7 lines
Quoted 7 lines
$ git backport-diff -u v3 -r target-arm.next..v4 Key: [----] : patches are identical [####] : number of functional differences between upstream/downstream patch [down] : patch is downstream-only The flags [FC] indicate (F)unctional and (C)ontextual differences, respectively[skipping patches already applied...]
Quoted 10 lines
Quoted 5 lines
004/8:[----] [--] 'RFC target/arm: Restrict pre-ARMv7 cpus to TCG' 005/8:[----] [--] 'RFC target/arm: Do not build pre-ARMv7 cpus when using KVM' 006/8:[----] [--] 'RFC target/arm: Restrict R and M profiles to TCG' 007/8:[----] [--] 'RFC target/arm: Do not build A/M-profile cpus when using KVM' 008/8:[----] [--] 'target/arm: Do not build TCG objects when TCG is off'
I'm going to apply patches 1 and 2 to target-arm.next for rc0 (since 2 is helpful to redhat downstream and taking 1 now reduces the amount of code-movement patches you'll need to rebase). Patch 3 doesn't compile and 4-8 are rfc.
Quoted 8 lines
The remaining patches can be applied without conflict, so no need to respin (yet) IMO.
Paolo/Thomas, do you mind reviewing patches 5 and 7? They are kconfig related.
Peter/Alex, do you mind reviewing patches 4 and 6 first, then 5 and 7 (5 and 7 can wait for Paolo/Thomas' review first).
Patches 4/6 were tagged 'RFC' for late 4.1 inclusion, so can be considered normal patches once 4.2 dev cycle opens.
Patchew URL: https://patchew.org/QEMU/[email protected]/
Patchew URL: https://patchew.org/QEMU/[email protected]/
Hi,
This series failed the asan build test. Please find the testing commands and their output below. If you have Docker installed, you can probably reproduce it locally.
=== TEST SCRIPT BEGIN ===
#!/bin/bash
make docker-image-fedora V=1 NETWORK=1
time make docker-test-debug@fedora TARGET_LIST=x86_64-softmmu J=14 NETWORK=1 === TEST SCRIPT END ===
PASS 1 fdc-test /x86_64/fdc/cmos
PASS 2 fdc-test /x86_64/fdc/no_media_on_start
PASS 3 fdc-test /x86_64/fdc/read_without_media
==7805==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 4 fdc-test /x86_64/fdc/media_change
PASS 5 fdc-test /x86_64/fdc/sense_interrupt
PASS 6 fdc-test /x86_64/fdc/relative_seek
---
PASS 32 test-opts-visitor /visitor/opts/range/beyond
PASS 33 test-opts-visitor /visitor/opts/dict/unvisited
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} tests/test-coroutine -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="test-coroutine"
==7868==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
==7868==WARNING: ASan is ignoring requested __asan_handle_no_return: stack top: 0x7ffcf388d000; bottom 0x7f32cdbf8000; size: 0x00ca25c95000 (868217344000)
False positive error reports may follow
For details see https://github.com/google/sanitizers/issues/189
PASS 1 test-coroutine /basic/no-dangling-access
---
PASS 13 test-aio /aio/event/wait/no-flush-cb
PASS 12 fdc-test /x86_64/fdc/read_no_dma_19
PASS 13 fdc-test /x86_64/fdc/fuzz-registers
==7883==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 14 test-aio /aio/timer/schedule
PASS 15 test-aio /aio/coroutine/queue-chaining
PASS 16 test-aio /aio-gsource/flush
---
PASS 26 test-aio /aio-gsource/event/flush
PASS 27 test-aio /aio-gsource/event/wait/no-flush-cb
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} QTEST_QEMU_BINARY=x86_64-softmmu/qemu-system-x86_64 QTEST_QEMU_IMG=qemu-img tests/ide-test -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="ide-test" ==7892==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 1 ide-test /x86_64/ide/identify
PASS 28 test-aio /aio-gsource/timer/schedule
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} tests/test-aio-multithread -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="test-aio-multithread"
==7898==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
==7901==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 1 test-aio-multithread /aio/multi/lifecycle
PASS 2 ide-test /x86_64/ide/flush
==7919==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 2 test-aio-multithread /aio/multi/schedule
PASS 3 ide-test /x86_64/ide/bmdma/simple_rw
==7930==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 3 test-aio-multithread /aio/multi/mutex/contended
PASS 4 ide-test /x86_64/ide/bmdma/trim
==7941==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 5 ide-test /x86_64/ide/bmdma/short_prdt
==7947==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 6 ide-test /x86_64/ide/bmdma/one_sector_short_prdt
==7953==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 4 test-aio-multithread /aio/multi/mutex/handoff
PASS 7 ide-test /x86_64/ide/bmdma/long_prdt
==7964==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
==7964==WARNING: ASan is ignoring requested __asan_handle_no_return: stack top: 0x7fff12319000; bottom 0x7efed15ba000; size: 0x010040d5f000 (1100599390208)
False positive error reports may follow
For details see https://github.com/google/sanitizers/issues/189
PASS 5 test-aio-multithread /aio/multi/mutex/mcs
---
PASS 6 test-aio-multithread /aio/multi/mutex/pthread
PASS 9 ide-test /x86_64/ide/flush/nodev
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} tests/test-throttle -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="test-throttle"
==7983==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 1 test-throttle /throttle/leak_bucket
PASS 2 test-throttle /throttle/compute_wait
PASS 3 test-throttle /throttle/init
---
PASS 14 test-throttle /throttle/config/max
PASS 15 test-throttle /throttle/config/iops_size
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} tests/test-thread-pool -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="test-thread-pool"
==7988==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 1 test-thread-pool /thread-pool/submit
PASS 2 test-thread-pool /thread-pool/submit-aio
PASS 3 test-thread-pool /thread-pool/submit-co
PASS 4 test-thread-pool /thread-pool/submit-many
==7981==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 10 ide-test /x86_64/ide/flush/empty_drive
==8059==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 5 test-thread-pool /thread-pool/cancel
PASS 11 ide-test /x86_64/ide/flush/retry_pci
==8066==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 12 ide-test /x86_64/ide/flush/retry_isa
==8072==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 6 test-thread-pool /thread-pool/cancel-async
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} tests/test-hbitmap -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="test-hbitmap"
PASS 13 ide-test /x86_64/ide/cdrom/pio
---
PASS 3 test-hbitmap /hbitmap/size/unaligned
PASS 4 test-hbitmap /hbitmap/iter/empty
PASS 5 test-hbitmap /hbitmap/iter/partial
==8083==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 6 test-hbitmap /hbitmap/iter/granularity
PASS 7 test-hbitmap /hbitmap/iter/iter_and_reset
PASS 8 test-hbitmap /hbitmap/get/all
---
PASS 19 test-hbitmap /hbitmap/truncate/nop
PASS 20 test-hbitmap /hbitmap/truncate/grow/negligible
PASS 21 test-hbitmap /hbitmap/truncate/grow/tiny
==8089==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 22 test-hbitmap /hbitmap/truncate/grow/small
PASS 23 test-hbitmap /hbitmap/truncate/grow/medium
PASS 24 test-hbitmap /hbitmap/truncate/grow/large
---
PASS 30 test-hbitmap /hbitmap/meta/zero
PASS 15 ide-test /x86_64/ide/cdrom/dma
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} QTEST_QEMU_BINARY=x86_64-softmmu/qemu-system-x86_64 QTEST_QEMU_IMG=qemu-img tests/ahci-test -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="ahci-test" ==8103==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 1 ahci-test /x86_64/ahci/sanity
==8109==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 2 ahci-test /x86_64/ahci/pci_spec
==8115==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 31 test-hbitmap /hbitmap/meta/one
PASS 32 test-hbitmap /hbitmap/meta/byte
PASS 33 test-hbitmap /hbitmap/meta/word
PASS 3 ahci-test /x86_64/ahci/pci_enable
==8121==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 34 test-hbitmap /hbitmap/meta/sector
PASS 35 test-hbitmap /hbitmap/serialize/align
PASS 4 ahci-test /x86_64/ahci/hba_spec
==8127==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 5 ahci-test /x86_64/ahci/hba_enable
==8133==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 36 test-hbitmap /hbitmap/serialize/basic
PASS 37 test-hbitmap /hbitmap/serialize/part
PASS 38 test-hbitmap /hbitmap/serialize/zeroes
---
PASS 6 ahci-test /x86_64/ahci/identify
PASS 43 test-hbitmap /hbitmap/next_dirty_area/next_dirty_area_4
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} tests/test-bdrv-drain -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="test-bdrv-drain"
==8142==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
==8139==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 1 test-bdrv-drain /bdrv-drain/nested
PASS 2 test-bdrv-drain /bdrv-drain/multiparent
PASS 3 test-bdrv-drain /bdrv-drain/set_aio_context
---
PASS 39 test-bdrv-drain /bdrv-drain/attach/drain
PASS 7 ahci-test /x86_64/ahci/max
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} tests/test-bdrv-graph-mod -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="test-bdrv-graph-mod"
==8188==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 1 test-bdrv-graph-mod /bdrv-graph-mod/update-perm-tree
PASS 2 test-bdrv-graph-mod /bdrv-graph-mod/should-update-child
==8186==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} tests/test-blockjob -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="test-blockjob"
==8197==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 1 test-blockjob /blockjob/ids
PASS 2 test-blockjob /blockjob/cancel/created
PASS 3 test-blockjob /blockjob/cancel/running
---
PASS 7 test-blockjob /blockjob/cancel/pending
PASS 8 test-blockjob /blockjob/cancel/concluded
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} tests/test-blockjob-txn -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="test-blockjob-txn"
==8203==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 8 ahci-test /x86_64/ahci/reset
PASS 1 test-blockjob-txn /single/success
PASS 2 test-blockjob-txn /single/failure
---
PASS 6 test-blockjob-txn /pair/cancel
PASS 7 test-blockjob-txn /pair/fail-cancel-race
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} tests/test-block-backend -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="test-block-backend"
==8209==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 1 test-block-backend /block-backend/drain_aio_error
PASS 2 test-block-backend /block-backend/drain_all_aio_error
==8206==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} tests/test-block-iothread -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="test-block-iothread"
==8206==WARNING: ASan is ignoring requested __asan_handle_no_return: stack top: 0x7ffce6777000; bottom 0x7f561c1fe000; size: 0x00a6ca579000 (716359307264)
False positive error reports may follow
For details see https://github.com/google/sanitizers/issues/189
==8218==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 1 test-block-iothread /sync-op/pread
PASS 2 test-block-iothread /sync-op/pwrite
PASS 3 test-block-iothread /sync-op/load_vmstate
---
PASS 16 test-block-iothread /propagate/mirror
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} tests/test-image-locking -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="test-image-locking"
PASS 9 ahci-test /x86_64/ahci/io/pio/lba28/simple/zero
==8240==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 1 test-image-locking /image-locking/basic
PASS 2 test-image-locking /image-locking/set-perm-abort
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} tests/test-x86-cpuid -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="test-x86-cpuid"
==8242==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 1 test-x86-cpuid /cpuid/topology/basic
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} tests/test-xbzrle -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="test-xbzrle"
==8242==WARNING: ASan is ignoring requested __asan_handle_no_return: stack top: 0x7fff97285000; bottom 0x7f55251fe000; size: 0x00aa72087000 (732057595904)
False positive error reports may follow
For details see https://github.com/google/sanitizers/issues/189
PASS 1 test-xbzrle /xbzrle/uleb
---
PASS 5 test-xbzrle /xbzrle/encode_decode_overflow
PASS 10 ahci-test /x86_64/ahci/io/pio/lba28/simple/low
PASS 6 test-xbzrle /xbzrle/encode_decode
==8257==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} tests/test-vmstate -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="test-vmstate"
==8257==WARNING: ASan is ignoring requested __asan_handle_no_return: stack top: 0x7ffe92965000; bottom 0x7f8e52bfe000; size: 0x00703fd67000 (482107355136)
False positive error reports may follow
For details see https://github.com/google/sanitizers/issues/189
PASS 1 test-vmstate /vmstate/tmp_struct
---
PASS 1 test-mul64 /host-utils/mulu64
PASS 2 test-mul64 /host-utils/muls64
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} tests/test-int128 -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="test-int128"
==8277==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 1 test-int128 /int128/int128_and
PASS 2 test-int128 /int128/int128_add
PASS 3 test-int128 /int128/int128_sub
---
PASS 9 test-int128 /int128/int128_gt
PASS 10 test-int128 /int128/int128_rshift
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} tests/rcutorture -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="rcutorture"
==8277==WARNING: ASan is ignoring requested __asan_handle_no_return: stack top: 0x7ffd05e6e000; bottom 0x7fcd61ffe000; size: 0x002fa3e70000 (204613287936)
False positive error reports may follow
For details see https://github.com/google/sanitizers/issues/189
PASS 12 ahci-test /x86_64/ahci/io/pio/lba28/double/zero
==8302==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 1 rcutorture /rcu/torture/1reader
==8302==WARNING: ASan is ignoring requested __asan_handle_no_return: stack top: 0x7ffec1ffc000; bottom 0x7fd27adfe000; size: 0x002c471fe000 (190171832320)
False positive error reports may follow
For details see https://github.com/google/sanitizers/issues/189
PASS 13 ahci-test /x86_64/ahci/io/pio/lba28/double/low
==8324==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 2 rcutorture /rcu/torture/10readers
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} tests/test-rcu-list -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="test-rcu-list"
==8324==WARNING: ASan is ignoring requested __asan_handle_no_return: stack top: 0x7ffd74877000; bottom 0x7f73487fe000; size: 0x008a2c079000 (593444179968)
False positive error reports may follow
For details see https://github.com/google/sanitizers/issues/189
PASS 14 ahci-test /x86_64/ahci/io/pio/lba28/double/high
PASS 1 test-rcu-list /rcu/qlist/single-threaded
==8337==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
==8337==WARNING: ASan is ignoring requested __asan_handle_no_return: stack top: 0x7ffdc765d000; bottom 0x7f02cd9fe000; size: 0x00faf9c5f000 (1077932322816)
False positive error reports may follow
For details see https://github.com/google/sanitizers/issues/189
PASS 15 ahci-test /x86_64/ahci/io/pio/lba28/long/zero
PASS 2 test-rcu-list /rcu/qlist/short-few
==8349==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
==8349==WARNING: ASan is ignoring requested __asan_handle_no_return: stack top: 0x7ffcd8872000; bottom 0x7f2911d24000; size: 0x00d3c6b4e000 (909571842048)
False positive error reports may follow
For details see https://github.com/google/sanitizers/issues/189
PASS 16 ahci-test /x86_64/ahci/io/pio/lba28/long/low
==8376==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 3 test-rcu-list /rcu/qlist/long-many
==8376==WARNING: ASan is ignoring requested __asan_handle_no_return: stack top: 0x7ffd7afc6000; bottom 0x7f07f9924000; size: 0x00f5816a2000 (1054438203392)
False positive error reports may follow
For details see https://github.com/google/sanitizers/issues/189
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} tests/test-rcu-simpleq -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="test-rcu-simpleq"
PASS 17 ahci-test /x86_64/ahci/io/pio/lba28/long/high
PASS 1 test-rcu-simpleq /rcu/qsimpleq/single-threaded
==8389==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 18 ahci-test /x86_64/ahci/io/pio/lba28/short/zero
PASS 2 test-rcu-simpleq /rcu/qsimpleq/short-few
==8401==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 19 ahci-test /x86_64/ahci/io/pio/lba28/short/low
==8428==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 20 ahci-test /x86_64/ahci/io/pio/lba28/short/high
PASS 3 test-rcu-simpleq /rcu/qsimpleq/long-many
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} tests/test-rcu-tailq -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="test-rcu-tailq"
==8434==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
==8434==WARNING: ASan is ignoring requested __asan_handle_no_return: stack top: 0x7ffea6ad9000; bottom 0x7f77ceffe000; size: 0x0086d7adb000 (579144101888)
False positive error reports may follow
For details see https://github.com/google/sanitizers/issues/189
PASS 21 ahci-test /x86_64/ahci/io/pio/lba48/simple/zero
PASS 1 test-rcu-tailq /rcu/qtailq/single-threaded
==8447==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
==8447==WARNING: ASan is ignoring requested __asan_handle_no_return: stack top: 0x7ffc53cb0000; bottom 0x7f0b80ffe000; size: 0x00f0d2cb2000 (1034328678400)
False positive error reports may follow
For details see https://github.com/google/sanitizers/issues/189
PASS 22 ahci-test /x86_64/ahci/io/pio/lba48/simple/low
PASS 2 test-rcu-tailq /rcu/qtailq/short-few
==8459==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
==8459==WARNING: ASan is ignoring requested __asan_handle_no_return: stack top: 0x7fffe0ca1000; bottom 0x7f66037fe000; size: 0x0099dd4a3000 (660842622976)
False positive error reports may follow
For details see https://github.com/google/sanitizers/issues/189
PASS 23 ahci-test /x86_64/ahci/io/pio/lba48/simple/high
==8486==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
==8486==WARNING: ASan is ignoring requested __asan_handle_no_return: stack top: 0x7ffc864ca000; bottom 0x7fbacbdfe000; size: 0x0041ba6cc000 (282300563456)
False positive error reports may follow
For details see https://github.com/google/sanitizers/issues/189
PASS 3 test-rcu-tailq /rcu/qtailq/long-many
---
PASS 7 test-qdist /qdist/binning/expand
PASS 8 test-qdist /qdist/binning/shrink
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} tests/test-qht -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="test-qht"
==8497==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
==8497==WARNING: ASan is ignoring requested __asan_handle_no_return: stack top: 0x7ffca1164000; bottom 0x7f51933fe000; size: 0x00ab0dd66000 (734671560704)
False positive error reports may follow
For details see https://github.com/google/sanitizers/issues/189
PASS 25 ahci-test /x86_64/ahci/io/pio/lba48/double/low
==8507==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
==8507==WARNING: ASan is ignoring requested __asan_handle_no_return: stack top: 0x7ffd5e763000; bottom 0x7f7d3d1fe000; size: 0x008021565000 (550315118592)
False positive error reports may follow
For details see https://github.com/google/sanitizers/issues/189
PASS 26 ahci-test /x86_64/ahci/io/pio/lba48/double/high
==8513==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
==8513==WARNING: ASan is ignoring requested __asan_handle_no_return: stack top: 0x7ffc1d756000; bottom 0x7ff439d24000; size: 0x0007e3a32000 (33883889664)
False positive error reports may follow
For details see https://github.com/google/sanitizers/issues/189
PASS 27 ahci-test /x86_64/ahci/io/pio/lba48/long/zero
==8519==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
==8519==WARNING: ASan is ignoring requested __asan_handle_no_return: stack top: 0x7ffe172cb000; bottom 0x7f5eca17c000; size: 0x009f4d14f000 (684193017856)
False positive error reports may follow
For details see https://github.com/google/sanitizers/issues/189
PASS 28 ahci-test /x86_64/ahci/io/pio/lba48/long/low
==8525==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
==8525==WARNING: ASan is ignoring requested __asan_handle_no_return: stack top: 0x7fffd6b43000; bottom 0x7f3484b7c000; size: 0x00cb51fc7000 (873253859328)
False positive error reports may follow
For details see https://github.com/google/sanitizers/issues/189
PASS 29 ahci-test /x86_64/ahci/io/pio/lba48/long/high
==8531==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 30 ahci-test /x86_64/ahci/io/pio/lba48/short/zero
==8537==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 31 ahci-test /x86_64/ahci/io/pio/lba48/short/low
==8543==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 32 ahci-test /x86_64/ahci/io/pio/lba48/short/high
==8549==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 33 ahci-test /x86_64/ahci/io/dma/lba28/fragmented
==8555==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 34 ahci-test /x86_64/ahci/io/dma/lba28/retry
==8561==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 35 ahci-test /x86_64/ahci/io/dma/lba28/simple/zero
PASS 1 test-qht /qht/mode/default
==8567==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 2 test-qht /qht/mode/resize
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} tests/test-qht-par -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="test-qht-par"
PASS 36 ahci-test /x86_64/ahci/io/dma/lba28/simple/low
==8583==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 1 test-qht-par /qht/parallel/2threads-0%updates-1s
PASS 37 ahci-test /x86_64/ahci/io/dma/lba28/simple/high
==8596==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 2 test-qht-par /qht/parallel/2threads-20%updates-1s
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} tests/test-bitops -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="test-bitops"
PASS 38 ahci-test /x86_64/ahci/io/dma/lba28/double/zero
---
PASS 5 test-bitops /bitops/half_unshuffle32
PASS 6 test-bitops /bitops/half_unshuffle64
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} tests/test-bitcnt -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="test-bitcnt"
==8608==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 1 test-bitcnt /bitcnt/ctpop8
PASS 2 test-bitcnt /bitcnt/ctpop16
PASS 3 test-bitcnt /bitcnt/ctpop32
---
PASS 8 check-qom-proplist /qom/proplist/delchild
PASS 9 check-qom-proplist /qom/resolve/partial
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} tests/test-qemu-opts -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="test-qemu-opts"
==8633==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 1 test-qemu-opts /qemu-opts/find_unknown_opts
PASS 2 test-qemu-opts /qemu-opts/find_opts
PASS 3 test-qemu-opts /qemu-opts/opts_create
---
PASS 3 test-crypto-hmac /crypto/hmac/prealloc
PASS 4 test-crypto-hmac /crypto/hmac/digest
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} tests/test-crypto-cipher -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="test-crypto-cipher"
==8656==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 1 test-crypto-cipher /crypto/cipher/aes-ecb-128
PASS 2 test-crypto-cipher /crypto/cipher/aes-ecb-192
PASS 3 test-crypto-cipher /crypto/cipher/aes-ecb-256
---
PASS 41 ahci-test /x86_64/ahci/io/dma/lba28/long/zero
PASS 1 test-crypto-tlscredsx509 /qcrypto/tlscredsx509/perfectserver
PASS 2 test-crypto-tlscredsx509 /qcrypto/tlscredsx509/perfectclient
==8686==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 3 test-crypto-tlscredsx509 /qcrypto/tlscredsx509/goodca1
PASS 42 ahci-test /x86_64/ahci/io/dma/lba28/long/low
PASS 4 test-crypto-tlscredsx509 /qcrypto/tlscredsx509/goodca2
==8692==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 43 ahci-test /x86_64/ahci/io/dma/lba28/long/high
==8698==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 5 test-crypto-tlscredsx509 /qcrypto/tlscredsx509/goodca3
PASS 6 test-crypto-tlscredsx509 /qcrypto/tlscredsx509/badca1
PASS 7 test-crypto-tlscredsx509 /qcrypto/tlscredsx509/badca2
PASS 8 test-crypto-tlscredsx509 /qcrypto/tlscredsx509/badca3
PASS 44 ahci-test /x86_64/ahci/io/dma/lba28/short/zero
PASS 9 test-crypto-tlscredsx509 /qcrypto/tlscredsx509/goodserver1
==8704==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 10 test-crypto-tlscredsx509 /qcrypto/tlscredsx509/goodserver2
PASS 45 ahci-test /x86_64/ahci/io/dma/lba28/short/low
PASS 11 test-crypto-tlscredsx509 /qcrypto/tlscredsx509/goodserver3
==8710==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 12 test-crypto-tlscredsx509 /qcrypto/tlscredsx509/goodserver4
PASS 46 ahci-test /x86_64/ahci/io/dma/lba28/short/high
PASS 13 test-crypto-tlscredsx509 /qcrypto/tlscredsx509/goodserver5
==8716==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 14 test-crypto-tlscredsx509 /qcrypto/tlscredsx509/goodserver6
PASS 15 test-crypto-tlscredsx509 /qcrypto/tlscredsx509/goodserver7
PASS 16 test-crypto-tlscredsx509 /qcrypto/tlscredsx509/badserver1
---
PASS 39 test-crypto-tlscredsx509 /qcrypto/tlscredsx509/missingclient
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} tests/test-crypto-tlssession -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="test-crypto-tlssession"
PASS 47 ahci-test /x86_64/ahci/io/dma/lba48/simple/zero
==8726==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 1 test-crypto-tlssession /qcrypto/tlssession/psk
PASS 2 test-crypto-tlssession /qcrypto/tlssession/basicca
PASS 3 test-crypto-tlssession /qcrypto/tlssession/differentca
PASS 48 ahci-test /x86_64/ahci/io/dma/lba48/simple/low
PASS 4 test-crypto-tlssession /qcrypto/tlssession/altname1
==8733==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 49 ahci-test /x86_64/ahci/io/dma/lba48/simple/high
PASS 5 test-crypto-tlssession /qcrypto/tlssession/altname2
==8739==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 6 test-crypto-tlssession /qcrypto/tlssession/altname3
PASS 50 ahci-test /x86_64/ahci/io/dma/lba48/double/zero
PASS 7 test-crypto-tlssession /qcrypto/tlssession/altname4
==8745==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 8 test-crypto-tlssession /qcrypto/tlssession/altname5
PASS 51 ahci-test /x86_64/ahci/io/dma/lba48/double/low
PASS 9 test-crypto-tlssession /qcrypto/tlssession/altname6
==8751==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 10 test-crypto-tlssession /qcrypto/tlssession/wildcard1
PASS 11 test-crypto-tlssession /qcrypto/tlssession/wildcard2
PASS 52 ahci-test /x86_64/ahci/io/dma/lba48/double/high
PASS 12 test-crypto-tlssession /qcrypto/tlssession/wildcard3
PASS 13 test-crypto-tlssession /qcrypto/tlssession/wildcard4
==8757==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 14 test-crypto-tlssession /qcrypto/tlssession/wildcard5
PASS 53 ahci-test /x86_64/ahci/io/dma/lba48/long/zero
PASS 15 test-crypto-tlssession /qcrypto/tlssession/wildcard6
==8763==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 16 test-crypto-tlssession /qcrypto/tlssession/cachain
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} tests/test-qga -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="test-qga"
PASS 54 ahci-test /x86_64/ahci/io/dma/lba48/long/low
---
PASS 6 test-qga /qga/get-vcpus
PASS 7 test-qga /qga/get-fsinfo
PASS 8 test-qga /qga/get-memory-block-info
==8775==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 9 test-qga /qga/get-memory-blocks
PASS 10 test-qga /qga/file-ops
PASS 11 test-qga /qga/file-write-read
---
PASS 19 test-qga /qga/config
PASS 20 test-qga /qga/guest-exec
PASS 21 test-qga /qga/guest-exec-invalid
==8782==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 56 ahci-test /x86_64/ahci/io/dma/lba48/short/zero
PASS 22 test-qga /qga/guest-get-osinfo
PASS 23 test-qga /qga/guest-get-host-name
PASS 24 test-qga /qga/guest-get-timezone
PASS 25 test-qga /qga/guest-get-users
==8795==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} tests/test-timed-average -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="test-timed-average"
PASS 1 test-timed-average /timed-average/average
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} tests/test-util-filemonitor -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="test-util-filemonitor"
---
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} tests/test-authz-simple -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="test-authz-simple"
PASS 1 test-authz-simple /authz/simple
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} tests/test-authz-list -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="test-authz-list"
==8819==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 1 test-authz-list /auth/list/complex
PASS 2 test-authz-list /auth/list/add-remove
PASS 3 test-authz-list /auth/list/default/deny
---
PASS 4 test-io-channel-file /io/channel/pipe/sync
PASS 5 test-io-channel-file /io/channel/pipe/async
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} tests/test-io-channel-tls -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="test-io-channel-tls"
==8860==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 59 ahci-test /x86_64/ahci/io/ncq/simple
PASS 1 test-io-channel-tls /qio/channel/tls/basic
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} tests/test-io-channel-command -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="test-io-channel-command"
==8908==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 1 test-io-channel-command /io/channel/command/fifo/sync
PASS 2 test-io-channel-command /io/channel/command/fifo/async
PASS 3 test-io-channel-command /io/channel/command/echo/sync
---
PASS 3 test-crypto-afsplit /crypto/afsplit/sha256/big
PASS 4 test-crypto-afsplit /crypto/afsplit/sha1/1000
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} tests/test-crypto-xts -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="test-crypto-xts"
==8938==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 1 test-crypto-xts /crypto/xts/t-1-key-32-ptx-32/basic
PASS 2 test-crypto-xts /crypto/xts/t-1-key-32-ptx-32/split
PASS 3 test-crypto-xts /crypto/xts/t-1-key-32-ptx-32/unaligned
---
PASS 1 test-logging /logging/parse_range
PASS 2 test-logging /logging/parse_path
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} tests/test-replication -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="test-replication"
==8970==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
==8968==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 1 test-replication /replication/primary/read
PASS 2 test-replication /replication/primary/write
PASS 62 ahci-test /x86_64/ahci/flush/retry
---
PASS 4 test-replication /replication/primary/stop
PASS 5 test-replication /replication/primary/do_checkpoint
PASS 6 test-replication /replication/primary/get_error_all
==8979==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
==8984==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 7 test-replication /replication/secondary/read
PASS 8 test-replication /replication/secondary/write
PASS 63 ahci-test /x86_64/ahci/flush/migrate
==8993==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
==8970==WARNING: ASan is ignoring requested __asan_handle_no_return: stack top: 0x7ffceb234000; bottom 0x7fb98d1fc000; size: 0x00435e038000 (289340096512)
False positive error reports may follow
For details see https://github.com/google/sanitizers/issues/189
==8998==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 9 test-replication /replication/secondary/start
PASS 64 ahci-test /x86_64/ahci/migrate/sanity
==9037==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 10 test-replication /replication/secondary/stop
==9042==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 11 test-replication /replication/secondary/do_checkpoint
PASS 65 ahci-test /x86_64/ahci/migrate/dma/simple
PASS 12 test-replication /replication/secondary/get_error_all
==9051==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} tests/test-bufferiszero -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="test-bufferiszero"
==9058==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 66 ahci-test /x86_64/ahci/migrate/dma/halted
==9069==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
==9074==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 67 ahci-test /x86_64/ahci/migrate/ncq/simple
==9084==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
==9089==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 68 ahci-test /x86_64/ahci/migrate/ncq/halted
==9098==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 69 ahci-test /x86_64/ahci/cdrom/eject
==9103==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 70 ahci-test /x86_64/ahci/cdrom/dma/single
==9109==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 71 ahci-test /x86_64/ahci/cdrom/dma/multi
==9115==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 72 ahci-test /x86_64/ahci/cdrom/pio/single
==9121==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
==9121==WARNING: ASan is ignoring requested __asan_handle_no_return: stack top: 0x7ffe2ba8e000; bottom 0x7f967d1fe000; size: 0x0067ae890000 (445309845504)
False positive error reports may follow
For details see https://github.com/google/sanitizers/issues/189
PASS 73 ahci-test /x86_64/ahci/cdrom/pio/multi
==9127==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 74 ahci-test /x86_64/ahci/cdrom/pio/bcl
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} QTEST_QEMU_BINARY=x86_64-softmmu/qemu-system-x86_64 QTEST_QEMU_IMG=qemu-img tests/hd-geo-test -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="hd-geo-test" PASS 1 hd-geo-test /x86_64/hd-geo/ide/none
==9141==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 2 hd-geo-test /x86_64/hd-geo/ide/drive/cd_0
==9147==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 3 hd-geo-test /x86_64/hd-geo/ide/drive/mbr/blank
==9153==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 4 hd-geo-test /x86_64/hd-geo/ide/drive/mbr/lba
==9159==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 5 hd-geo-test /x86_64/hd-geo/ide/drive/mbr/chs
==9165==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 6 hd-geo-test /x86_64/hd-geo/ide/device/mbr/blank
==9171==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 7 hd-geo-test /x86_64/hd-geo/ide/device/mbr/lba
==9177==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 8 hd-geo-test /x86_64/hd-geo/ide/device/mbr/chs
==9183==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 9 hd-geo-test /x86_64/hd-geo/ide/device/user/chs
==9188==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 10 hd-geo-test /x86_64/hd-geo/ide/device/user/chst
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} QTEST_QEMU_BINARY=x86_64-softmmu/qemu-system-x86_64 QTEST_QEMU_IMG=qemu-img tests/boot-order-test -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="boot-order-test" PASS 1 test-bufferiszero /cutils/bufferiszero
---
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize KVM: No such file or directory
qemu-system-x86_64: Back to tcg accelerator
==9273==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 1 bios-tables-test /x86_64/acpi/piix4
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize KVM: No such file or directory
qemu-system-x86_64: Back to tcg accelerator
==9279==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 2 bios-tables-test /x86_64/acpi/q35
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize KVM: No such file or directory
qemu-system-x86_64: Back to tcg accelerator
==9285==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 3 bios-tables-test /x86_64/acpi/piix4/bridge
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize KVM: No such file or directory
qemu-system-x86_64: Back to tcg accelerator
==9291==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 4 bios-tables-test /x86_64/acpi/piix4/ipmi
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize KVM: No such file or directory
qemu-system-x86_64: Back to tcg accelerator
==9297==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 5 bios-tables-test /x86_64/acpi/piix4/cpuhp
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize KVM: No such file or directory
qemu-system-x86_64: Back to tcg accelerator
==9304==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 6 bios-tables-test /x86_64/acpi/piix4/memhp
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize KVM: No such file or directory
qemu-system-x86_64: Back to tcg accelerator
==9310==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 7 bios-tables-test /x86_64/acpi/piix4/numamem
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize KVM: No such file or directory
qemu-system-x86_64: Back to tcg accelerator
==9316==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 8 bios-tables-test /x86_64/acpi/piix4/dimmpxm
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize KVM: No such file or directory
qemu-system-x86_64: Back to tcg accelerator
==9325==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 9 bios-tables-test /x86_64/acpi/q35/bridge
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize KVM: No such file or directory
qemu-system-x86_64: Back to tcg accelerator
==9331==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 10 bios-tables-test /x86_64/acpi/q35/mmio64
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize KVM: No such file or directory
qemu-system-x86_64: Back to tcg accelerator
==9337==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 11 bios-tables-test /x86_64/acpi/q35/ipmi
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize KVM: No such file or directory
qemu-system-x86_64: Back to tcg accelerator
==9343==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 12 bios-tables-test /x86_64/acpi/q35/cpuhp
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize KVM: No such file or directory
qemu-system-x86_64: Back to tcg accelerator
==9350==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 13 bios-tables-test /x86_64/acpi/q35/memhp
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize KVM: No such file or directory
qemu-system-x86_64: Back to tcg accelerator
==9356==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 14 bios-tables-test /x86_64/acpi/q35/numamem
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize KVM: No such file or directory
qemu-system-x86_64: Back to tcg accelerator
==9362==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 15 bios-tables-test /x86_64/acpi/q35/dimmpxm
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} QTEST_QEMU_BINARY=x86_64-softmmu/qemu-system-x86_64 QTEST_QEMU_IMG=qemu-img tests/boot-serial-test -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="boot-serial-test" PASS 1 boot-serial-test /x86_64/boot-serial/isapc
---
PASS 1 i440fx-test /x86_64/i440fx/defaults
PASS 2 i440fx-test /x86_64/i440fx/pam
PASS 3 i440fx-test /x86_64/i440fx/firmware/bios
==9446==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 4 i440fx-test /x86_64/i440fx/firmware/pflash
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} QTEST_QEMU_BINARY=x86_64-softmmu/qemu-system-x86_64 QTEST_QEMU_IMG=qemu-img tests/fw_cfg-test -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="fw_cfg-test" PASS 1 fw_cfg-test /x86_64/fw_cfg/signature
---
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} QTEST_QEMU_BINARY=x86_64-softmmu/qemu-system-x86_64 QTEST_QEMU_IMG=qemu-img tests/drive_del-test -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="drive_del-test" PASS 1 drive_del-test /x86_64/drive_del/without-dev
PASS 2 drive_del-test /x86_64/drive_del/after_failed_device_add
==9534==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 3 drive_del-test /x86_64/blockdev/drive_del_device_del
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} QTEST_QEMU_BINARY=x86_64-softmmu/qemu-system-x86_64 QTEST_QEMU_IMG=qemu-img tests/wdt_ib700-test -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="wdt_ib700-test" PASS 1 wdt_ib700-test /x86_64/wdt_ib700/pause
---
PASS 1 usb-hcd-uhci-test /x86_64/uhci/pci/init
PASS 2 usb-hcd-uhci-test /x86_64/uhci/pci/port1
PASS 3 usb-hcd-uhci-test /x86_64/uhci/pci/hotplug
==9729==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 4 usb-hcd-uhci-test /x86_64/uhci/pci/hotplug/usb-storage
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} QTEST_QEMU_BINARY=x86_64-softmmu/qemu-system-x86_64 QTEST_QEMU_IMG=qemu-img tests/usb-hcd-xhci-test -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="usb-hcd-xhci-test" PASS 1 usb-hcd-xhci-test /x86_64/xhci/pci/init
PASS 2 usb-hcd-xhci-test /x86_64/xhci/pci/hotplug
==9738==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 3 usb-hcd-xhci-test /x86_64/xhci/pci/hotplug/usb-uas
PASS 4 usb-hcd-xhci-test /x86_64/xhci/pci/hotplug/usb-ccid
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} QTEST_QEMU_BINARY=x86_64-softmmu/qemu-system-x86_64 QTEST_QEMU_IMG=qemu-img tests/cpu-plug-test -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="cpu-plug-test"
---
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize KVM: No such file or directory
qemu-system-x86_64: Back to tcg accelerator
==9844==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 1 vmgenid-test /x86_64/vmgenid/vmgenid/set-guid
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize KVM: No such file or directory
qemu-system-x86_64: Back to tcg accelerator
==9850==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 2 vmgenid-test /x86_64/vmgenid/vmgenid/set-guid-auto
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize KVM: No such file or directory
qemu-system-x86_64: Back to tcg accelerator
==9856==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 3 vmgenid-test /x86_64/vmgenid/vmgenid/query-monitor
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} QTEST_QEMU_BINARY=x86_64-softmmu/qemu-system-x86_64 QTEST_QEMU_IMG=qemu-img tests/tpm-crb-swtpm-test -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="tpm-crb-swtpm-test" SKIP 1 tpm-crb-swtpm-test /x86_64/tpm/crb-swtpm/test # SKIP swtpm not in PATH or missing --tpm2 support
---
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize KVM: No such file or directory
qemu-system-x86_64: Back to tcg accelerator
==9961==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize KVM: No such file or directory
qemu-system-x86_64: Back to tcg accelerator
==9966==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 3 migration-test /x86_64/migration/fd_proto
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize KVM: No such file or directory
qemu-system-x86_64: Back to tcg accelerator
==9974==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize KVM: No such file or directory
qemu-system-x86_64: Back to tcg accelerator
==9979==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 4 migration-test /x86_64/migration/postcopy/unix
PASS 5 migration-test /x86_64/migration/postcopy/recovery
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize KVM: No such file or directory
qemu-system-x86_64: Back to tcg accelerator
==10009==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize KVM: No such file or directory
qemu-system-x86_64: Back to tcg accelerator
==10014==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 6 migration-test /x86_64/migration/precopy/unix
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize KVM: No such file or directory
qemu-system-x86_64: Back to tcg accelerator
==10023==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize KVM: No such file or directory
qemu-system-x86_64: Back to tcg accelerator
==10028==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 7 migration-test /x86_64/migration/precopy/tcp
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize KVM: No such file or directory
qemu-system-x86_64: Back to tcg accelerator
==10037==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize KVM: No such file or directory
qemu-system-x86_64: Back to tcg accelerator
==10042==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 8 migration-test /x86_64/migration/xbzrle/unix
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} QTEST_QEMU_BINARY=x86_64-softmmu/qemu-system-x86_64 QTEST_QEMU_IMG=qemu-img tests/test-x86-cpuid-compat -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="test-x86-cpuid-compat" PASS 1 test-x86-cpuid-compat /x86/cpuid/parsing-plus-minus
---
PASS 6 numa-test /x86_64/numa/pc/dynamic/cpu
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} QTEST_QEMU_BINARY=x86_64-softmmu/qemu-system-x86_64 QTEST_QEMU_IMG=qemu-img tests/qmp-test -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl --test-name="qmp-test" PASS 1 qmp-test /x86_64/qmp/protocol
==10371==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
PASS 2 qmp-test /x86_64/qmp/oob
PASS 3 qmp-test /x86_64/qmp/preconfig
PASS 4 qmp-test /x86_64/qmp/missing-any-arg
---
PASS 5 device-introspect-test /x86_64/device/introspect/abstract-interfaces
=================================================================
==10619==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 32 byte(s) in 1 object(s) allocated from:
#0 0x56098e7cbb1e in calloc (/tmp/qemu-test/build/x86_64-softmmu/qemu-system-x86_64+0x19f4b1e)
---
SUMMARY: AddressSanitizer: 64 byte(s) leaked in 2 allocation(s). /tmp/qemu-test/src/tests/libqtest.c:137: kill_qemu() tried to terminate QEMU process but encountered exit status 1 ERROR - too few tests run (expected 6, got 5)
make: *** [/tmp/qemu-test/src/tests/Makefile.include:894: check-qtest-x86_64] Error 1
make: *** Waiting for unfinished jobs....
Traceback (most recent call last):
The full log is available at
http://patchew.org/logs/[email protected]/testing.asan/?type=message.
---
Email generated automatically by Patchew [https://patchew.org/].
Please send your feedback to [email protected]
Patchew URL: https://patchew.org/QEMU/[email protected]/
Patchew URL: https://patchew.org/QEMU/[email protected]/
Hi,
This series failed build test on s390x host. Please find the details below.
=== TEST SCRIPT BEGIN ===
#!/bin/bash
# Testing script will be invoked under the git checkout with # HEAD pointing to a commit that has the patches applied on top of "base"
# branch set -e
echo
echo "=== ENV ==="
env
echo
echo "=== PACKAGES ==="
rpm -qa
echo
echo "=== UNAME ==="
uname -a
CC=$HOME/bin/cc
INSTALL=$PWD/install
BUILD=$PWD/build
mkdir -p $BUILD $INSTALL
SRC=$PWD
cd $BUILD
$SRC/configure --cc=$CC --prefix=$INSTALL
make -j4
# XXX: we need reliable clean up
# make check -j4 V=1 make install === TEST SCRIPT END ===
CC aarch64-softmmu/accel/tcg/tcg-runtime-gvec.o
In file included from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/include/hw/intc/armv7m_nvic.h:13,
from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/hw/intc/armv7m_nvic.c:18:
/var/tmp/patchew-tester-tmp-1d_mkbuz/src/target/arm/cpu.h:35: error: "EXCP_IRQ" redefined [-Werror]
35 | #define EXCP_IRQ 5
|
In file included from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/hw/intc/armv7m_nvic.c:15:
---
|
In file included from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/include/hw/intc/armv7m_nvic.h:13,
from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/hw/intc/armv7m_nvic.c:18:
/var/tmp/patchew-tester-tmp-1d_mkbuz/src/target/arm/cpu.h:2744: error: "CPU_RESOLVING_TYPE" redefined [-Werror]
2744 | #define CPU_RESOLVING_TYPE TYPE_ARM_CPU
|
In file included from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/hw/intc/armv7m_nvic.c:15:
---
|
In file included from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/include/hw/intc/armv7m_nvic.h:13,
from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/hw/intc/armv7m_nvic.c:18:
/var/tmp/patchew-tester-tmp-1d_mkbuz/src/target/arm/cpu.h:2746: error: "cpu_signal_handler" redefined [-Werror]
2746 | #define cpu_signal_handler cpu_arm_signal_handler
|
In file included from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/hw/intc/armv7m_nvic.c:15:
---
|
In file included from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/include/hw/intc/armv7m_nvic.h:13,
from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/hw/intc/armv7m_nvic.c:18:
/var/tmp/patchew-tester-tmp-1d_mkbuz/src/target/arm/cpu.h:2747: error: "cpu_list" redefined [-Werror]
2747 | #define cpu_list arm_cpu_list
|
In file included from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/hw/intc/armv7m_nvic.c:15:
---
|
In file included from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/include/hw/intc/armv7m_nvic.h:13,
from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/hw/intc/armv7m_nvic.c:18:
/var/tmp/patchew-tester-tmp-1d_mkbuz/src/target/arm/cpu.h:2884: error: "MMU_USER_IDX" redefined [-Werror]
2884 | #define MMU_USER_IDX 0
|
In file included from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/hw/intc/armv7m_nvic.c:15:
---
|
In file included from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/include/hw/intc/armv7m_nvic.h:13,
from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/hw/intc/armv7m_nvic.c:18:
/var/tmp/patchew-tester-tmp-1d_mkbuz/src/target/arm/cpu.h:2937:5: error: conflicting types for ‘cpu_mmu_index’
2937 | int cpu_mmu_index(CPUARMState *env, bool ifetch);
| ^~~~~~~~~~~~~
In file included from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/hw/intc/armv7m_nvic.c:15:
---
| ^~~~~~~~~~~~~
In file included from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/include/hw/intc/armv7m_nvic.h:13,
from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/hw/intc/armv7m_nvic.c:18:
/var/tmp/patchew-tester-tmp-1d_mkbuz/src/target/arm/cpu.h:3128:21: error: conflicting types for ‘CPUArchState’
3128 | typedef CPUARMState CPUArchState;
| ^~~~~~~~~~~~
In file included from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/hw/intc/armv7m_nvic.c:15:
---
| ^~~~~~~~~~~~
In file included from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/include/hw/intc/armv7m_nvic.h:13,
from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/hw/intc/armv7m_nvic.c:18:
/var/tmp/patchew-tester-tmp-1d_mkbuz/src/target/arm/cpu.h:3129:16: error: conflicting types for ‘ArchCPU’
3129 | typedef ARMCPU ArchCPU;
| ^~~~~~~
In file included from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/hw/intc/armv7m_nvic.c:15:
---
| ^~~~~~~
In file included from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/include/hw/intc/armv7m_nvic.h:13,
from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/hw/intc/armv7m_nvic.c:18:
/var/tmp/patchew-tester-tmp-1d_mkbuz/src/target/arm/cpu.h:3216:6: error: conflicting types for ‘cpu_get_tb_cpu_state’
3216 | void cpu_get_tb_cpu_state(CPUARMState *env, target_ulong *pc,
| ^~~~~~~~~~~~~~~~~~~~In file included from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/hw/intc/armv7m_nvic.c:15:
---
CC arm-softmmu/hw/misc/bcm2835_mbox.o
In file included from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/include/hw/intc/armv7m_nvic.h:13,
from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/hw/intc/armv7m_nvic.c:18:
/var/tmp/patchew-tester-tmp-1d_mkbuz/src/target/arm/cpu.h:1416: error: "FPCR_DZE" redefined [-Werror]
1416 | #define FPCR_DZE (1 << 9) /* Divide by Zero exception trap enable */
|
In file included from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/hw/intc/armv7m_nvic.c:15:
---
|
In file included from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/include/hw/intc/armv7m_nvic.h:13,
from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/hw/intc/armv7m_nvic.c:18:
/var/tmp/patchew-tester-tmp-1d_mkbuz/src/target/arm/cpu.h:2744: error: "CPU_RESOLVING_TYPE" redefined [-Werror]
2744 | #define CPU_RESOLVING_TYPE TYPE_ARM_CPU
|
In file included from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/hw/intc/armv7m_nvic.c:15:
---
|
In file included from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/include/hw/intc/armv7m_nvic.h:13,
from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/hw/intc/armv7m_nvic.c:18:
/var/tmp/patchew-tester-tmp-1d_mkbuz/src/target/arm/cpu.h:2746: error: "cpu_signal_handler" redefined [-Werror]
2746 | #define cpu_signal_handler cpu_arm_signal_handler
|
In file included from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/hw/intc/armv7m_nvic.c:15:
---
|
In file included from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/include/hw/intc/armv7m_nvic.h:13,
from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/hw/intc/armv7m_nvic.c:18:
/var/tmp/patchew-tester-tmp-1d_mkbuz/src/target/arm/cpu.h:2747: error: "cpu_list" redefined [-Werror]
2747 | #define cpu_list arm_cpu_list
|
In file included from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/hw/intc/armv7m_nvic.c:15:
---
|
In file included from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/include/hw/intc/armv7m_nvic.h:13,
from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/hw/intc/armv7m_nvic.c:18:
/var/tmp/patchew-tester-tmp-1d_mkbuz/src/target/arm/cpu.h:2884: error: "MMU_USER_IDX" redefined [-Werror]
2884 | #define MMU_USER_IDX 0
|
In file included from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/hw/intc/armv7m_nvic.c:15:
---
|
In file included from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/include/hw/intc/armv7m_nvic.h:13,
from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/hw/intc/armv7m_nvic.c:18:
/var/tmp/patchew-tester-tmp-1d_mkbuz/src/target/arm/cpu.h:2937:5: error: conflicting types for ‘cpu_mmu_index’
2937 | int cpu_mmu_index(CPUARMState *env, bool ifetch);
| ^~~~~~~~~~~~~
In file included from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/hw/intc/armv7m_nvic.c:15:
---
| ^~~~~~~~~~~~~
In file included from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/include/hw/intc/armv7m_nvic.h:13,
from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/hw/intc/armv7m_nvic.c:18:
/var/tmp/patchew-tester-tmp-1d_mkbuz/src/target/arm/cpu.h:3128:21: error: conflicting types for ‘CPUArchState’
3128 | typedef CPUARMState CPUArchState;
| ^~~~~~~~~~~~
In file included from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/hw/intc/armv7m_nvic.c:15:
---
| ^~~~~~~~~~~~
In file included from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/include/hw/intc/armv7m_nvic.h:13,
from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/hw/intc/armv7m_nvic.c:18:
/var/tmp/patchew-tester-tmp-1d_mkbuz/src/target/arm/cpu.h:3129:16: error: conflicting types for ‘ArchCPU’
3129 | typedef ARMCPU ArchCPU;
| ^~~~~~~
In file included from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/hw/intc/armv7m_nvic.c:15:
---
| ^~~~~~~
In file included from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/include/hw/intc/armv7m_nvic.h:13,
from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/hw/intc/armv7m_nvic.c:18:
/var/tmp/patchew-tester-tmp-1d_mkbuz/src/target/arm/cpu.h:3216:6: error: conflicting types for ‘cpu_get_tb_cpu_state’
3216 | void cpu_get_tb_cpu_state(CPUARMState *env, target_ulong *pc,
| ^~~~~~~~~~~~~~~~~~~~In file included from /var/tmp/patchew-tester-tmp-1d_mkbuz/src/hw/intc/armv7m_nvic.c:15:
---/var/tmp/patchew-tester-tmp-1d_mkbuz/src/target/arm/helper.h:67: undefined reference to helper_v7m_bxns' /usr/bin/ld: target/arm/translate.o: in function gen_helper_v7m_vlstm':/var/tmp/patchew-tester-tmp-1d_mkbuz/src/target/arm/helper.h:74: undefined reference to `helper_v7m_vlstm'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:205: qemu-system-arm] Error 1
make: *** [Makefile:476: subdir-arm-softmmu] Error 2
GEN aarch64-softmmu/target/arm/decode-sve.inc.c
---/var/tmp/patchew-tester-tmp-1d_mkbuz/src/target/arm/helper.h:67: undefined reference to helper_v7m_bxns' /usr/bin/ld: target/arm/translate.o: in function gen_helper_v7m_vlstm':/var/tmp/patchew-tester-tmp-1d_mkbuz/src/target/arm/helper.h:74: undefined reference to `helper_v7m_vlstm'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:205: qemu-system-aarch64] Error 1
make: *** [Makefile:476: subdir-aarch64-softmmu] Error 2
=== OUTPUT END ===
The full log is available at
http://patchew.org/logs/[email protected]/testing.s390x/?type=message.
---
Email generated automatically by Patchew [https://patchew.org/].
Please send your feedback to [email protected]