The existing description of '--disable-debug-info' seems to have a typo.
Later scripts/meson-buildoptions.sh does the following based on option:
+--enable-debug-info) printf "%s" -Ddebug=true ;;
+--disable-debug-info) printf "%s" -Ddebug=false ;;
With above logic, the description should
-*s -\n",
+ BUILD_INFO_HEADER_WIDTH,
+ "-");
+for (size_t i = 0; i < BUILD_INFO_SIZE ; i++) {
+printf(" %-*s %s\n",
+ BUILD_INFO_HEADER_WIDTH,
+ BUILD_INFO[i].key,
+ BUILD_INFO[i].value);
+}
+}
+}
+
enum {
#define DEF(option, opt_arg, opt_enum, opt_help, arch_mask) \
@@ -3019,6 +3054,12 @@ void qemu_init(int argc, char **argv)
version();
exit(0);
break;
+case QEMU_OPTION_build_info:
+/* fallthrough */
+case QEMU_OPTION_build_info_json:
+build_info(argv[0], popt->index != QEMU_OPTION_build_info);
+exit(0);
+break;
case QEMU_OPTION_m:
opts = qemu_opts_parse_noisily(qemu_find_opts("memory"),
optarg, true);
if (opts == NULL) {
---
base-commit: 01dc65a3bc262ab1bec8fe89775e9bbfa627becb
change-id: 20240922-feature-build-info-cli-c9e08e34c34b
--
γαῖα πυρί μιχθήτω
+ BUILD_INFO_HEADER_WIDTH,
+ "-");
+for (size_t i = 0; i < BUILD_INFO_SIZE ; i++) {
+printf(" %-*s %s\n",
+ BUILD_INFO_HEADER_WIDTH,
+ BUILD_INFO[i].key,
+ BUILD_INFO[i].value);
+}
+}
+}
+
enum {
#define DEF(option, opt_arg, opt_enum, opt_help, arch_mask) \
@@ -3019,6 +3054,12 @@ void qemu_init(int argc, char **argv)
version();
exit(0);
break;
+case QEMU_OPTION_build_info:
+/* fallthrough */
+case QEMU_OPTION_build_info_json:
+build_info(argv[0], popt->index != QEMU_OPTION_build_info);
+exit(0);
+break;
case QEMU_OPTION_m:
opts = qemu_opts_parse_noisily(qemu_find_opts("memory"),
optarg, true);
if (opts == NULL) {
---
base-commit: 01dc65a3bc262ab1bec8fe89775e9bbfa627becb
change-id: 20240922-feature-build-info-cli-c9e08e34c34b
--
γαῖα πυρί μιχθήτω
On 2024/9/22 12:46, Richard Henderson wrote:
On 9/11/24 15:26, LIU Zhiwei wrote:
@@ -2129,6 +2389,7 @@ static void tcg_target_qemu_prologue(TCGContext
*s)
static void tcg_out_tb_start(TCGContext *s)
{
+ s->riscv_cur_type = TCG_TYPE_COUNT;
/* nothing to do */
}
I recently re
In arm_load_kernel(), use the secondary boot hooks provided by the
platform if PSCI is disabled also while booting a non-Linux kernel.
While booting Linux with PSCI disabled, provide default hooks if needed.
In do_cpu_reset(), use the secondary CPU reset hook provided by the
platform for resetting
After a system reset (SRST), the CPU1 should execute a wfe instruction
and then load the start address from 0xfff0:
https://docs.amd.com/r/en-US/ug585-zynq-7000-SoC-TRM/Starting-Code-on-CPU-1
Signed-off-by: Sebastian Huber
---
hw/arm/xilinx_zynq.c | 25 +
1 file chan
I recently added the support for CPU1 to the xilinx-zynq-a9 machine
(hw/arm/xilinx_zynq.c). However, the reset behaviour doesn't match exactly with
the hardware. After a system reset (SRST), the CPU1 should execute a wfe
instruction and then load the start address from 0xfff0:
https://docs.amd
> -邮件原件-
> 发件人: Peter Xu
> 发送时间: 2024年9月20日 23:53
> 收件人: yuchen (CCSPL)
> 抄送: faro...@suse.de; qemu-devel@nongnu.org
> 主题: Re: [PATCH] migration/multifd: receive channel socket needs to be set to
> non-blocking
>
> On Fri, Sep 20, 2024 at 10:05:42AM +, Yuchen wrote:
> > When the mi
Hi,
> -Original Message-
> From: Michael Galaxy [mailto:mgal...@akamai.com]
> Sent: Monday, September 23, 2024 3:29 AM
> To: Michael S. Tsirkin ; Peter Xu
> Cc: Gonglei (Arei) ; qemu-devel@nongnu.org;
> yu.zh...@ionos.com; elmar.ger...@ionos.com; zhengchuan
> ; berra...@redhat.com; arm...
On Thu, Mar 28, 2024 at 02:13:42PM +, Richard W.M. Jones wrote:
> On Thu, Mar 28, 2024 at 03:06:03PM +0100, Thomas Huth wrote:
> > Since version 2.66, glib has useful URI parsing functions, too.
> > Use those instead of the QEMU-internal ones to be finally able
> > to get rid of the latter. The
On 22/09/2024 15:31, Ricardo Ribalda wrote:
Mark Cave-Ayland reported that after landing the pre-computed _PRT, the
above mentioned testcase failed to pass.
It seems that it is due to WinXP not handling properly a variable
package. Let's replace it.
Unfortunately, the ASL diff is not the best
Hi All,
I have met with the team from IONOS about their testing on actual IB
hardware here at KVM Forum today and the requirements are starting to
make more sense to me. I didn't say much in our previous thread because
I misunderstood the requirements, so let me try to explain and see if
we'r
The ignore_memory_transaction_failures is used for compatibility
with legacy board models.
I attempted to remove this property from the
xilink_zynq board and replace it with unimplemented devices to
handle devices that are not implemented on the board.
Chao Liu (2):
xilink_zynq: Add various m
Add PMU, CAN, GPIO, I2C, and other as unimplemented devices.
Remove a ignore_memory_transaction_failures concurrently.
This allows operating systems such as Linux to run emulations such as
xilinx_zynq-7000
Signed-off-by: Chao Liu
---
hw/arm/xilinx_zynq.c | 44 +
Signed-off-by: Chao Liu
---
hw/dma/xlnx-zynq-devcfg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/dma/xlnx-zynq-devcfg.c b/hw/dma/xlnx-zynq-devcfg.c
index b8544d0731..7170353a62 100644
--- a/hw/dma/xlnx-zynq-devcfg.c
+++ b/hw/dma/xlnx-zynq-devcfg.c
@@ -372,7 +372,7 @@ s
Signed-off-by: Ricardo Ribalda
---
tests/data/acpi/x86/pc/DSDT | Bin 8527 -> 8526 bytes
tests/data/acpi/x86/pc/DSDT.acpierst| Bin 8438 -> 8437 bytes
tests/data/acpi/x86/pc/DSDT.acpihmat| Bin 9852 -> 9851 bytes
tests/data/acpi/x86/pc/DSDT.bridge | Bin 15
Windows XP seems to have issues when _PRT() returns a variable package.
We know in advance the size, so we can return a fixed package instead.
https://lore.kernel.org/qemu-devel/c82d9331-a8ce-4bb0-b51f-2ee789e27...@ilande.co.uk/T/#m541190c942676bccf7a7f7fbcb450d94a4e2da53
Reported-by: Mark Cave-Ay
Signed-off-by: Ricardo Ribalda
---
tests/qtest/bios-tables-test-allowed-diff.h | 15 +++
1 file changed, 15 insertions(+)
diff --git a/tests/qtest/bios-tables-test-allowed-diff.h
b/tests/qtest/bios-tables-test-allowed-diff.h
index dfb8523c8b..f81f4e2469 100644
--- a/tests/qtest/bios
Mark Cave-Ayland reported that after landing the pre-computed _PRT, the
above mentioned testcase failed to pass.
It seems that it is due to WinXP not handling properly a variable
package. Let's replace it.
Unfortunately, the ASL diff is not the best (or I cannot produce
something better):
12c12
On 22/09/2024 14:11, Ricardo Ribalda wrote:
Hi Mark
On Sun, 22 Sept 2024 at 13:57, Mark Cave-Ayland
wrote:
On 21/08/2024 15:45, Igor Mammedov wrote:
On Wed, 14 Aug 2024 11:56:08 +
Ricardo Ribalda wrote:
Today for x86 the _PRT() table is computed in runtime.
Under some configurations
Hi Mark
On Sun, 22 Sept 2024 at 13:57, Mark Cave-Ayland
wrote:
>
> On 21/08/2024 15:45, Igor Mammedov wrote:
>
> > On Wed, 14 Aug 2024 11:56:08 +
> > Ricardo Ribalda wrote:
> >
> >> Today for x86 the _PRT() table is computed in runtime.
> >> Under some configurations, computing the _PRT ta
On 19/09/2024 19:57, Thomas Huth wrote:
The g3beige and mac99 tests use the same asset, so put them together
in a new test_ppc_mac.py file.
Signed-off-by: Thomas Huth
---
MAINTAINERS | 2 ++
tests/avocado/boot_linux_console.py | 30 ---
tests/fu
On 19/09/2024 19:57, Thomas Huth wrote:
Use the new launch_kernel function to convert this test in a simple way.
Signed-off-by: Thomas Huth
---
MAINTAINERS | 1 +
tests/avocado/boot_linux_console.py | 8
tests/functional/meson.build | 4
From: Laurent Vivier
Since kernel v6.11 riscv has moved from syscall_nr.h file
to syscall.tbl (3db80c999deb ("riscv: convert to generic syscall
table"))
Update linux-user scripts to be able to retrieve syscall numbers
from linux syscall.tbl instead of syscall_nr.h.
New syscall.tbl is imported fr
From: Laurent Vivier
Since kernel v6.11 aarch64 has moved from syscall_nr.h file
to syscall_64.tbl (See e632bca07c8e ("arm64: generate 64-bit
syscall.tbl"))
Update linux-user scripts to be able to retrieve syscall numbers
from linux syscall_64.tbl instead of syscall_nr.h.
New syscall_64.tbl is i
Add declaration to tcg-internal.h, making it available for
use from tcg backend vector expanders.
Reviewed-by: Philippe Mathieu-Daudé
Signed-off-by: Richard Henderson
---
tcg/tcg-internal.h | 2 ++
tcg/tcg-op-vec.c | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/tcg/t
The use of tcg_last_op does not interact well with
TCGContext.emit_before_op, resulting in the label
being linked to something other than the branch op.
In this case it is easier to simply collect the emitted
branch op and pass it directly to add_as_label_use.
Reported-by: Elisha Hollander
Revie
From: Fabiano Rosas
The XT check for the lxvx/stxvx instructions is currently
inverted. This was introduced during the move to decodetree.
>From the ISA:
Chapter 7. Vector-Scalar Extension Facility
Load VSX Vector Indexed X-form
lxvx XT,RA,RB
if TX=0 & MSR.VSX=0 then VSX_Unavailable()
From: Laurent Vivier
Since kernel v6.11 hexagon has moved from syscall_nr.h file
to syscall.tbl (36d69c29759e ("hexagon: use new system call table"))
Update linux-user scripts to be able to retrieve syscall numbers
from linux syscall.tbl instead of syscall_nr.h.
New syscall.tbl is imported from
These can be simplified to and/or/andc/orc,
avoiding the load of the constantinto a register.
Signed-off-by: Richard Henderson
---
tcg/s390x/tcg-target-con-set.h | 3 ++-
tcg/s390x/tcg-target-con-str.h | 1 +
tcg/s390x/tcg-target.c.inc | 40 ++
3 files chang
Move most of expansion to opcode generation, leaving the
conversion of unsigned to signed to be done in the early phase.
Small inefficiencies, but not incorrect results, are introduced
until cmpsel_vec is converted in the next patch.
Signed-off-by: Richard Henderson
---
tcg/i386/tcg-target.c.inc
Fold matching true/false operands.
Fold true/false operands with 0/-1 to simpler logicals.
Signed-off-by: Richard Henderson
---
tcg/optimize.c | 58 ++
1 file changed, 58 insertions(+)
diff --git a/tcg/optimize.c b/tcg/optimize.c
index f11f576fd4.
Fold "x = cond ? y : y" to "x = y".
Reviewed-by: Philippe Mathieu-Daudé
Signed-off-by: Richard Henderson
---
tcg/optimize.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/tcg/optimize.c b/tcg/optimize.c
index ba16ec27e2..cf311790e0 100644
--- a/tcg/optimize.c
+++ b/tcg/optimize.c
@@ -
From: Laurent Vivier
Updated running scripts/update-syscalltbl.sh
Signed-off-by: Laurent Vivier
Message-ID: <20240920151034.859533-7-laur...@vivier.eu>
Signed-off-by: Richard Henderson
---
linux-user/arm/syscall.tbl | 1 +
linux-user/i386/syscall_32.tbl | 7 ---
linux-user/x86_64/
Do not allow cmpsel_vec to be expanded early, so that we can
make the correct decision wrt the sense of the comparison.
Signed-off-by: Richard Henderson
---
tcg/s390x/tcg-target-con-set.h | 1 +
tcg/s390x/tcg-target.h | 2 +-
tcg/s390x/tcg-target.c.inc | 40 ++--
These can be simplified to and/andc, avoiding the load of
the zero into a register.
Signed-off-by: Richard Henderson
---
tcg/i386/tcg-target-con-set.h | 2 +-
tcg/i386/tcg-target-con-str.h | 1 +
tcg/i386/tcg-target.c.inc | 32 +---
3 files changed, 27 insertion
From: TANG Tiancheng
The loop in the 32-bit case of the vector compare operation
was incorrectly incrementing by 8 bytes per iteration instead
of 4 bytes. This caused the function to process only half of
the intended elements.
Cc: qemu-sta...@nongnu.org
Fixes: 9622c697d1 (tcg: Add gvec compare w
Move expansion to opcode generation.
Signed-off-by: Richard Henderson
---
tcg/ppc/tcg-target.c.inc | 169 +--
1 file changed, 90 insertions(+), 79 deletions(-)
diff --git a/tcg/ppc/tcg-target.c.inc b/tcg/ppc/tcg-target.c.inc
index 3553a47ba9..497e130581 10064
From: Laurent Vivier
Automatically generated using scripts/gensyscalls.sh
Signed-off-by: Laurent Vivier
Reviewed-by: Brian Cain
Message-ID: <20240918074256.720617-2-laur...@vivier.eu>
Signed-off-by: Richard Henderson
---
linux-user/aarch64/syscall_nr.h | 19 ++-
linux-use
Extend tcg_out_evex_opc to handle the predicate and
zero-merging parameters of the evex prefix.
Reviewed-by: Philippe Mathieu-Daudé
Signed-off-by: Richard Henderson
---
tcg/i386/tcg-target.c.inc | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/tcg/i386/tcg-target.c.inc
Do not allow cmpsel_vec to be expanded early, so that we can
make the correct decision wrt the sense of the comparison.
Signed-off-by: Richard Henderson
---
tcg/ppc/tcg-target-con-set.h | 1 +
tcg/ppc/tcg-target.h | 2 +-
tcg/ppc/tcg-target.c.inc | 60 ++
From: Laurent Vivier
Updated running scripts/update-syscalltbl.sh
Signed-off-by: Laurent Vivier
Message-ID: <20240918074256.720617-4-laur...@vivier.eu>
Signed-off-by: Richard Henderson
---
linux-user/alpha/syscall.tbl | 28 +---
linux-user/arm/syscall.tbl| 24 +--
The avx512 vpblendm* instructions exactly implement cmpsel,
using a predicate input. Of course this matches nicely with
the avx512 predicate comparison instructions.
Signed-off-by: Richard Henderson
---
tcg/i386/tcg-target.c.inc | 44 ++-
1 file changed, 43 i
Helper function to handle setting of VEXL based
on the type of the operation.
Reviewed-by: Philippe Mathieu-Daudé
Signed-off-by: Richard Henderson
---
tcg/i386/tcg-target.c.inc | 38 +++---
1 file changed, 15 insertions(+), 23 deletions(-)
diff --git a/tcg/i386/
Reviewed-by: Philippe Mathieu-Daudé
Signed-off-by: Richard Henderson
---
tcg/i386/tcg-target.h | 2 +-
tcg/i386/tcg-target.c.inc | 31 ---
2 files changed, 29 insertions(+), 4 deletions(-)
diff --git a/tcg/i386/tcg-target.h b/tcg/i386/tcg-target.h
index 342be30c
From: Laurent Vivier
Since kernel v6.11 loongarch has moved from syscall_nr.h file
to syscall.tbl (26a3b85bac08 ("loongarch: convert to generic syscall
table"))
Update linux-user scripts to be able to retrieve syscall numbers
from linux syscall.tbl instead of syscall_nr.h.
New syscall.tbl is imp
Expand during output instead of during opcode generation.
Remove x86_vpblendvb_vec opcode, this this removes the only user.
Signed-off-by: Richard Henderson
---
tcg/i386/tcg-target-con-set.h | 1 +
tcg/i386/tcg-target.h | 2 +-
tcg/i386/tcg-target.opc.h | 1 -
tcg/i386/tcg-target.
Place immediate values second in the comparison.
Place destination matches first in the true/false values.
All of this mirrors what we do for integer setcond and movcond.
Signed-off-by: Richard Henderson
---
tcg/optimize.c | 36
1 file changed, 36 insertions(
From: Laurent Vivier
Since kernel v6.11 openrisc has moved from syscall_nr.h file
to syscall.tbl (See 77122bf9e3df ("openrisc: convert to generic syscall
table"))
Update linux-user scripts to be able to retrieve syscall numbers
from linux syscall.tbl instead of syscall_nr.h.
New syscall.tbl is i
u.git tags/pull-tcg-20240922
for you to fetch changes up to c4d80fa63e823dc8dbf094b29e39b6978a3073b6:
linux-user: update syscall.tbl to Linux v6.11 (2024-09-22 09:30:18 +0200)
target/ppc: Fix lxvx/stxvx facility check
linux-us
Move expansion to opcode generation.
Signed-off-by: Richard Henderson
---
tcg/s390x/tcg-target.c.inc | 139 +
1 file changed, 65 insertions(+), 74 deletions(-)
diff --git a/tcg/s390x/tcg-target.c.inc b/tcg/s390x/tcg-target.c.inc
index ad587325fc..23935fd0f0 1
These can be simplified to and/or/andc/orc,
avoiding the load of the constantinto a register.
Signed-off-by: Richard Henderson
---
tcg/ppc/tcg-target-con-set.h | 2 +-
tcg/ppc/tcg-target.c.inc | 43 +++-
2 files changed, 33 insertions(+), 12 deletions(-)
dif
From: Laurent Vivier
Updated running scripts/update-mips-syscall-args.sh
Signed-off-by: Laurent Vivier
Message-ID: <20240918074256.720617-3-laur...@vivier.eu>
Signed-off-by: Richard Henderson
---
linux-user/mips/syscall-args-o32.c.inc | 20
1 file changed, 20 insertions(+
TCGOp to be propagated further in the next patch.
Reviewed-by: Alex Bennée
Reviewed-by: Pierrick Bouvier
Signed-off-by: Richard Henderson
---
tcg/tcg-internal.h | 12 ++--
tcg/tcg-op.c | 23 +++
2 files changed, 21 insertions(+), 14 deletions(-)
diff --git a/
The sse/avx instruction set only has EQ and GT as direct comparisons.
Other signed comparisons can be generated from swapping and inversion.
However unsigned comparisons are not available and must be transformed
to signed comparisons by biasing the inputs.
The avx512 instruction set has a complete
On 21/08/2024 15:45, Igor Mammedov wrote:
On Wed, 14 Aug 2024 11:56:08 +
Ricardo Ribalda wrote:
Today for x86 the _PRT() table is computed in runtime.
Under some configurations, computing the _PRT table can take more than
30 seconds and the ACPI timeout is violated.
This patchset modifie
On 9/20/24 17:10, Laurent Vivier wrote:
linux v6.11 has moved all the remaining archs to syscalltbl,
update QEMU accordingly.
Remove scripts/gensyscalls.sh that is now useless.
Update headers to v6.11
Based-on: <20240918074256.720617-1-laur...@vivier.eu>
Laurent Vivier (6):
linux-user,aarc
On 9/18/24 09:42, Laurent Vivier wrote:
Run scripts/gensyscalls.sh, scripts/update-mips-syscall-args.sh
and scripts/update-syscalltbl.sh to update syscall numbers to
linux v6.10
Laurent Vivier (3):
linux-user: update syscall_nr.h to Linux v6.10
linux-user, mips: update syscall-args-o32.c.i
Nitro Secure Module (NSM)[1] device is used in AWS Nitro Enclaves[2]
for stripped down TPM functionality like cryptographic attestation.
The requests to and responses from NSM device are CBOR[3] encoded.
This commit adds support for NSM device in QEMU. Although related to
AWS Nitro Enclaves, the v
Thanks for reviewing. I have now submitted a v7 :
https://lore.kernel.org/qemu-devel/20240922094441.23802-1-dorjoychy...@gmail.com/T/#t
Regards,
Dorjoy
This is v7 submission for AWS Nitro Enclave emulation in QEMU. From the QEMU
side
the implementation for nitro enclaves is complete. v6 is at:
https://lore.kernel.org/qemu-devel/20240905195735.16911-1-dorjoychy...@gmail.com/T/#t
Changes in v7:
- rebased with master as the first 3 crypto patch
AWS nitro enclaves[1] is an Amazon EC2[2] feature that allows creating
isolated execution environments, called enclaves, from Amazon EC2
instances which are used for processing highly sensitive data. Enclaves
have no persistent storage and no external networking. The enclave VMs
are based on the Fi
Signed-off-by: Dorjoy Chowdhury
---
MAINTAINERS| 1 +
docs/system/i386/nitro-enclave.rst | 78 ++
2 files changed, 79 insertions(+)
create mode 100644 docs/system/i386/nitro-enclave.rst
diff --git a/MAINTAINERS b/MAINTAINERS
index 37411dfffa.
An EIF (Enclave Image Format)[1] file is used to boot an AWS nitro
enclave[2] virtual machine. The EIF file contains the necessary kernel,
cmdline, ramdisk(s) sections to boot.
Some helper functions have been introduced for extracting the necessary
sections from an EIF file and then writing them t
libcbor dependecy is necessary for adding virtio-nsm and nitro-enclave
machine support in the following commits. libvirt-ci has already been
updated with the dependency upstream and this commit updates libvirt-ci
submodule in QEMU to latest upstream. Also the libcbor dependency has
been added to te
On 9/20/24 11:22, Michael Vogt wrote:
+static int do_openat2(CPUArchState *cpu_env, abi_long dirfd,
+ abi_ptr guest_pathname, abi_ptr guest_open_how,
+ abi_long guest_size)
abi_ulong guest_size, as the "real" type is the unsigned size_t.
+
66 matches
Mail list logo