Hi Alex,
On 6/14/24 12:49 PM, Alex Bennée wrote:
Gustavo Romero writes:
This patchset adds the stubs necessary to support GDB memory tagging
commands on QEMU aarch64 user mode.
These new stubs handle the qIsAddressTagged, qMemTag, and QMemTag
packets, which allow GDB memory tagging subcomman
Series fully reviewed. Since Igor reviewed, I plan to merge
it myself if no feedback from Paolo / Michael.
Since v5:
- Addressed Igor review comments
- Added R-b tags
Since v4:
- Rebased on top of 7b68a5fe2f ("Merge tag 'for-upstream')
- Removed obsolete comment (Daniel)
- Clean DEFINE_I440FX_MAC
PCMachineClass::legacy_acpi_table_size was only used by the
pc-i440fx-2.0 machine, which got removed. Remove it and simplify
acpi_build().
Reviewed-by: Zhao Liu
Reviewed-by: Igor Mammedov
Signed-off-by: Philippe Mathieu-Daudé
---
include/hw/i386/pc.h | 1 -
hw/i386/acpi-build.c | 63 +
The pc-i440fx-2.0 machine was deprecated for the 8.2
release (see commit c7437f0ddb "docs/about: Mark the
old pc-i440fx-2.0 - 2.3 machine types as deprecated"),
time to remove it.
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Thomas Huth
Reviewed-by: Zhao Liu
Reviewed-by: Igor Mammedov
--
XHCI_FLAG_FORCE_PCIE_ENDCAP was only used by the
pc-i440fx-2.0 machine, which got removed. Remove it
and simplify usb_xhci_pci_realize().
Reviewed-by: Thomas Huth
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Zhao Liu
Reviewed-by: Igor Mammedov
---
hw/usb/hcd-xhci.h | 1 -
hw/usb/hcd
No external code sets the 'memory-hotplug-support'
property, remove it.
Suggested-by: Thomas Huth
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Zhao Liu
Reviewed-by: Igor Mammedov
---
hw/acpi/ich9.c | 18 --
1 file changed, 18 deletions(-)
diff --git a/hw/acpi/ich9.c b/h
PCMachineClass::enforce_aligned_dimm was only used by the
pc-i440fx-2.1 machine, which got removed. It is now always
true. Remove it, simplifying pc_get_device_memory_range().
Update the comment in Avocado test_phybits_low_pse36().
Reviewed-by: Zhao Liu
Signed-off-by: Philippe Mathieu-Daudé
Revi
XHCI_FLAG_SS_FIRST was only used by the pc-i440fx-2.0 machine,
which got removed. Remove it and simplify various functions in
hcd-xhci.c.
Reviewed-by: Thomas Huth
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Zhao Liu
Reviewed-by: Igor Mammedov
---
hw/usb/hcd-xhci.h | 3 +--
hw/usb/
PCMachineClass::smbios_uuid_encoded was only used by the
pc-i440fx-2.1 machine, which got removed. It is now always
true, remove it.
Reviewed-by: Thomas Huth
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Zhao Liu
Reviewed-by: Igor Mammedov
---
include/hw/i386/pc.h | 1 -
hw/i386/fw_cfg.c
Similarly to the commit c7437f0ddb "docs/about: Mark the
old pc-i440fx-2.0 - 2.3 machine types as deprecated",
deprecate the 2.4 to 2.12 machines.
Suggested-by: Thomas Huth
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Thomas Huth
Reviewed-by: Zhao Liu
Reviewed-by: Igor Mammedov
---
doc
The pc-i440fx-2.2 machine was deprecated for the 8.2
release (see commit c7437f0ddb "docs/about: Mark the
old pc-i440fx-2.0 - 2.3 machine types as deprecated"),
time to remove it.
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Thomas Huth
Reviewed-by: Zhao Liu
Reviewed-by: Igor Mammedov
--
'uuid_encoded' is always true, remove it.
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Zhao Liu
Reviewed-by: Igor Mammedov
---
include/hw/firmware/smbios.h | 3 +--
hw/arm/virt.c| 3 +--
hw/i386/fw_cfg.c | 2 +-
hw/loongarch/virt.c | 2 +-
hw/riscv/vi
PCMachineClass::rsdp_in_ram was only used by the
pc-i440fx-2.2 machine, which got removed. It is
now always true. Remove it, simplifying acpi_setup().
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Thomas Huth
Reviewed-by: Zhao Liu
Reviewed-by: Igor Mammedov
---
include/hw/i386/pc.h | 1
x86_cpu_change_kvm_default() was only used out of kvm-cpu.c by
the pc-i440fx-2.1 machine, which got removed. Make it static,
and remove its declaration. "kvm-cpu.h" is now empty, remove it.
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Thomas Huth
Reviewed-by: Zhao Liu
Reviewed-by: Igor Ma
acpi_memory_hotplug::is_enabled is set to %true once via
ich9_lpc_initfn() -> ich9_pm_add_properties(). No need to
check it, so remove now dead code.
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Zhao Liu
Reviewed-by: Igor Mammedov
---
hw/acpi/ich9.c | 28 ++--
1 f
Last commit removed the last non-NULL use of DEFINE_I440FX_MACHINE
3rd parameter. 'compatfn' is now obsolete, remove it.
Suggested-by: Daniel P. Berrangé
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Thomas Huth
Reviewed-by: Zhao Liu
Reviewed-by: Daniel P. Berrangé
---
hw/i386/pc_piix.c
'legacy_align' is always NULL, remove it.
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Thomas Huth
Reviewed-by: David Hildenbrand
Reviewed-by: Zhao Liu
Reviewed-by: Igor Mammedov
---
include/hw/mem/pc-dimm.h | 3 +--
hw/arm/virt.c| 2 +-
hw/i386/pc.c | 2 +-
hw/
PCMachineClass::acpi_data_size was only used by the pc-i440fx-2.0
machine, which got removed. Since it is constant, replace the class
field by a definition (local to hw/i386/pc.c, since not used
elsewhere).
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Thomas Huth
Reviewed-by: Zhao Liu
---
X86CPU::kvm_no_smi_migration was only used by the
pc-i440fx-2.3 machine, which got removed. Remove it
and simplify kvm_put_vcpu_events().
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Zhao Liu
Reviewed-by: Thomas Huth
---
target/i386/cpu.h | 3 ---
target/i386/cpu.c | 2 --
target
PCMachineClass::resizable_acpi_blob was only used by the
pc-i440fx-2.2 machine, which got removed. It is now always
true. Remove it, simplifying acpi_build().
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Zhao Liu
Reviewed-by: Igor Mammedov
---
include/hw/i386/pc.h | 3 ---
hw/i386/acpi-
The pc-i440fx-2.1 machine was deprecated for the 8.2
release (see commit c7437f0ddb "docs/about: Mark the
old pc-i440fx-2.0 - 2.3 machine types as deprecated"),
time to remove it.
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Thomas Huth
Reviewed-by: Zhao Liu
Reviewed-by: Igor Mammedov
--
The pc-i440fx-2.3 machine was deprecated for the 8.2
release (see commit c7437f0ddb "docs/about: Mark the
old pc-i440fx-2.0 - 2.3 machine types as deprecated"),
time to remove it.
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Thomas Huth
Reviewed-by: Zhao Liu
Reviewed-by: Igor Mammedov
--
AcpiBuildState::rsdp is always NULL, remove it,
simplifying acpi_build_update().
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Thomas Huth
Reviewed-by: Zhao Liu
Reviewed-by: Igor Mammedov
---
hw/i386/acpi-build.c | 8 +---
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/
'smbios_encode_uuid' is always true, remove it,
simplifying smbios_encode_uuid().
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Zhao Liu
Reviewed-by: Igor Mammedov
---
hw/smbios/smbios.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/hw/smbios/smbios.c b/hw/s
'legacy_align' is always NULL, remove it, simplifying
memory_device_pre_plug().
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Thomas Huth
Reviewed-by: David Hildenbrand
Reviewed-by: Zhao Liu
Reviewed-by: Igor Mammedov
---
include/hw/mem/memory-device.h | 2 +-
hw/i386/pc.c
Hi Trent,
On 14/6/24 23:06, Trent Huber wrote:
Darwin uses a subtly different version of the setrlimit() syscall as
described in the COMPATIBILITY section of the macOS man page. The value
of the rlim_cur member has been adjusted accordingly for Darwin-based
systems.
Signed-off-by: Trent Huber
On 6/10/24 11:53 AM, Andrey Drobyshev wrote:
> On 6/3/24 12:19 PM, Andrey Drobyshev wrote:
>> On 5/13/24 9:31 AM, Andrey Drobyshev wrote:
>>> v1: https://lists.nongnu.org/archive/html/qemu-devel/2023-10/msg07223.html
>>>
>>> Andrey Drobyshev (11):
>>> qcow2: make function update_refcount_discard(
在 2024/5/28 上午5:18, Richard Henderson 写道:
Signed-off-by: Richard Henderson
---
tcg/loongarch64/tcg-target.c.inc | 36 +---
1 file changed, 10 insertions(+), 26 deletions(-)
Reviewed-by: Song Gao
Thanks.
Song Gao
diff --git a/tcg/loongarch64/tcg-target.c.inc b/t
The following changes since commit 80e8f0602168f451a93e71cbb1d59e93d745e62e:
Merge tag 'bsd-user-misc-2024q2-pull-request' of gitlab.com:bsdimp/qemu into
staging (2024-06-09 11:21:55 -0700)
are available in the Git repository at:
https://gitlab.com/bonzini/qemu.git tags/for-upstream
for yo
Complete implementation of C and D operand types, then the operations
are just MOVs.
Signed-off-by: Paolo Bonzini
---
target/i386/tcg/decode-new.h | 1 +
target/i386/tcg/translate.c | 79
target/i386/tcg/decode-new.c.inc | 61 ++--
t
On 5/29/24 6:27 PM, Philippe Mathieu-Daudé wrote:
On 29/5/24 16:34, Markus Armbruster wrote:
Daniil Tatianin writes:
On 5/29/24 4:39 PM, Philippe Mathieu-Daudé wrote:
On 29/5/24 14:43, Daniil Tatianin wrote:
On 5/29/24 3:36 PM, Philippe Mathieu-Daudé wrote:
On 29/5/24 14:03, Markus Armb
On Mon, Jun 17, 2024 at 12:45 AM Robert Henry wrote:
> I do not think I will have the time or focus to work on improving this patch
> this summer, as I will retire in 2 weeks and need to make a clean break to
> focus on other things (health, for one) for a while.
> If anyone wants to put into pl
From: Marc-André Lureau
Since commit e8a2db94 "virtio-gpu-virgl: teach it to get the QEMU EGL
display", virtio-gl depends on ui-opengl symbol "qemu_egl_display".
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2391
Fixes: e8a2db94 ("virtio-gpu-virgl: teach it to get the QEMU EGL display"
If we draw logo at odd coords then BootLogoLib goes into exception and
boot process ends:
Synchronous Exception at 0x0101FB943E48
PC 0x0101FB943E48 (0x0101FB93F000+0x4E48) [ 0] QemuVideoDxe.dll
PC 0x0101FB943314 (0x0101FB93F000+0x4314) [ 0] QemuVideoDxe.dll
PC 0x0101FB92F798 (0x0101FB9
On Mon, 17 Jun 2024 at 10:37, Marcin Juszkiewicz
wrote:
>
> If we draw logo at odd coords then BootLogoLib goes into exception and
> boot process ends:
>
> Synchronous Exception at 0x0101FB943E48
> PC 0x0101FB943E48 (0x0101FB93F000+0x4E48) [ 0] QemuVideoDxe.dll
> PC 0x0101FB943314 (0x0101F
On Fri, 14 Jun 2024 20:50, Paolo Bonzini wrote:
On Fri, Jun 14, 2024 at 9:04 AM Manos Pitsidianakis
wrote:
On Thu, 13 Jun 2024 23:57, Paolo Bonzini wrote:
>On Thu, Jun 13, 2024 at 11:16 AM Daniel P. Berrangé
wrote:
>> I guess there's a balance to be had somewhere on the spectrum between do
在 2024/5/28 上午5:18, Richard Henderson 写道:
Signed-off-by: Richard Henderson
---
tcg/loongarch64/tcg-target.c.inc | 22 +-
1 file changed, 17 insertions(+), 5 deletions(-)
Reviewed-by: Song Gao
Thanks.
Song Gao
diff --git a/tcg/loongarch64/tcg-target.c.inc b/tcg/loongarc
在 2024/5/28 上午5:18, Richard Henderson 写道:
We can implement this with fld_d, fst_d for load and store,
and then use the normal v128 operations in registers.
This will improve support for guests which use v64.
Signed-off-by: Richard Henderson
---
tcg/loongarch64/tcg-target.h | 2 +-
tcg/lo
在 2024/5/28 上午5:18, Richard Henderson 写道:
Signed-off-by: Richard Henderson
---
host/include/loongarch64/host/cpuinfo.h | 1 +
util/cpuinfo-loongarch.c| 1 +
2 files changed, 2 insertions(+)
Reviewed-by: Song Gao
Thanks.
Song Gao
diff --git a/host/include/loongarch64/host/
在 2024/5/28 上午5:19, Richard Henderson 写道:
Signed-off-by: Richard Henderson
---
tcg/loongarch64/tcg-target.c.inc | 22 ++
1 file changed, 6 insertions(+), 16 deletions(-)
Reviewed-by: Song Gao
Thanks.
Song Gao
diff --git a/tcg/loongarch64/tcg-target.c.inc b/tcg/loongarc
On 17/6/24 07:26, Zhenyu Zhang wrote:
On Thu, Jun 13, 2024 at 1:48 AM Robin Murphy wrote:
On 2024-06-12 1:50 pm, Philippe Mathieu-Daudé wrote:
On 12/6/24 14:48, Peter Maydell wrote:
On Wed, 12 Jun 2024 at 13:33, Philippe Mathieu-Daudé
wrote:
Hi Zhenyu,
Hello Philippe,
On 12/6/24 04:05
Gustavo Romero writes:
> Hi Alex,
>
> On 6/14/24 8:27 AM, Alex Bennée wrote:
>> Gustavo Romero writes:
>>
>>> Currently, it's not possible to have stubs specific to a given target,
>>> even though there are GDB features which are target-specific, like, for
>>> instance, memory tagging.
>>>
>>>
Gustavo Romero writes:
> Hi Alex,
>
> On 6/14/24 12:49 PM, Alex Bennée wrote:
>> Gustavo Romero writes:
>>
>>> This patchset adds the stubs necessary to support GDB memory tagging
>>> commands on QEMU aarch64 user mode.
>>>
>>> These new stubs handle the qIsAddressTagged, qMemTag, and QMemTag
>
在 2024/5/28 上午5:19, Richard Henderson 写道:
Signed-off-by: Richard Henderson
---
tcg/loongarch64/tcg-target.c.inc | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
Reviewed-by: Song Gao
Thanks.
Song Gao
diff --git a/tcg/loongarch64/tcg-target.c.inc b/tcg/loongarch64/tcg-targe
The crash was reported in MAC OS and NixOS, here is the link for this bug
https://gitlab.com/qemu-project/qemu/-/issues/2334
https://gitlab.com/qemu-project/qemu/-/issues/2321
The root cause is the function virtio_pci_set_guest_notifiers() was not called
in the virtio_input device.So the vector_ir
在 2024/5/28 上午5:19, Richard Henderson 写道:
Each element size has a different encoding, so code cannot
be shared in the same way as with tcg_out_dup_vec.
Signed-off-by: Richard Henderson
---
tcg/loongarch64/tcg-target.c.inc | 30 --
1 file changed, 24 insertions(+),
在 2024/5/28 上午5:19, Richard Henderson 写道:
Signed-off-by: Richard Henderson
---
tcg/loongarch64/tcg-target.c.inc | 18 +-
1 file changed, 1 insertion(+), 17 deletions(-)
Reviewed-by: Song Gao
Thanks.
Song Gao
diff --git a/tcg/loongarch64/tcg-target.c.inc b/tcg/loongarch64/t
在 2024/5/28 上午5:19, Richard Henderson 写道:
Signed-off-by: Richard Henderson
---
tcg/loongarch64/tcg-target.c.inc | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
Reviewed-by: Song Gao
Thanks.
Song Gao
diff --git a/tcg/loongarch64/tcg-target.c.inc b/tcg/loongarch64/tcg-target.c.i
On 6/10/24 11:50, Philippe Mathieu-Daudé wrote:
Replace Monitor API by HumanReadableText one.
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Harsh Prateek Bora
---
include/hw/pci-host/pnv_phb3.h | 2 +-
hw/pci-host/pnv_phb3_msi.c | 21 ++---
hw/ppc/pnv.c
Hi Phillipe,
One query below:
On 6/17/24 15:41, Harsh Prateek Bora wrote:
On 6/10/24 11:50, Philippe Mathieu-Daudé wrote:
Replace Monitor API by HumanReadableText one.
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Harsh Prateek Bora
---
include/hw/pci-host/pnv_phb3.h | 2 +-
Hi Phillipe,
On 6/10/24 11:50, Philippe Mathieu-Daudé wrote:
diff --git a/hw/ppc/pnv.c b/hw/ppc/pnv.c
index fa23b27a2b..5854358f65 100644
--- a/hw/ppc/pnv.c
+++ b/hw/ppc/pnv.c
@@ -1223,7 +1223,13 @@ static void pnv_chip_power9_intc_destroy(PnvChip *chip,
PowerPCCPU *cpu)
static void pnv_chip_
>-Original Message-
>From: Cédric Le Goater
>Subject: [PATCH v2 17/17] vfio/container: Move vfio_container_destroy() to
>an instance_finalize() handler
>
>vfio_container_destroy() clears the resources allocated
>VFIOContainerBase object. Now that VFIOContainerBase is a QOM object,
>add a
>-Original Message-
>From: Eric Auger
>Subject: [PATCH v4 0/8] VIRTIO-IOMMU/VFIO: Fix host iommu geometry
>handling for hotplugged devices
>
>This series is based on Zhenzhong HostIOMMUDevice:
>
>[PATCH v7 00/17] Add a host IOMMU device abstraction to check with
>vIOMMU
>https://lore.ke
On 6/17/24 15:49, Harsh Prateek Bora wrote:
Hi Phillipe,
One query below:
On 6/17/24 15:41, Harsh Prateek Bora wrote:
On 6/10/24 11:50, Philippe Mathieu-Daudé wrote:
Replace Monitor API by HumanReadableText one.
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Harsh Prateek Bora
On Thu, 13 Jun 2024 12:22:09 -0600 Taylor Simpson
wrote:
>
> hexagon-core.xml only exposes register p3_0 which is an alias that
> aggregates the predicate registers. It is more convenient for users
> to interact directly with the predicate registers.
>
> Tested with lldb downloaded from this lo
Akihiko Odaki writes:
> On 2024/06/05 22:35, Alex Bennée wrote:
>> As the latest features for virtio-gpu need a pretty recent version of
>> libvirglrenderer. When it is not available on the system we can use a
>> meson wrapper and provide it when --download is specified in
>> configure.
>> We hav
Hi Michael,
On Wed, Jun 12, 2024 at 03:01:28PM GMT, Stefano Garzarella wrote:
This series should be in a good shape, in which tree should we queue it?
@Micheal would your tree be okay?
Markus suggested a small change to patch 10, so do you want me to resend
the whole series, or is it okay to
Hi Cindy,
On 17/6/24 11:55, Cindy Lu wrote:
The crash was reported in MAC OS and NixOS, here is the link for this bug
https://gitlab.com/qemu-project/qemu/-/issues/2334
https://gitlab.com/qemu-project/qemu/-/issues/2321
The root cause is the function virtio_pci_set_guest_notifiers() was not cal
Hi Richard,
On 6/17/24 00:43, Richard Henderson wrote:
On 6/13/24 02:33, Chinmay Rath wrote:
+/* EA <- (ra == 0) ? 0 : GPR[ra] */
+static TCGv do_ea_calc_ra(DisasContext *ctx, int ra)
+{
+ TCGv EA;
+ if (!ra) {
+ EA = tcg_constant_tl(0);
+ return EA;
+ }
+ EA = tcg_tem
On Thu, Jun 13, 2024 at 04:48:02PM -0700, Nicolin Chen wrote:
> The IORT doc defines "Number of IDs" ("id_count" in the virt-acpi-build)
> to be "the number of IDs in the range minus one". Otherwise, Linux kernel
> reports "conflicting mapping for input ID" FW_BUG at the overlapped ID.
>
> Fixes:
$ cat select.c
#include
#include
#include
#include
#include
#include
int
main (int argc, char **argv)
{
int nfds = (argc > 1 ? atoi (argv[1]) : 1031);
fd_set *fds = calloc ((nfds + (sizeof (fd_mask) * 8) - 1)
/ (sizeof (fd_mask) * 8), sizeof (fd_mask));
setrlimi
On Fri, 14 Jun 2024 15:08:35 +0100
Jonathan Cameron wrote:
> On Fri, 14 Jun 2024 12:57:25 +0200
> Igor Mammedov wrote:
>
> > On Thu, 6 Jun 2024 18:47:16 +0100
> > Jonathan Cameron wrote:
> >
> > > On Thu, 6 Jun 2024 16:06:53 +0200
> > > Igor Mammedov wrote:
> > >
> > > > On Wed, 5 Jun
On Mon, 17 Jun 2024 09:11:16 +0200
Philippe Mathieu-Daudé wrote:
> Last commit removed the last non-NULL use of DEFINE_I440FX_MACHINE
> 3rd parameter. 'compatfn' is now obsolete, remove it.
>
> Suggested-by: Daniel P. Berrangé
> Signed-off-by: Philippe Mathieu-Daudé
> Reviewed-by: Thomas Huth
Thanks for the patch!
Yet something to improve:
subject should list the affected component, and be shorter.
On Thu, Jun 13, 2024 at 10:21:47AM +0800, thomas wrote:
> Fixes: 06b12970174 ("virtio-net: fix network stall under load")
this should come at the end. and what exactly does this
refer
On Mon, 17 Jun 2024 09:11:17 +0200
Philippe Mathieu-Daudé wrote:
> X86CPU::kvm_no_smi_migration was only used by the
> pc-i440fx-2.3 machine, which got removed. Remove it
> and simplify kvm_put_vcpu_events().
>
> Signed-off-by: Philippe Mathieu-Daudé
> Reviewed-by: Zhao Liu
> Reviewed-by: Thom
On Mon, 17 Jun 2024 09:11:18 +0200
Philippe Mathieu-Daudé wrote:
> PCMachineClass::acpi_data_size was only used by the pc-i440fx-2.0
> machine, which got removed. Since it is constant, replace the class
> field by a definition (local to hw/i386/pc.c, since not used
> elsewhere).
>
> Signed-off-b
From: Cédric Le Goater
This helper routine uses the machine definition, sockets, cores and
threads, to loop on all CPUs of the machine. Replace CPU_FOREACH()
with it.
Signed-off-by: Cédric Le Goater
Reviewed-by: Nicholas Piggin
Reviewed-by: Philippe Mathieu-Daudé
Message-ID: <20240424093048.1
Hi Harsh,
On 17/6/24 12:19, Harsh Prateek Bora wrote:
On 6/10/24 11:50, Philippe Mathieu-Daudé wrote:
diff --git a/hw/ppc/pnv.c b/hw/ppc/pnv.c
index fa23b27a2b..5854358f65 100644
--- a/hw/ppc/pnv.c
+++ b/hw/ppc/pnv.c
@@ -1223,7 +1223,13 @@ static void
pnv_chip_power9_intc_destroy(PnvChip *chip
W dniu 17.06.2024 o 10:39, Ard Biesheuvel pisze:
If we draw logo at odd coords then BootLogoLib goes into exception and
boot process ends:
Synchronous Exception at 0x0101FB943E48
PC 0x0101FB943E48 (0x0101FB93F000+0x4E48) [ 0] QemuVideoDxe.dll
PC 0x0101FB943314 (0x0101FB93F000+0x4314)
On 2024/6/12 11:17, Ethan Chen wrote:
Support basic functions of IOPMP specification v0.9.1 rapid-k model.
The specification url:
https://github.com/riscv-non-isa/iopmp-spec/releases/tag/v0.9.1
IOPMP check memory access from device is valid or not. This implementation uses
IOMMU to change addr
Hi Cédric,
On 6/17/24 08:33, Cédric Le Goater wrote:
> Since vfio_devices_dma_logging_start() takes an 'Error **' argument,
> best practices suggest to return a bool. See the api/error.h Rules
> section. It will simplify potential changes coming after.
As I already mentionned the Rules section d
On 6/17/24 08:33, Cédric Le Goater wrote:
> These were forgotten in the recent cleanups.
>
> Signed-off-by: Cédric Le Goater
> Reviewed-by: Zhenzhong Duan
Reviewed-by: Eric Auger
Eric
> ---
> include/hw/vfio/vfio-common.h | 4
> 1 file changed, 4 deletions(-)
>
> diff --git a/includ
Il lun 17 giu 2024, 10:59 Manos Pitsidianakis <
manos.pitsidiana...@linaro.org> ha scritto:
> >qdev_define_type!(c"test-device", TestDevice);
> >impl ObjectImpl for TestDevice {}
> >impl DeviceImpl for TestDevice {}
> >
> >fn main() {
> >let d = TestDevice::new();
> >d.cold_reset();
> >}
>
Hi Cédric,
On 6/17/24 08:33, Cédric Le Goater wrote:
> From: Joao Martins
>
> Separate the changes that updates the ranges from the listener, to
s/updates/update
> make it reusable in preparation to expand its use to vIOMMU support.
>
> [ clg: - Rebased on upstream
>- Introduced vfio_dirty
On 2024/06/17 19:35, Alex Bennée wrote:
Akihiko Odaki writes:
On 2024/06/05 22:35, Alex Bennée wrote:
As the latest features for virtio-gpu need a pretty recent version of
libvirglrenderer. When it is not available on the system we can use a
meson wrapper and provide it when --download is spe
Hi Richard,
On 6/17/24 00:43, Richard Henderson wrote:
On 6/13/24 02:33, Chinmay Rath wrote:
+/* EA <- (ra == 0) ? 0 : GPR[ra] */
+static TCGv do_ea_calc_ra(DisasContext *ctx, int ra)
+{
+ TCGv EA;
+ if (!ra) {
+ EA = tcg_constant_tl(0);
+ return EA;
+ }
+ EA = tcg_t
Stefano Garzarella writes:
> Hi Michael,
>
> On Wed, Jun 12, 2024 at 03:01:28PM GMT, Stefano Garzarella wrote:
>>This series should be in a good shape, in which tree should we queue it?
>>@Micheal would your tree be okay?
>
> Markus suggested a small change to patch 10, so do you want me to resen
On Fri, 14 Jun 2024 15:08:35 +0100
Jonathan Cameron wrote:
> On Fri, 14 Jun 2024 12:57:25 +0200
> Igor Mammedov wrote:
>
> > On Thu, 6 Jun 2024 18:47:16 +0100
> > Jonathan Cameron wrote:
> >
> > > On Thu, 6 Jun 2024 16:06:53 +0200
> > > Igor Mammedov wrote:
> > >
> > > > On Wed, 5 Jun
Am 12.06.24 um 05:17 schrieb Ethan Chen via:
Support basic functions of IOPMP specification v0.9.1 rapid-k model.
The specification url:
https://github.com/riscv-non-isa/iopmp-spec/releases/tag/v0.9.1
IOPMP check memory access from device is valid or not. This implementation uses
IOMMU to change
Hello Eric,
On 6/17/24 1:31 PM, Eric Auger wrote:
Hi Cédric,
On 6/17/24 08:33, Cédric Le Goater wrote:
Since vfio_devices_dma_logging_start() takes an 'Error **' argument,
best practices suggest to return a bool. See the api/error.h Rules
section. It will simplify potential changes coming afte
On 6/10/24 11:50, Philippe Mathieu-Daudé wrote:
@@ -1389,8 +1392,10 @@ void xive_end_pic_print_info(XiveEND *end, uint32_t
end_idx, Monitor *mon)
if (qaddr_base) {
monitor_printf(mon, " eq:@%08"PRIx64"% 6d/%5d ^%d",
qaddr_base, qindex, qentries, qgen);
On 6/10/24 11:50, Philippe Mathieu-Daudé wrote:
@@ -198,13 +193,18 @@ static void spapr_xive_pic_print_info(SpaprXive *xive,
Monitor *mon)
if (!xive_eas_is_masked(eas)) {
uint32_t end_idx = xive_get_field64(EAS_END_INDEX, eas->w);
XiveEND *end;
+
04.06.2024 03:02, Zide Chen wrote:
Currently, if running "-overcommit cpu-pm=on" on hosts that don't
have MWAIT support, the MWAIT/MONITOR feature is advertised to the
guest and executing MWAIT/MONITOR on the guest triggers #UD.
Typically #UD takes priority over VM-Exit interception checks and
K
Applied to trivial-patches, thanks!
/mjt
--
GPG Key transition (from rsa2048 to rsa4096) since 2024-04-24.
New key: rsa4096/61AD3D98ECDF2C8E 9D8B E14E 3F2A 9DD7 9199 28F1 61AD 3D98
ECDF 2C8E
Old key: rsa2048/457CE0A0804465C5 6EE1 95D1 886E 8FFB 810D 4324 457C E0A0
8044 65C5
Transition stat
12.06.2024 20:04, Matheus Tavares Bernardino wrote:
Since a4c2735f35 (cpu: move Qemu[Thread|Cond] setup into common code,
2024-05-30) these fields are now allocated at cpu_common_initfn(). So
let's make sure we also free them at cpu_common_finalize().
Furthermore, the code also frees these on ro
On 6/10/24 11:50, Philippe Mathieu-Daudé wrote:
@@ -203,10 +201,8 @@ static void spapr_xive_pic_print_info(SpaprXive *xive,
Monitor *mon)
spapr_xive_end_pic_print_info(xive, end, buf);
}
-info = human_readable_text_from_str(buf);
-mo
Adding Cc's.
/mjt
29.05.2024 16:53, Frank Mehnert wrote:
The correct bitmask is cpuid_features rather than cpuid_ext_features.
---
target/i386/tcg/decode-new.c.inc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/target/i386/tcg/decode-new.c.inc b/target/i386/tcg/decod
On Fri, Jun 14, 2024 at 05:06:38PM -0400, Trent Huber wrote:
> Darwin uses a subtly different version of the setrlimit() syscall as
> described in the COMPATIBILITY section of the macOS man page. The value
> of the rlim_cur member has been adjusted accordingly for Darwin-based
> systems.
>
> Signe
10.06.2024 09:39, Philippe Mathieu-Daudé wrote:
hmp_info_roms() was removed in commit dd98234c05 ("qapi:
introduce x-query-roms QMP command"),
hmp_info_numa() in commit 1b8ae799d8 ("qapi: introduce
x-query-numa QMP command"),
hmp_info_ramblock() in commit ca411b7c8a ("qapi: introduce
x-query-ra
07.06.2024 17:04, Dr. David Alan Gilbert пишет:
* Dr. David Alan Gilbert (d...@treblig.org) wrote:
A bunch of structs that are currently unused,
found with a simple script and a bit of eyeballing.
The only one I'm that suspicious of is the SPARC
one, where the patch which removed the use is a b
On Mon, Jun 17, 2024 at 02:02:30PM GMT, Markus Armbruster wrote:
Stefano Garzarella writes:
Hi Michael,
On Wed, Jun 12, 2024 at 03:01:28PM GMT, Stefano Garzarella wrote:
This series should be in a good shape, in which tree should we queue it?
@Micheal would your tree be okay?
Markus sugges
Hi All,
During the investigation of a possible memory leak in the `guest-exec`
command of guest-agent, I found unexpected behavior for me. When we execute
the `guest-exec` command with `capture-output = true`, guest-agent stores
stdout/stderr until someone calls `guest-exec-status`.
Just for test
17.06.2024 10:19, Philippe Mathieu-Daudé wrote:
Hi Trent,
On 14/6/24 23:06, Trent Huber wrote:
Darwin uses a subtly different version of the setrlimit() syscall as
described in the COMPATIBILITY section of the macOS man page. The value
of the rlim_cur member has been adjusted accordingly for Da
On Mon, Jun 17, 2024 at 04:05:07PM +0300, Konstantin Kostiuk wrote:
> Hi All,
>
> During the investigation of a possible memory leak in the `guest-exec`
> command of guest-agent, I found unexpected behavior for me. When we execute
> the `guest-exec` command with `capture-output = true`, guest-agen
On 6/14/24 11:52 AM, Eric Auger wrote:
Introduce a new HostIOMMUDevice callback that allows to
retrieve the usable IOVA ranges.
Implement this callback in the legacy VFIO and IOMMUFD VFIO
host iommu devices. This relies on the VFIODevice agent's
base container iova_ranges resource.
Signed-off-b
On 6/10/24 11:50, Philippe Mathieu-Daudé wrote:
Hi,
This series remove uses of Monitor in hw/ppc/,
replacing by the more generic HumanReadableText.
Care is taken to keep the commit bisectables by
updating functions one by one, also easing review.
For rationale see previous series from Daniel
Since srai.w is a valid instruction on la32, simply remove the avail_64 check.
Fixes: c0c0461e3a06 ("target/loongarch: Add avail_64 to check la64-only
instructions")
Signed-off-by: Feiyang Chen
---
target/loongarch/tcg/insn_trans/trans_shift.c.inc | 4
1 file changed, 4 deletions(-)
diff
On Mon, Jun 17, 2024 at 02:59:14PM +0200, Stefano Garzarella wrote:
> On Mon, Jun 17, 2024 at 02:02:30PM GMT, Markus Armbruster wrote:
> > Stefano Garzarella writes:
> >
> > > Hi Michael,
> > >
> > > On Wed, Jun 12, 2024 at 03:01:28PM GMT, Stefano Garzarella wrote:
> > > > This series should be
From: David Woodhouse
In e820_add_entry() the e820_table is reallocated with g_renew() to make
space for a new entry. However, fw_cfg_arch_create() just uses the existing
e820_table pointer.
This leads to a use-after-free if anything adds a new entry after fw_cfg
is set up. Shift the addition of
hi,
subject should list the affected component, and be shorter.
ok, I will rewrite the subject:
"update the latest available idx seen by the host to event idx"
Fixes: 06b12970174 ("virtio-net: fix network stall under load")
this should come at the end.
I have submitted v2, it's at the end now.
1 - 100 of 273 matches
Mail list logo