On 8/9/24 04:26, Richard Henderson wrote:
Fold "x = cond ? y : y" to "x = y".
Signed-off-by: Richard Henderson
---
tcg/optimize.c | 5 +
1 file changed, 5 insertions(+)
Reviewed-by: Philippe Mathieu-Daudé
On 2024/9/10 12:34, Richard Henderson wrote:
On 9/9/24 19:46, LIU Zhiwei wrote:
lmul = type - riscv_lg2_vlenb;
if (lmul < -3) {
/* Host VLEN >= 1024 bits. */
vlmul = VLMUL_M1;
I am not sure if we should use VLMUL_MF8,
Perhaps. See below.
} else if (lmul < 3) {
On 8/9/24 04:26, Richard Henderson wrote:
Extend tcg_out_evex_opc to handle the predicate and
zero-merging parameters of the evex prefix.
Signed-off-by: Richard Henderson
---
tcg/i386/tcg-target.c.inc | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
Reviewed-by: Philippe Mathieu
On 10/9/24 01:50, Richard Henderson wrote:
On 9/9/24 16:19, Philippe Mathieu-Daudé wrote:
From: Richard Henderson
Signed-off-by: Richard Henderson
Message-ID: <20240605215739.4758-7-richard.hender...@linaro.org>
[PMD: Split patch, part 2/4]
Signed-off-by: Philippe Mathieu-Daudé
---
target/
On Sat, Jun 29, 2024 at 10:01:52PM +0200, BALATON Zoltan wrote:
> This is an alternative appriach to solve the qemu_irq leak in
> vt82c686. Allowing embedding an irq and init it in place like done
> with other objects may allow cleaner fix for similar issues and I also
> plan to use this for adding
On Thu, Sep 5, 2024 at 9:18 PM Stefan Hajnoczi wrote:
> On Wed, Sep 04, 2024 at 03:01:06PM +0200, Albert Esteve wrote:
> > On Thu, Jul 11, 2024 at 10:55 AM Stefan Hajnoczi
> > wrote:
> >
> > > On Fri, Jun 28, 2024 at 04:57:10PM +0200, Albert Esteve wrote:
> > > > Implement function handlers for
On 10/9/24 06:54, Alistair Francis wrote:
The current approach of using qemu_chr_fe_write() and ignoring the
return values results in dropped characters [1].
Let's update the SiFive UART to use a async sifive_uart_xmit() function
to transmit the characters and apply back pressure to the guest wi
On 10/9/24 06:54, Alistair Francis wrote:
The current approach of using qemu_chr_fe_write() and ignoring the
return values results in dropped characters [1]. Ideally we want to
report FIFO status to the guest, but the HTIF isn't a real UART, so we
don't really have a way to do that.
Instead let'
On 10/09/2024 08.41, Philippe Mathieu-Daudé wrote:
On 10/9/24 05:58, Richard Henderson wrote:
[rth@cfarm120 bld]$ make check-functional
[1/2] Generating tests/functional/func-precache-m68k-m68k_nextcube with a
custom command (wrapped by meson to set env)
FAILED: tests/functional/m68k-m68k_next
has_cmd returns a tuple, not a boolean value. This fixes a crash when
e.g. "tesseract" is not available in the test_m68k_nextcube test.
Reported-by: Richard Henderson
Signed-off-by: Thomas Huth
---
tests/functional/qemu_test/cmd.py | 6 +++---
tests/functional/qemu_test/tesseract.py | 3 +
On Tue, Sep 10, 2024 at 09:58:20AM +0200, Thomas Huth wrote:
> has_cmd returns a tuple, not a boolean value. This fixes a crash when
> e.g. "tesseract" is not available in the test_m68k_nextcube test.
>
> Reported-by: Richard Henderson
> Signed-off-by: Thomas Huth
> ---
> tests/functional/qemu_
On 9/2/2024 6:15 PM, Alex Bennée wrote:
Haixu Cui writes:
Hi Alex,
Thanks a lot for your comments, please refer to my response below.
On 8/28/2024 1:14 AM, Alex Bennée wrote:
Haixu Cui writes:
Apologies for the delay in getting to this.
This work is based on the virtio-spi spec, v
On Mon, 19 Aug 2024 15:43:03 +0100
Peter Maydell wrote:
> At some point the way we allocate socket-id and core-id to CPUs
> by default changed; update the example of how to do CPU hotplug
> and unplug so the example commands work again. The differences
> in the sample input and output are:
> * t
From: William Roche
The SIGBUS signal siginfo reporting a HW memory error
provides a si_addr_lsb fields with an indication of the
impacted memory page size.
This information should be used to track the hwpoisoned
page sizes.
Signed-off-by: William Roche
---
accel/kvm/kvm-all.c| 6 --
a
From: William Roche
When the VM reboots, a memory reset is performed calling
qemu_ram_remap() on all hwpoisoned pages.
We take into account the recorded page size to adjust the
size and location of the memory hole.
In case of a largepage used, we also need to punch a hole
in the backend file to r
From: William Roche
We need to deal with hugetlbfs memory large pages facing HW errors,
to increase the probability to survive a memory poisoning.
When an error is detected, the platform kernel marks the entire
hugetlbfs large page as "poisoned" and reports the event to all
potential users using
From: William Roche
Hello,
This is a Qemu RFC to introduce the possibility to deal with hardware
memory errors impacting hugetlbfs memory backed VMs. When using
hugetlbfs large pages, any large page location being impacted by an
HW memory error results in poisoning the entire page, suddenly maki
From: William Roche
madvise MADV_HWPOISON can generate a SIGBUS when called, so the listener
thread (the caller) needs to deal with this signal.
The signal handler recognizes a thread specific variable allowing it to
directly exit when generated from this thread.
Signed-off-by: William Roche
--
From: William Roche
In case the SIGBUS handler is triggered by a BUS_MCEERR_AO signal
and this handler needs to exit to let the VM pause during the memory
mapping change, this SIGBUS won't be regenerated when the VM resumes.
In this case we take note of this signal before exiting the handler
to r
From: William Roche
Add the page size information to the hwpoison_page_list elements.
Signed-off-by: William Roche
---
accel/kvm/kvm-all.c | 11 +++
include/sysemu/kvm.h | 3 ++-
include/sysemu/kvm_int.h | 3 ++-
target/arm/kvm.c | 5 +++--
target/i386/kvm/kvm.c
On Thursday, September 5, 2024 10:22:59 AM CEST Paolo Bonzini wrote:
> It has been deprecated since 8.1; remove it and suggest using permission
> mapping
> or virtiofsd.
virtfs-proxy-helper is just one component and (implementation detail) being
removed. So I would change the commit log to:
9p
On Fri, Aug 23, 2024 at 02:00:37PM +0900, Akihiko Odaki wrote:
> Supersedes: <20240714-rombar-v2-0-af1504ef5...@daynix.com>
> ("[PATCH v2 0/4] hw/pci: Convert rom_bar into OnOffAuto")
>
> I submitted a RFC series[1] to add support for SR-IOV emulation to
> virtio-net-pci. During the development of
On Tue, Sep 10, 2024 at 2:51 AM Zhou Wang wrote:
>
> On 2024/9/9 22:47, Mostafa Saleh wrote:
> > Hi Zhou,
> >
> > On Mon, Sep 9, 2024 at 3:22 PM Zhou Wang via wrote:
> >>
> >> Hi All,
> >>
> >> When I tested mainline qemu(commit 7b87a25f49), it reports smmuv3 event
> >> 0x10
> >> during kernel b
On Mon, 9 Sept 2024 at 18:40, Philippe Mathieu-Daudé wrote:
>
> Hi,
>
> (Cc'ing Arnaud & Inès who are listed as maintainers)
>
> On 6/9/24 18:12, Peter Maydell wrote:
> > On Mon, 2 Sept 2024 at 14:38, Jacob Abrams wrote:
> >>
> >> These changes allow the official STM32L4xx HAL UART driver to func
On 2024/09/10 18:21, Michael S. Tsirkin wrote:
On Fri, Aug 23, 2024 at 02:00:37PM +0900, Akihiko Odaki wrote:
Supersedes: <20240714-rombar-v2-0-af1504ef5...@daynix.com>
("[PATCH v2 0/4] hw/pci: Convert rom_bar into OnOffAuto")
I submitted a RFC series[1] to add support for SR-IOV emulation to
v
On Tue, 10 Sept 2024 at 10:03, Igor Mammedov wrote:
>
> On Mon, 19 Aug 2024 15:43:03 +0100
> Peter Maydell wrote:
>
> > At some point the way we allocate socket-id and core-id to CPUs
> > by default changed; update the example of how to do CPU hotplug
> > and unplug so the example commands work a
We want to run tests using default cpu without having to remember which
Arm core is it.
Change Neoverse-N1 (old default) test to use default cpu (Neoverse-N2 at
the moment).
Signed-off-by: Marcin Juszkiewicz
---
tests/functional/test_aarch64_sbsaref.py | 18 ++
1 file changed, 1
'Test might timeout' means nothing. Replace it with useful information
that it is emulation of pointer authentication what makes this test run
too long.
Signed-off-by: Marcin Juszkiewicz
---
tests/functional/test_aarch64_sbsaref.py | 15 ++-
1 file changed, 10 insertions(+), 5 deleti
FreeBSD has longer support cycle for stable release (14.x EoL in 2028)
than OpenBSD (7.3 we use is already EoL). Also bugfixes are backported
so we can stay on 14.x for longer.
Signed-off-by: Marcin Juszkiewicz
---
tests/functional/test_aarch64_sbsaref.py | 43 +++-
1
OpenBSD 7.3 we use is EoL. Both 7.4 and 7.5 releases do not work on
anything above Neoverse-N1 due to PAC emulation:
https://marc.info/?l=openbsd-arm&m=171050428327850&w=2
OpenBSD 7.6 is not yet released.
Signed-off-by: Marcin Juszkiewicz
---
tests/functional/test_aarch64_sbsaref.py | 44 -
We want test to run on default cpu settings. For now it is plain
Neoverse-N2 but we are considering either disabling PAuth or going with
'impdef' way.
We want to have some non-Linux OS in testing in case one of changes keep
Linux booting but crash elsewhere. So far OpenBSD was used for it but we
m
From: William Roche
madvise MADV_HWPOISON can generate a SIGBUS when called, so the listener
thread (the caller) needs to deal with this signal.
The signal handler recognizes a thread specific variable allowing it to
directly exit when generated from this thread.
Signed-off-by: William Roche
--
From: William Roche
We need to deal with hugetlbfs memory large pages facing HW errors,
to increase the probability to survive a memory poisoning.
When an error is detected, the platform kernel marks the entire
hugetlbfs large page as "poisoned" and reports the event to all
potential users using
From: William Roche
When the VM reboots, a memory reset is performed calling
qemu_ram_remap() on all hwpoisoned pages.
We take into account the recorded page size to adjust the
size and location of the memory hole.
In case of a largepage used, we also need to punch a hole
in the backend file to r
From: William Roche
Add the page size information to the hwpoison_page_list elements.
Signed-off-by: William Roche
---
accel/kvm/kvm-all.c | 11 +++
include/sysemu/kvm.h | 3 ++-
include/sysemu/kvm_int.h | 3 ++-
target/arm/kvm.c | 5 +++--
target/i386/kvm/kvm.c
From: William Roche
In case the SIGBUS handler is triggered by a BUS_MCEERR_AO signal
and this handler needs to exit to let the VM pause during the memory
mapping change, this SIGBUS won't be regenerated when the VM resumes.
In this case we take note of this signal before exiting the handler
to r
From: William Roche
The SIGBUS signal siginfo reporting a HW memory error
provides a si_addr_lsb fields with an indication of the
impacted memory page size.
This information should be used to track the hwpoisoned
page sizes.
Signed-off-by: William Roche
---
accel/kvm/kvm-all.c| 6 --
a
From: William Roche
Apologies for the noise; resending as I missed CC'ing the maintainers of the
changed files
Hello,
This is a Qemu RFC to introduce the possibility to deal with hardware
memory errors impacting hugetlbfs memory backed VMs. When using
hugetlbfs large pages, any large page loc
On Mon, 9 Sept 2024 at 16:02, Peter Maydell wrote:
>
> On Mon, 9 Sept 2024 at 15:55, Guenter Roeck wrote:
> >
> > On 9/9/24 06:40, Philippe Mathieu-Daudé wrote:
> > > Hi,
> > >
> > > On 3/9/24 18:06, Peter Maydell wrote:
> > >> This patchset removes the various Arm machines which we deprecated
>
On Tuesday, September 10, 2024 11:16:55 AM CEST Christian Schoenebeck wrote:
> On Thursday, September 5, 2024 10:22:59 AM CEST Paolo Bonzini wrote:
> > It has been deprecated since 8.1; remove it and suggest using permission
> > mapping
> > or virtiofsd.
>
> virtfs-proxy-helper is just one compon
HI Zhao,
> From: Zhao Liu
> Sent: Monday, September 9, 2024 4:28 PM
> To: Salil Mehta
>
> On Wed, Sep 04, 2024 at 05:37:21PM +, Salil Mehta wrote:
> > Date: Wed, 4 Sep 2024 17:37:21 +
> > From: Salil Mehta
> > Subject: RE: [PATCH RFC V3 01/29] arm/virt,target/arm: Add new ARMCP
On 10/9/24 09:36, Thomas Huth wrote:
On 10/09/2024 08.41, Philippe Mathieu-Daudé wrote:
line 16, in tesseract_available
(stdout, stderr, ret) = run_cmd([ 'tesseract', '--version'])
File "/home/rth/qemu/src/tests/functional/qemu_test/cmd.py", line
69, in run_cmd
subp = subprocess.P
On 10/9/24 09:58, Thomas Huth wrote:
has_cmd returns a tuple, not a boolean value. This fixes a crash when
e.g. "tesseract" is not available in the test_m68k_nextcube test.
Reported-by: Richard Henderson
Signed-off-by: Thomas Huth
---
tests/functional/qemu_test/cmd.py | 6 +++---
test
On Tue, 10 Sept 2024 at 08:37, Thomas Huth wrote:
>
> On 10/09/2024 08.41, Philippe Mathieu-Daudé wrote:
> > While looking at this, I'm surprised to notice has_cmd() actually
> > *runs* the command by calling run_cmd(). I'd have expected it solely
> > checks for binary presence and RX perms, avoid
Thanks for the feedback Richard, I'm working on the endianness. Could
you please give me more details about the atomicity issues you are
referring to?
Best wishes
Paolo
On 7/27/24 08:15, Richard Henderson wrote:
On 7/18/24 01:30, Paolo Savini wrote:
This patch optimizes the emulation of unit
Since commits 139c1837db ("meson: rename included C source files
to .c.inc") and 0979ed017f ("meson: rename .inc.h files to .h.inc"),
EMU standard procedure for included header files is to use *.h.inc.
Besides, since commit 6a0057aa22 ("docs/devel: make a statement
about includes") this is documen
Follow Coding Style:
If you do use template header files they should be named with
the ``.c.inc`` or ``.h.inc`` suffix to make it clear they are
being included for expansion.
Philippe Mathieu-Daudé (2):
target/hexagon: Rename macros.inc -> macros.h.inc
tests/bench: Rename test_akcipher_
Since commit 139c1837db ("meson: rename included C source files
to .c.inc"), QEMU standard procedure for included C files is to
use *.c.inc.
Besides, since commit 6a0057aa22 ("docs/devel: make a statement
about includes") this is documented in the Coding Style:
If you do use template header fil
Hi Zhenzhong,
Do you plan to post a v3 for this series?
Thanks
>cmd
On 05/08/2024 08:27, Zhenzhong Duan wrote:
> Caution: External email. Do not open attachments or click links, unless this
> email comes from a known sender and you know the content is safe.
>
>
> Hi,
>
> Per Jason Wang's sugge
On 10.09.24 12:02, “William Roche wrote:
From: William Roche
Hi,
Apologies for the noise; resending as I missed CC'ing the maintainers of the
changed files
Hello,
This is a Qemu RFC to introduce the possibility to deal with hardware
memory errors impacting hugetlbfs memory backed VMs. W
On Tue, Sep 10, 2024 at 06:33:01PM +0900, Akihiko Odaki wrote:
> On 2024/09/10 18:21, Michael S. Tsirkin wrote:
> > On Fri, Aug 23, 2024 at 02:00:37PM +0900, Akihiko Odaki wrote:
> > > Supersedes: <20240714-rombar-v2-0-af1504ef5...@daynix.com>
> > > ("[PATCH v2 0/4] hw/pci: Convert rom_bar into OnO
- Fix a pair of typos
- Upgrade the deprecated GPL-2.0+/LGPL-2.0+ SPDX tags
to GPL-2.0-only / GPL-2.0-or-later / LGPL-2.0-or-later.
Philippe Mathieu-Daudé (5):
NSIS: Simplify license description
tests/functional: Correct typo in test_netdev_ethtool.py SPDX tag
license: Update deprecated S
The 'LGPL-2.0+' license identifier has been deprecated since license
list version 2.0rc2 [1] and replaced by the 'LGPL-2.0-or-later' [2]
tag.
[1] https://spdx.org/licenses/LGPL-2.0+.html
[2] https://spdx.org/licenses/LGPL-2.0-or-later.html
Mechanical patch running:
$ sed -i -e s/LGPL-2.0+/LGPL
The 'GPL-2.0' license identifier has been deprecated since license
list version 3.0 [1] and replaced by the 'GPL-2.0-only' tag [2].
[1] https://spdx.org/licenses/GPL-2.0.html
[2] https://spdx.org/licenses/GPL-2.0-only.html
Mechanical patch running:
$ sed -i -e s/GPL-2.0/GPL-2.0-only/ \
$(g
The 'GPL-2.0+' license identifier has been deprecated since license
list version 2.0rc2 [1] and replaced by the 'GPL-2.0-or-later' [2]
tag.
[1] https://spdx.org/licenses/GPL-2.0+.html
[2] https://spdx.org/licenses/GPL-2.0-or-later.html
Mechanical patch running:
$ sed -i -e s/GPL-2.0+/GPL-2.0-o
Since the "2 | 3+" expression can be simplified as "2+",
it is pointless to mention the GPLv3 license.
Add the corresponding SPDX identifier to remove all doubt.
Signed-off-by: Philippe Mathieu-Daudé
---
qemu.nsi | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/qemu.nsi b/
Cc: Alex Bennée
Fixes: 9f95111474 ("tests/avocado: re-factor igb test to avoid timeouts")
Signed-off-by: Philippe Mathieu-Daudé
---
tests/functional/test_netdev_ethtool.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/functional/test_netdev_ethtool.py
b/tests/functio
On 10/09/2024 13.51, Philippe Mathieu-Daudé wrote:
Cc: Alex Bennée
Fixes: 9f95111474 ("tests/avocado: re-factor igb test to avoid timeouts")
Signed-off-by: Philippe Mathieu-Daudé
---
tests/functional/test_netdev_ethtool.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/t
Hi Peter,
On 16-07-2024 09:15 pm, Peter Maydell wrote:
In target/arm/cpu.c:arm_cpu_realizefn() there is this code:
if (cpu_isar_feature(aa64_mte, cpu)) {
/*
* The architectural range of GM blocksize is 2-6, however qemu
* doesn't support blocksize of 2 (see
On Mon, Jul 08, 2024 at 06:08:16PM +0800, Yuke Peng wrote:
> According to Intel VT-d specification 5.1.4, CFI must be blocked when
> Extended Interrupt Mode is enabled or Compatibility format interrupts
> are disabled.
>
> Signed-off-by: Yuke Peng
The rename is fine.
The issue with the patch is
On 10/09/2024 13.51, Philippe Mathieu-Daudé wrote:
Since the "2 | 3+" expression can be simplified as "2+",
it is pointless to mention the GPLv3 license.
Add the corresponding SPDX identifier to remove all doubt.
Signed-off-by: Philippe Mathieu-Daudé
---
qemu.nsi | 4 +++-
1 file changed, 3
When a new listener for an address space is registered, the hypervisor must be
informed of all existing eventfds for that address space by calling
eventfd_add() for that listener. Similarly, when a listener is de-registered
from an address space, the hypervisor must be informed of all existing even
On 10/09/2024 13.51, Philippe Mathieu-Daudé wrote:
The 'LGPL-2.0+' license identifier has been deprecated since license
list version 2.0rc2 [1] and replaced by the 'LGPL-2.0-or-later' [2]
tag.
[1] https://spdx.org/licenses/LGPL-2.0+.html
[2] https://spdx.org/licenses/LGPL-2.0-or-later.html
Mech
On 10/9/24 13:51, Philippe Mathieu-Daudé wrote:
The 'GPL-2.0' license identifier has been deprecated since license
list version 3.0 [1] and replaced by the 'GPL-2.0-only' tag [2].
[1] https://spdx.org/licenses/GPL-2.0.html
[2] https://spdx.org/licenses/GPL-2.0-only.html
Mechanical patch running
On 10/09/2024 13.51, Philippe Mathieu-Daudé wrote:
The 'GPL-2.0+' license identifier has been deprecated since license
list version 2.0rc2 [1] and replaced by the 'GPL-2.0-or-later' [2]
tag.
[1] https://spdx.org/licenses/GPL-2.0+.html
[2] https://spdx.org/licenses/GPL-2.0-or-later.html
Mechanic
On 10/09/2024 13.51, Philippe Mathieu-Daudé wrote:
The 'GPL-2.0' license identifier has been deprecated since license
list version 3.0 [1] and replaced by the 'GPL-2.0-only' tag [2].
[1] https://spdx.org/licenses/GPL-2.0.html
[2] https://spdx.org/licenses/GPL-2.0-only.html
Mechanical patch runn
On 10/09/2024 14.04, Philippe Mathieu-Daudé wrote:
On 10/9/24 13:51, Philippe Mathieu-Daudé wrote:
The 'GPL-2.0' license identifier has been deprecated since license
list version 3.0 [1] and replaced by the 'GPL-2.0-only' tag [2].
[1] https://spdx.org/licenses/GPL-2.0.html
[2] https://spdx.org/
On 06/09/2024 20.07, Peter Maydell wrote:
The cross-i686-tci CI job is persistently flaky with various tests
hitting timeouts. One theory for why this is happening is that we're
running too many tests in parallel and so sometimes a test gets
starved of CPU and isn't able to complete within the t
Gustavo Romero writes:
> This patchset makes handle_q_memtag, handle_q_isaddresstagged, and
> handle_Q_memtag stubs build for system mode, allowing all GDB
> 'memory-tag' subcommands to work with QEMU gdbstub on aarch64 system
> mode, resolving:
>
> https://gitlab.com/qemu-project/qemu/-/issues/6
On Tue, 10 Sept 2024 at 13:13, Thomas Huth wrote:
>
> On 06/09/2024 20.07, Peter Maydell wrote:
> > The cross-i686-tci CI job is persistently flaky with various tests
> > hitting timeouts. One theory for why this is happening is that we're
> > running too many tests in parallel and so sometimes a
On Tue, 10 Sept 2024 at 12:57, Ganapatrao Kulkarni
wrote:
> On 16-07-2024 09:15 pm, Peter Maydell wrote:
> > Since Cornelia first wrote the patch this is based on, we've
> > landed gdbstub support for MTE (so gdb can find out which
> > addresses in the memory map have tags and read and write
> > t
Series fully reviewed (thanks Thomas!)
Since v1:
. Updated regex to cover all GPL-2.0* cases.
- Fix a pair of typos
- Upgrade the deprecated GPL-2.0+/LGPL-2.0+ SPDX tags
to GPL-2.0-only / GPL-2.0-or-later / LGPL-2.0-or-later.
Philippe Mathieu-Daudé (5):
NSIS: Simplify license description
t
Since the "2 | 3+" expression can be simplified as "2+",
it is pointless to mention the GPLv3 license.
Add the corresponding SPDX identifier to remove all doubt.
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Thomas Huth
---
qemu.nsi | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
The 'LGPL-2.0+' license identifier has been deprecated since license
list version 2.0rc2 [1] and replaced by the 'LGPL-2.0-or-later' [2]
tag.
[1] https://spdx.org/licenses/LGPL-2.0+.html
[2] https://spdx.org/licenses/LGPL-2.0-or-later.html
Mechanical patch running:
$ sed -i -e s/LGPL-2.0+/LGPL
Cc: Alex Bennée
Fixes: 9f95111474 ("tests/avocado: re-factor igb test to avoid timeouts")
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Thomas Huth
---
tests/functional/test_netdev_ethtool.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/functional/test_netdev_e
The 'GPL-2.0' license identifier has been deprecated since license
list version 3.0 [1] and replaced by the 'GPL-2.0-only' tag [2].
[1] https://spdx.org/licenses/GPL-2.0.html
[2] https://spdx.org/licenses/GPL-2.0-only.html
Mechanical patch running:
$ sed -i -e s/GPL-2.0/GPL-2.0-only/ \
$(g
On Mon, 9 Sept 2024 at 23:24, Philippe Mathieu-Daudé wrote:
>
> On 9/9/24 18:22, Richard Henderson wrote:
> > Reviewed-by: Peter Maydell
>
> I wonder, maybe you mispasted my previous R-b tags
> with Peter's?
> https://lore.kernel.org/qemu-devel/37096dc8-7827-4a4c-a27b-4f8343aa9...@linaro.org/
I
The 'GPL-2.0+' license identifier has been deprecated since license
list version 2.0rc2 [1] and replaced by the 'GPL-2.0-or-later' [2]
tag.
[1] https://spdx.org/licenses/GPL-2.0+.html
[2] https://spdx.org/licenses/GPL-2.0-or-later.html
Mechanical patch running:
$ sed -i -e s/GPL-2.0+/GPL-2.0-o
Rust crates, introduced from the next commit onwards, can optionally use
the glib allocator API and need to know whether g_aligned_alloc etc are
available.
This commit adds a define in config_host_data that depends on glib
version >= 2.72.
Reviewed-by: Alex Bennée
Signed-off-by: Manos Pitsidiana
WARNING: This series contains a patch with blob diffs and thus problems
may arise with your patch workflow. The revision is available at
https://gitlab.com/epilys/qemu/-/tree/rust-v10 for you to fetch.
rust-v10 head: 29f226178b5af97612cc8d1c8401959c6f41f027
Hello everyone,
This series adds:
- b
Added pch_msi interrupt controller handling
during kernel emulation of irq chip.
Signed-off-by: Xianglai Li
---
Cc: Paolo Bonzini
Cc: Song Gao
Cc: Jiaxun Yang
Cc: Huacai Chen
Cc: "Michael S. Tsirkin"
Cc: Cornelia Huck
Cc: k...@vger.kernel.org
Cc: Bibo Mao
Cc: Xianglai Li
hw/intc/loongar
Add rust feature in meson.build, configure, to prepare for adding Rust
code in the followup commits.
Signed-off-by: Manos Pitsidianakis
Reviewed-by: Alex Bennée
---
MAINTAINERS | 5 +
meson.build | 22 +-
Kconfig
This commit adds a helper crate library, qemu-api-macros for derive (and
other procedural) macros to be used along qemu-api.
It needs to be a separate library because in Rust, procedural macros, or
macros that can generate arbitrary code, need to be special separate
compilation units.
Only one ma
Add bindings_rs target for generating rust bindings to target-independent
qemu C APIs.
The bindings need be created before any rust crate that uses them is
compiled.
The bindings.rs file will end up in BUILDDIR/bindings.rs and have the
same name as a target:
ninja bindings.rs
Signed-off-by: P
This commit adds a re-implementation of hw/char/pl011.c in Rust.
How to build:
1. Configure a QEMU build with:
--enable-system --target-list=aarch64-softmmu --enable-rust
2. Launching a VM with qemu-system-aarch64 should use the Rust version
of the pl011 device
Co-authored-by: Junjie Mao
Added ipi interrupt controller for kvm emulation.
The main process is to send the command word for
creating an ipi device to the kernel.
When the VM is saved, the ioctl obtains the ipi
interrupt controller data in the kernel and saves it.
When the VM is recovered, the saved data is sent to the kern
From: Richard Henderson
We do not always want both address and undefined behavior
sanitizers running at the same time.
For the gitlab custom-runners, drop to only --enable-ubsan.
These jobs are not run by default, but as will be obvious in the
next patch, we don't run ASan on x86 either, and it
Add rust/qemu-api, which exposes rust-bindgen generated FFI bindings and
provides some declaration macros for symbols visible to the rest of
QEMU.
Co-authored-by: Junjie Mao
Co-authored-by: Paolo Bonzini
Signed-off-by: Junjie Mao
Signed-off-by: Paolo Bonzini
Signed-off-by: Manos Pitsidianakis
Added pch_pic interrupt controller for kvm emulation.
The main process is to send the command word for
creating an pch_pic device to the kernel,
Delivers the pch pic interrupt controller configuration
register base address to the kernel.
When the VM is saved, the ioctl obtains the pch_pic
interrupt
From: Paolo Bonzini
Include the correct path and arguments to rustc in the native
and cross files (native compilation is needed for procedural
macros).
Based on the host architecture and OS, the compiler and optionally the argument
to --cpu, the Rust target triple can be detected automatically f
We've got to do_test_advcal_2018() here now that the test resides
in a separate file. Also switch back to the original URL (since
the site did not vanish as originally expected) and update the
hashsum to use SHA256.
Message-ID: <20240906180549.792832-14-th...@redhat.com>
Tested-by: Philippe Mathie
Added extioi interrupt controller for kvm emulation.
The main process is to send the command word for
creating an extioi device to the kernel.
When the VM is saved, the ioctl obtains the related
data of the extioi interrupt controller in the kernel
and saves it. When the VM is recovered, the saved
Add macro definitions needed for interrupt controller kvm emulation.
Signed-off-by: Xianglai Li
---
Cc: Paolo Bonzini
Cc: Song Gao
Cc: Jiaxun Yang
Cc: Huacai Chen
Cc: "Michael S. Tsirkin"
Cc: Cornelia Huck
Cc: k...@vger.kernel.org
Cc: Bibo Mao
Cc: Xianglai Li
include/hw/intc/loongarch_e
From: Richard Henderson
With 8e466dd09246 and 23ef50ae2d0c, we disable function pointer
sanitization in CI because the qemu code base does not support it.
We must disable this for normal usage of --enable-ubsan as well,
so move it there.
Append options rather than prepend, since all of this requ
Set rust source code to diff=rust (built-in with new git versions)
and merge=binary for Cargo.lock files (they should not be merged but
auto-generated by cargo)
Reviewed-by: Alex Bennée
Reviewed-by: Zhao Liu
Signed-off-by: Manos Pitsidianakis
---
.gitattributes | 3 +++
1 file changed, 3 inser
The following changes since commit 7bbadc60b58b742494555f06cd342311ddab9351:
Merge tag 'crypto-fixes-pull-request' of https://gitlab.com/berrange/qemu
into staging (2024-09-09 15:19:32 +0100)
are available in the Git repository at:
https://gitlab.com/thuth/qemu.git tags/pull-request-2024-09
From: Philippe Mathieu-Daudé
Straight forward conversion. Update the SHA1 hashes to SHA256
hashes since SHA1 should not be used anymore nowadays.
Signed-off-by: Philippe Mathieu-Daudé
Message-ID: <20240826221058.75126-4-phi...@linaro.org>
[thuth: Use the LinuxKernelTest class]
Message-ID: <2024
The Meson section has plenty of reviewers, and in order to reduce the
load on my Inbox a little bit, I'm stepping back as a reviewer here.
Message-ID: <20240906155900.742157-1-th...@redhat.com>
Signed-off-by: Thomas Huth
---
MAINTAINERS | 1 -
1 file changed, 1 deletion(-)
diff --git a/MAINTAIN
From: Philippe Mathieu-Daudé
Straight forward conversion. Update the SHA1 hashes to
SHA256 hashes since SHA1 should not be used anymore nowadays.
$ QEMU_TEST_ALLOW_UNTRUSTED_CODE=1 \
make check-functional-mipsel
...
▶ 4/4
test_mipsel_malta.MaltaMachineConsole.test_mips_malta32el_n
Copy the LinuxKernelTest from tests/acceptance/boot_linux_console.py
to be able to convert the related tests to the functional test framework
in the following patches.
Message-ID: <20240906180549.792832-2-th...@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé
Signed-off-by: Thomas Huth
---
tests
1 - 100 of 468 matches
Mail list logo