On 12/10/24 07:23, Richard Henderson wrote:
Signed-off-by: Richard Henderson
---
tcg/optimize.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tcg/optimize.c b/tcg/optimize.c
index 3f2f351bae..135b14974f 100644
--- a/tcg/optimize.c
+++ b/tcg/optimize.c
@@ -1292,7 +1292,7
On 12/10/24 07:23, Richard Henderson wrote:
Signed-off-by: Richard Henderson
---
tcg/optimize.c | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/tcg/optimize.c b/tcg/optimize.c
index 6644d24da6..3f2f351bae 100644
--- a/tcg/optimize.c
+++ b/tcg/optimize.c
@@ -978,7 +9
On 12/10/24 07:23, Richard Henderson wrote:
Add additional routines to pass masks directly, rather than
storing them into OptContext. To be used in upcoming patches.
Signed-off-by: Richard Henderson
---
tcg/optimize.c | 24
1 file changed, 20 insertions(+), 4 deleti
On 12/10/24 07:23, Richard Henderson wrote:
The desire is to start re-using some of the fold_* functions
while lowering or simplifying operations during tcg_optmize.
Many of these fold_* functions set z_mask, s_mask, and a_mask,
which hang around until the end of the tcg_optmize loop and
are app
On 12/10/24 07:23, Richard Henderson wrote:
Avoid the use of the OptContext slots.
Signed-off-by: Richard Henderson
---
tcg/optimize.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/tcg/optimize.c b/tcg/optimize.c
index 135b14974f..000ac0f810 100644
--- a/tc
On 12/10/24 07:23, Richard Henderson wrote:
Signed-off-by: Richard Henderson
---
tcg/optimize.c | 15 +++
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/tcg/optimize.c b/tcg/optimize.c
index 000ac0f810..285407ce05 100644
--- a/tcg/optimize.c
+++ b/tcg/optimize.c
@@
On 12/10/24 07:23, Richard Henderson wrote:
Signed-off-by: Richard Henderson
---
tcg/optimize.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/tcg/optimize.c b/tcg/optimize.c
index 285407ce05..3363ebd48c 100644
--- a/tcg/optimize.c
+++ b/tcg/optimize.c
@@ -1082,7 +108
On 12/10/24 07:23, Richard Henderson wrote:
Signed-off-by: Richard Henderson
---
tcg/optimize.c | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/tcg/optimize.c b/tcg/optimize.c
index c97ec10989..424ed7674d 100644
--- a/tcg/optimize.c
+++ b/tcg/optimize.c
@@ -1598,2
On 12/10/24 07:23, Richard Henderson wrote:
When we fold to and, use fold_and, which sets s_mask
and a_mask more intelligently than we do for the
rest of deposit.
Signed-off-by: Richard Henderson
---
tcg/optimize.c | 14 ++
1 file changed, 6 insertions(+), 8 deletions(-)
diff --
On 12/10/24 07:23, Richard Henderson wrote:
Signed-off-by: Richard Henderson
---
tcg/optimize.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/tcg/optimize.c b/tcg/optimize.c
index 3363ebd48c..c97ec10989 100644
--- a/tcg/optimize.c
+++ b/tcg/optimize.c
@@ -1088,7 +
On 12/10/24 07:23, Richard Henderson wrote:
Signed-off-by: Richard Henderson
---
tcg/optimize.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tcg/optimize.c b/tcg/optimize.c
index 4d5fa04199..59f510b49a 100644
--- a/tcg/optimize.c
+++ b/tcg/optimize.c
@@ -1671,7 +1671,7
On 12/10/24 07:23, Richard Henderson wrote:
Signed-off-by: Richard Henderson
---
tcg/optimize.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tcg/optimize.c b/tcg/optimize.c
index 59f510b49a..e6dc9f2e28 100644
--- a/tcg/optimize.c
+++ b/tcg/optimize.c
@@ -1681,7 +168
On 12/10/24 07:23, Richard Henderson wrote:
Signed-off-by: Richard Henderson
---
tcg/optimize.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/tcg/optimize.c b/tcg/optimize.c
index e6dc9f2e28..5f3a824a07 100644
--- a/tcg/optimize.c
+++ b/tcg/optimize.c
@@ -1701,15
On 12/10/24 07:23, Richard Henderson wrote:
Signed-off-by: Richard Henderson
---
tcg/optimize.c | 9 -
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/tcg/optimize.c b/tcg/optimize.c
index 5f3a824a07..955151f4cf 100644
--- a/tcg/optimize.c
+++ b/tcg/optimize.c
@@ -1716,7
On 12/10/24 07:23, Richard Henderson wrote:
Signed-off-by: Richard Henderson
---
tcg/optimize.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/tcg/optimize.c b/tcg/optimize.c
index a0ccf7f3f2..5d10e704a7 100644
--- a/tcg/optimize.c
+++ b/tcg/optimize.c
@@ -1759,7
On 12/10/24 07:23, Richard Henderson wrote:
Signed-off-by: Richard Henderson
---
tcg/optimize.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tcg/optimize.c b/tcg/optimize.c
index 955151f4cf..a0ccf7f3f2 100644
--- a/tcg/optimize.c
+++ b/tcg/optimize.c
@@ -1754,7 +1754,7
This ensures consistency of behaviour across all the tests, and requires
that we provide gitlab bug links when marking a test to be skipped due
to unreliability.
Reviewed-by: Thomas Huth
Signed-off-by: Daniel P. Berrangé
---
tests/functional/test_acpi_bits.py | 25 +++--
t
This removes direct access of the 'self.logdir' variable.
Reviewed-by: Thomas Huth
Signed-off-by: Daniel P. Berrangé
---
tests/functional/qemu_test/testcase.py | 9 -
tests/functional/test_virtio_gpu.py| 4 +---
2 files changed, 5 insertions(+), 8 deletions(-)
diff --git a/tests/fu
This series is an attempt to bring a little more guaranteed order
to asset and scratch file handling in the functional tests. The
main highlights are:
* Add custom @skipX decorators for common scenarios
present in QEMU tests
* Add helpers for creating file paths for various well
known
Hi,
On Tue, 3 Dec 2024, Alex Williamson wrote:
On Tue, 3 Dec 2024 13:19:28 +0100
Sebastian Ott wrote:
PCI hotplug for downstream endpoints on arm fails because Linux'
PCIe hotplug driver doesn't like the QEMU provided LNKSTA:
pcieport :08:01.0: pciehp: Slot(2): Card present
pcieport
On Mon, Dec 09, 2024 at 01:37:17PM +0100, Paolo Bonzini wrote:
> Date: Mon, 9 Dec 2024 13:37:17 +0100
> From: Paolo Bonzini
> Subject: [PATCH 26/26] rust: callbacks: allow passing optional callbacks as
> ()
> X-Mailer: git-send-email 2.47.1
>
> In some cases, callbacks are optional. Using "Som
The 'which' helper is simpler, not depending on the external 'which'
binary, and is sufficient for test needs.
Reviewed-by: Thomas Huth
Signed-off-by: Daniel P. Berrangé
---
tests/functional/qemu_test/__init__.py | 2 +-
tests/functional/qemu_test/cmd.py| 54 ++--
This helper wrappers utils.uncompress, forcing the use of the scratch
directory, to ensure any uncompressed files are cleaned at test
termination.
Reviewed-by: Thomas Huth
Signed-off-by: Daniel P. Berrangé
---
tests/functional/qemu_test/testcase.py | 25 +
1 file changed
Platforms we target have new enough tesseract that it suffices to merely
check if the binary exists.
Signed-off-by: Daniel P. Berrangé
---
tests/functional/qemu_test/tesseract.py | 12 +---
tests/functional/test_m68k_nextcube.py | 8 +++-
2 files changed, 4 insertions(+), 16 deleti
This removes direct path manipulation to figure out the source dir
Reviewed-by: Thomas Huth
Signed-off-by: Daniel P. Berrangé
---
tests/functional/test_acpi_bits.py | 22 +++---
1 file changed, 7 insertions(+), 15 deletions(-)
diff --git a/tests/functional/test_acpi_bits.py
b/
The 'access' check implies the file exists.
Reviewed-by: Thomas Huth
Reviewed-by: Richard Henderson
Signed-off-by: Daniel P. Berrangé
---
tests/functional/qemu_test/cmd.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/functional/qemu_test/cmd.py
b/tests/functional/
Signed-off-by: Daniel P. Berrangé
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 822f34344b..54201da578 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -4157,6 +4157,7 @@ W: https://cirrus-ci.com/github/qemu/qemu
Functional testing framework
M:
On Sat, 2 Nov 2024 at 12:18, BALATON Zoltan wrote:
>
> Currently -d guest_errors enables logging of different invalid actions
> by the guest such as misusing hardware, accessing missing features or
> invalid memory areas. The memory access logging can be quite verbose
> which obscures the other me
Allow an Asset object to be used in place of a filename but
making its string representation resolve to the cache file
path.
Signed-off-by: Daniel P. Berrangé
---
tests/functional/qemu_test/asset.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/functional/qemu_test/asset.py
b/tes
Replace use of lzma_uncompress and gzip_uncompress with the
new uncompress helper.
Reviewed-by: Thomas Huth
Signed-off-by: Daniel P. Berrangé
---
tests/functional/test_aarch64_raspi4.py | 5 +
tests/functional/test_aarch64_sbsaref.py | 10 +++---
tests/functional/test_alpha_clipper.
More archive related code will be added shortly, so having a
separate file makes more sense.
The utils.py imports the functions from archive.py, so that
existing callers don't need to be modified. This avoids
redundant code churn until later in the series when all
calls will be adapted for other r
> Hi Zhao,
>
> I wonder if this patch-set requires rebase for the new cycle?
>
Hi Alireza,
Yes, as some general patches are merged.
(Pls refer the v5:
https://lore.kernel.org/qemu-devel/20241101083331.340178-1-zhao1@intel.com/)
I'll send a new version this week, to include the remaining p
This mirrors the existing archive_extract and cpio_extract helpers
Reviewed-by: Thomas Huth
Signed-off-by: Daniel P. Berrangé
---
tests/functional/qemu_test/archive.py | 8
1 file changed, 8 insertions(+)
diff --git a/tests/functional/qemu_test/archive.py
b/tests/functional/qemu_test
This removes direct access of the 'BUILD_DIR' variable.
Reviewed-by: Thomas Huth
Signed-off-by: Daniel P. Berrangé
---
tests/functional/qemu_test/cmd.py | 5 ++---
tests/functional/qemu_test/testcase.py | 4 ++--
tests/functional/test_aarch64_virt.py | 5 ++---
tests/functional/test_vi
There are many types of archives that the tests deal with. Provide
a generalized 'archive_extract' that can detect the format and
delegate to the appropriate helper for extraction. This ensures
that all archive extraction code follows the same design pattern.
Reviewed-by: Thomas Huth
Signed-off-b
Commit 124a3c58b8 ("tests/qtest/migration: Move ufd_version_check to
utils") moved the ufd_version_check() function to another file but
failed to bring along the include, which is necessary to
pull in for __NR_userfaultd.
Restore the missing include.
While here, remove the ifdef __linux__ that'
Hi,
On 12/17/24 06:24, ckf104 wrote:
Standard simpoint tool reqeusts that index of basic block index starts from 1.
Signed-off-by: ckf104 <1900011...@pku.edu.cn>
---
contrib/plugins/bbv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/plugins/bbv.c b/contrib/plug
On Mon, 2024-12-16 at 17:53 -0800, Sean Christopherson wrote:
> Every new feature that lands in hardware needs to either be "benign" or have
> the
> appropriate virtualization controls. KVM already has to deal with cases where
> features can effectively be used without KVM's knowledge. E.g. ther
On 12/17/24 07:34, Richard Henderson wrote:
On 12/16/24 19:07, Pierrick Bouvier wrote:
Signed-off-by: Pierrick Bouvier
---
contrib/plugins/hotblocks.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/contrib/plugins/hotblocks.c b/contrib/plugins/hotblocks.c
index
On 12/17/24 06:41, Richard Henderson wrote:
On 12/16/24 19:06, Pierrick Bouvier wrote:
It makes more sense to return the same type than qemu_plugin_insn_vaddr.
Signed-off-by: Pierrick Bouvier
---
include/qemu/qemu-plugin.h | 2 +-
plugins/api.c | 12 ++--
2 files c
The 'run_cmd' helper is re-implementing a convenient helper that
already exists in the form of the 'run' and 'check_call' methods
provided by 'subprocess'.
Reviewed-by: Thomas Huth
Signed-off-by: Daniel P. Berrangé
---
tests/functional/qemu_test/archive.py| 9 ---
tests/functional/qemu
On Tue, Dec 17, 2024 at 04:13:04PM +0100, Philippe Mathieu-Daudé wrote:
> Date: Tue, 17 Dec 2024 16:13:04 +0100
> From: Philippe Mathieu-Daudé
> Subject: [PATCH 2/3] system/numa: Remove unnecessary 'exec/cpu-common.h'
> header
> X-Mailer: git-send-email 2.45.2
>
> Nothing requires definitions fr
This mirrors the existing archive_extract, cpio_extract and zip_extract
helpers
Reviewed-by: Thomas Huth
Signed-off-by: Daniel P. Berrangé
---
tests/functional/qemu_test/archive.py | 13 +
tests/functional/qemu_test/linuxkernel.py | 13 -
2 files changed, 17 insertio
On Fri, 13 Dec 2024 at 12:41, BALATON Zoltan wrote:
>
> On Sat, 2 Nov 2024, BALATON Zoltan wrote:
> > Originally memory access logs were a debug define that then were
> > converted to log messages but were classified as guest_errors which
> > already logs misc errors. As invalid memory access logs
Add helper methods that construct paths for
* log files - to be preserved at the end of a test
* scratch files - to be purged at the end of a test
* build files - anything relative to the build root
* data files - anything relative to the functional test source root
* socket files - a short t
From: Manos Pitsidianakis
Add FEAT_XS feature report value in max cpu's ID_AA64ISAR1 sys register.
Signed-off-by: Manos Pitsidianakis
Signed-off-by: Peter Maydell
Reviewed-by: Richard Henderson
Message-id: 2024121110.2700268-6-peter.mayd...@linaro.org
[PMM: Add entry for FEAT_XS to docume
From: Manos Pitsidianakis
Add system test to make sure FEAT_XS is enabled for max cpu emulation
and that QEMU doesn't crash when encountering an NXS instruction
variant.
Signed-off-by: Manos Pitsidianakis
Signed-off-by: Peter Maydell
Message-id: 2024121110.2700268-7-peter.mayd...@linaro.or
From: Richard Henderson
Signed-off-by: Richard Henderson
Reviewed-by: Philippe Mathieu-Daudé
Message-id: 20241206031224.78525-6-richard.hender...@linaro.org
Signed-off-by: Peter Maydell
---
target/arm/helper.h | 14 +++---
target/arm/tcg/neon_helper.c | 21 +++
From: Richard Henderson
Allow the helpers to receive CPUARMState* directly
instead of via void*.
Signed-off-by: Richard Henderson
Reviewed-by: Philippe Mathieu-Daudé
Message-id: 20241206031224.78525-9-richard.hender...@linaro.org
Signed-off-by: Peter Maydell
---
target/arm/helper.h |
In the GICv3 ITS model, we have a common coding pattern which has a
local C struct like "DTEntry dte", which is a C representation of an
in-guest-memory data structure, and we call a function such as
get_dte() to read guest memory and fill in the C struct. These
functions to read in the struct som
From: Denis Rastyogin
This call is redundant as it only retrieves a value that is not used further.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Signed-off-by: Denis Rastyogin
Reviewed-by: Richard Henderson
Message-id: 20241212120618.518369-1-ger...@altlinux.org
Signed-of
; of https://gitlab.com/kraxel/qemu
into staging (2024-12-16 14:20:33 -0500)
are available in the Git repository at:
https://git.linaro.org/people/pmaydell/qemu-arm.git
tags/pull-target-arm-20241217
for you to fetch changes up to e91254250acb8570bd7b8a8f89d30e6d18291d02:
tests/functional: updat
All of the TLBI insns with an NXS variant put that variant at the
same encoding but with a CRn field that is one greater than for the
original TLBI insn. To avoid having to define every TLBI insn
effectively twice, once in the normal way and once in a set of cpreg
arrays that are only registered w
From: Richard Henderson
Signed-off-by: Richard Henderson
Reviewed-by: Peter Maydell
Message-id: 20241206031224.78525-8-richard.hender...@linaro.org
Signed-off-by: Peter Maydell
---
target/arm/tcg/helper-sme.h | 4 ++--
target/arm/tcg/sme_helper.c | 8
2 files changed, 6 insertions(+)
From: Marcin Juszkiewicz
Update the URLs for the binaries we use for the firmware in the
sbsa-ref functional tests.
The firmware is built using Debian 'bookworm' cross toolchain (gcc
12.2.0).
Used versions:
- Trusted Firmware v2.12.0
- Tianocore EDK2 stable202411
- Tianocore EDK2 Platforms cod
From: Richard Henderson
Signed-off-by: Richard Henderson
Reviewed-by: Philippe Mathieu-Daudé
Message-id: 20241206031224.78525-3-richard.hender...@linaro.org
Signed-off-by: Peter Maydell
---
target/arm/helper.h | 268
target/arm/vfp_helper.c | 120 +
Tests are expected to be directly invoked when debugging so must
have execute permission.
Signed-off-by: Daniel P. Berrangé
---
tests/functional/test_aarch64_aspeed.py | 0
tests/functional/test_arm_aspeed_ast1030.py | 0
tests/functional/test_arm_aspeed_ast2500.py | 0
tests/functional/t
Add the ARM_CP_ADD_TLBI_NXS to the TLBI insns with an NXS variant.
This is every AArch64 TLBI encoding except for the four FEAT_RME TLBI
insns.
Signed-off-by: Peter Maydell
Reviewed-by: Richard Henderson
Message-id: 2024121110.2700268-4-peter.mayd...@linaro.org
---
target/arm/tcg/tlb-insns.
From: Richard Henderson
Pass float_status not env to match other functions.
Signed-off-by: Richard Henderson
Reviewed-by: Philippe Mathieu-Daudé
Message-id: 20241206031952.78776-3-richard.hender...@linaro.org
Signed-off-by: Peter Maydell
---
target/arm/helper.h| 4 ++--
target/a
From: Manos Pitsidianakis
The DSB nXS variant is always both a reads and writes request type.
Ignore the domain field like we do in plain DSB and perform a full
system barrier operation.
The DSB nXS variant is part of FEAT_XS made mandatory from Armv8.7.
Signed-off-by: Manos Pitsidianakis
Sign
On Tue, 17 Dec 2024 at 18:17, Richard Henderson
wrote:
>
> On 12/17/24 11:44, Peter Maydell wrote:
> > helper.c includes some small TCG helper functions used for mostly
> > arithmetic instructions. These are TCG only and there's no need for
> > them to be in the large and unwieldy helper.c. Move
On Tue, Dec 17, 2024 at 06:22:01PM -0300, Fabiano Rosas wrote:
> Commit 124a3c58b8 ("tests/qtest/migration: Move ufd_version_check to
> utils") moved the ufd_version_check() function to another file but
> failed to bring along the include, which is necessary to
> pull in for __NR_userfaultd.
>
>
On 12/16/2024 1:19 PM, Peter Xu wrote:
On Fri, Dec 13, 2024 at 11:41:45AM -0500, Steven Sistare wrote:
On 12/12/2024 4:22 PM, Peter Xu wrote:
On Thu, Dec 12, 2024 at 03:38:00PM -0500, Steven Sistare wrote:
On 12/9/2024 2:42 PM, Peter Xu wrote:
On Mon, Dec 02, 2024 at 05:19:54AM -0800, Steve S
Currently cpio_extract differs from tar_extract/zip_extract
in that it only allows a file-like object as input. Adapt it
to also support filenames.
Reviewed-by: Thomas Huth
Signed-off-by: Daniel P. Berrangé
---
tests/functional/qemu_test/archive.py | 16 +++-
1 file changed, 11 inse
Yichen Wang writes:
> From: Hao Xiang
>
> Create DSA task with operation code DSA_OPCODE_COMPVAL.
> Here we create two types of DSA tasks, a single DSA task and
> a batch DSA task. Batch DSA task reduces task submission overhead
> and hence should be the default option. However, due to the way D
Yichen Wang writes:
> From: Hao Xiang
>
> * Add a DSA task completion callback.
> * DSA completion thread will call the tasks's completion callback
> on every task/batch task completion.
> * DSA submission path to wait for completion.
> * Implement CPU fallback if DSA is not able to complete the
Put the 'which' function into shared code.
Reviewed-by: Richard Henderson
Signed-off-by: Daniel P. Berrangé
---
tests/functional/qemu_test/__init__.py | 2 +-
tests/functional/qemu_test/cmd.py | 10 ++
tests/functional/test_acpi_bits.py | 13 +
tests/functional/tes
There are many types of compression that the tests deal with, and
it makes sense to have a single helper 'uncompress' that can deal
with all.
Reviewed-by: Thomas Huth
Signed-off-by: Daniel P. Berrangé
---
tests/functional/qemu_test/__init__.py | 1 +
tests/functional/qemu_test/uncompress.py
Yichen Wang writes:
> From: Hao Xiang
>
> Multifd sender path gets an array of pages queued by the migration
> thread. It performs zero page checking on every page in the array.
> The pages are classfied as either a zero page or a normal page. This
> change uses Intel DSA to offload the zero pag
From: Shameer Kolothum
Removes accidental inclusion of unrelated functions within CONFIG_UADK
as this causes compile errors like:
error: redefinition of ‘migrate_hook_start_xbzrle’
Fixes: 932f74f3fe6e ("tests/qtest/migration: Split compression tests from
migration-test.c")
Signed-off-by: Shame
From: Richard Henderson
Signed-off-by: Richard Henderson
Reviewed-by: Philippe Mathieu-Daudé
Message-id: 20241206031224.78525-7-richard.hender...@linaro.org
Signed-off-by: Peter Maydell
---
target/arm/tcg/helper-sve.h | 414 ++--
target/arm/tcg/sve_helper.c |
From: Richard Henderson
Signed-off-by: Richard Henderson
Reviewed-by: Philippe Mathieu-Daudé
Message-id: 20241206031224.78525-4-richard.hender...@linaro.org
Signed-off-by: Peter Maydell
---
target/arm/tcg/helper-a64.h | 94 +--
target/arm/tcg/helper-a64.c | 98
From: Richard Henderson
Signed-off-by: Richard Henderson
Reviewed-by: Philippe Mathieu-Daudé
Message-id: 20241206031224.78525-5-richard.hender...@linaro.org
Signed-off-by: Peter Maydell
---
target/arm/helper.h | 284 ++--
target/arm/tcg/helper-a64.h |
From: Richard Henderson
Pass float_status not env to match other functions.
Signed-off-by: Richard Henderson
Reviewed-by: Philippe Mathieu-Daudé
Message-id: 20241206031952.78776-2-richard.hender...@linaro.org
Signed-off-by: Peter Maydell
---
target/arm/tcg/helper-a64.h| 2 +-
target/arm/
From: Richard Henderson
Signed-off-by: Richard Henderson
Reviewed-by: Philippe Mathieu-Daudé
Message-id: 20241206031224.78525-10-richard.hender...@linaro.org
Signed-off-by: Peter Maydell
---
target/arm/helper.h | 56 ++--
target/arm/tcg/neon_helper.c |
FEAT_XS introduces a set of new TLBI maintenance instructions with an
"nXS" qualifier. These behave like the stardard ones except that
they do not wait for memory accesses with the XS attribute to
complete. They have an interaction with the fine-grained-trap
handling: the FGT bits that a hypervis
On Wed, 20 Nov 2024 at 17:41, Asif wrote:
> Secondly, you have broken links on you page:
> QEMU Internals: Big Picture Overview
>
> Broken Link:
> Jan Kiszka's Linux Kongress 2010 presentation on the Architecture of the
> Kernel-based Virtual Machine (KVM). Very good material.
Hi Asif,
Sorry for
On 12/17/24 11:44, Peter Maydell wrote:
helper.c includes some small TCG helper functions used for mostly
arithmetic instructions. These are TCG only and there's no need for
them to be in the large and unwieldy helper.c. Move them out to
their own source file in the tcg/ subdirectory, together
On 12/10/24 07:23, Richard Henderson wrote:
Call them directly from the opcode switch statement in tcg_optimize,
rather than in finish_folding based on opcode flags. Adjust folding
of conditional branches to match.
Signed-off-by: Richard Henderson
---
tcg/optimize.c | 47
On 12/10/24 07:23, Richard Henderson wrote:
Use of fold_masks should be restricted to those opcodes that
can reliably make use of it -- those with a single output,
and from higher-level folders that set up the masks.
Prepare for conversion of each folder in turn.
Signed-off-by: Richard Henderson
Replace use of utils.archive_extract and extract_from_deb with the
new archive_extract helper.
Reviewed-by: Thomas Huth
Signed-off-by: Daniel P. Berrangé
---
tests/functional/qemu_test/linuxkernel.py | 19 --
tests/functional/test_aarch64_aspeed.py | 5 ++-
tests/functional/t
Reduce repeated boilerplate with some helper decorators:
@skipIfNotPlatform("x86_64", "aarch64")
=> Skip unless the build host platform matches
@skipIfMissingCommands("mkisofs", "losetup")
=> Skips unless all listed commands are found in $PATH
@skipIfMissingImports("numpy", "cv2")
=>
This helper wrappers archive.archive_extract, forcing the use of the
scratch directory, to ensure any extracted files are cleaned at test
termination. If a specific member is requested, then the path to the
extracted file is also returned.
Reviewed-by: Thomas Huth
Signed-off-by: Daniel P. Berrang
helper.c includes some small TCG helper functions used for mostly
arithmetic instructions. These are TCG only and there's no need for
them to be in the large and unwieldy helper.c. Move them out to
their own source file in the tcg/ subdirectory, together with the
op_addsub.h multiply-included tem
On 17/12/24 15:20, Thomas Huth wrote:
Since we don't have ssh support in the functional test framework yet,
simply use the serial console for this test instead. It's also
sufficient to only boot into an initrd here, no need to fire up a
full-blown guest, so the test now finishes much faster.
Whi
From: Peter Xu
In 99% cases, after QEMU migrates to dest host, it tries to detect the
target VM runstate using global_state_get_runstate().
There's one outlier so far which is Xen that won't send global state.
That's the major reason why global_state_received() check was always there
together wi
From: Peter Xu
Multifd never worked with postcopy, at least yet so far.
Remove the sync processing there, because it's confusing, and they should
never appear. Now if RAM_SAVE_FLAG_MULTIFD_FLUSH is observed, we fail hard
instead of trying to invoke multifd code.
Reviewed-by: Fabiano Rosas
Sig
From: Peter Xu
Migration capability 'late-block-active' controls when the block drives
will be activated. If enabled, block drives will only be activated until
VM starts, either src runstate was "live" (RUNNING, or SUSPENDED), or it'll
be postponed until qmp_cont().
Let's do this unconditionall
On 17/12/2024 16.59, Daniel P. Berrangé wrote:
Signed-off-by: Daniel P. Berrangé
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 822f34344b..54201da578 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -4157,6 +4157,7 @@ W: https://cirrus-ci.com
Il mar 17 dic 2024, 16:55 Zhao Liu ha scritto:
> On Mon, Dec 09, 2024 at 01:37:17PM +0100, Paolo Bonzini wrote:
> > Date: Mon, 9 Dec 2024 13:37:17 +0100
> > From: Paolo Bonzini
> > Subject: [PATCH 26/26] rust: callbacks: allow passing optional callbacks
> as
> > ()
> > X-Mailer: git-send-email
Hi Marc,
On 12/17/24 16:21, Marc Zyngier wrote:
> On Fri, 06 Dec 2024 11:21:53 +,
> Cornelia Huck wrote:
>> A respin/update on the aarch64 KVM cpu models. Also available at
>> gitlab.com/cohuck/qemu arm-cpu-model-rfcv2
>>
>> Find Eric's original cover letter below, so that I do not need to
>>
Replace any instances of
os.path.join(self.workdir, ".../...")
self.workdir + "/.../..."
with
self.scratch_file("...", "...")
which is more compact and portable
Reviewed-by: Thomas Huth
Signed-off-by: Daniel P. Berrangé
---
tests/functional/qemu_test/linuxkernel.py | 7 ++-
tests
On Tue, Dec 17, 2024 at 07:39:32AM -0500, Xiaoyao Li wrote:
> Date: Tue, 17 Dec 2024 07:39:32 -0500
> From: Xiaoyao Li
> Subject: [PATCH 2/2] target/i386: Print CPUID subleaf info for unsupported
> feature
> X-Mailer: git-send-email 2.34.1
>
> Some CPUID leaves have meaningful subleaf index. Pri
On Tue, Dec 17, 2024 at 04:13:03PM +0100, Philippe Mathieu-Daudé wrote:
> Date: Tue, 17 Dec 2024 16:13:03 +0100
> From: Philippe Mathieu-Daudé
> Subject: [PATCH 1/3] hw/xen: Remove unnecessary 'exec/cpu-common.h' header
> X-Mailer: git-send-email 2.45.2
>
> Nothing requires definitions from "exec
Il mar 17 dic 2024, 04:39 Zhao Liu ha scritto:
> > +impl ClassInitImpl for PL011State {
> > +fn class_init(klass: &mut PL011Class) {
> > +klass.device_id = DeviceId::ARM;
> > +>::class_init(&mut
> klass.parent_class);
>
> This seems a bit of a conflict with the C version of QO
On Tue, Dec 17, 2024 at 07:39:31AM -0500, Xiaoyao Li wrote:
> Date: Tue, 17 Dec 2024 07:39:31 -0500
> From: Xiaoyao Li
> Subject: [PATCH 1/2] i386: Remove unused parameter "uint32_t bit" in
> feature_word_description()
> X-Mailer: git-send-email 2.34.1
>
> From: Lei Wang
>
> Parameter "uint32_
Identified using 'pylint --disable=all --enable=W0611'
Reviewed-by: Thomas Huth
Signed-off-by: Daniel P. Berrangé
---
tests/functional/qemu_test/asset.py | 1 -
tests/functional/qemu_test/tesseract.py | 1 -
tests/functional/qemu_test/tuxruntest.py | 3 +--
tests/f
On 12/17/24 09:59, Daniel P. Berrangé wrote:
Allow an Asset object to be used in place of a filename but
making its string representation resolve to the cache file
path.
Signed-off-by: Daniel P. Berrangé
---
tests/functional/qemu_test/asset.py | 3 +++
1 file changed, 3 insertions(+)
Review
On 12/17/24 09:59, Daniel P. Berrangé wrote:
Tests are expected to be directly invoked when debugging so must
have execute permission.
Signed-off-by: Daniel P. Berrangé
Reviewed-by: Richard Henderson
r~
---
tests/functional/test_aarch64_aspeed.py | 0
tests/functional/test_arm_aspe
If downloading of assets has been disabled, then skip running a
test if the assets it has registered are not already downloaded.
Reviewed-by: Thomas Huth
Signed-off-by: Daniel P. Berrangé
---
tests/functional/qemu_test/asset.py| 8 +++-
tests/functional/qemu_test/testcase.py | 11 +
201 - 300 of 315 matches
Mail list logo