On 07/06/2023 00.46, Richard Henderson wrote:
We are not currently running a --disable-tcg test for arm64,
like we are for mips, ppc and s390x. We have a job for the
native aarch64 runner, but it is not run by default and it
is not helpful for normal developer testing without access
to qemu's pr
> On Jun 7, 2023, at 10:33, Yuquan Wang wrote:
>
> The current sbsa-ref cannot use EHCI controller which is only
> able to do 32-bit DMA, since sbsa-ref doesn't have RAM below 4GB.
> Hence, this uses system bus XHCI to provide a usb controller with
> 64-bit DMA capablity instead of EHCI.
>
> S
On 07/06/2023 06.22, Joel Stanley wrote:
On Tue, 6 Jun 2023 at 19:28, Thomas Huth wrote:
The ppc64 tuxrun tests are currently failing if "slirp" has been
disabled in the binary since they are using "-netdev user" now.
We have to skip the test if this network backend is missing.
Do the boot t
On 6/5/23 11:52, Paolo Bonzini wrote:
> This series replaces git submodules for bundled libraries with .wrap
> files that can be used directly by meson for subprojects.
Pardon my lack of knowledge, but even after I clone new repo and run:
./configure --enable-donwload && make && make test
I s
On 06/06/2023 16:40, Cédric Le Goater wrote:
External email: Use caution opening links or attachments
Hello Avihai
On 6/6/23 13:59, Avihai Horon wrote:
On 05/06/2023 17:56, Alex Williamson wrote:
External email: Use caution opening links or attachments
On Sun, 4 Jun 2023 12:33:43 +0300
On 7/6/23 07:46, Richard Henderson wrote:
We require either 2 or 4 registers to hold int128_t.
Failure to do so results in a register allocation assert.
Signed-off-by: Richard Henderson
---
tcg/tci/tcg-target.c.inc | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
Reviewed-by:
On 7/6/23 00:46, Richard Henderson wrote:
We are not currently running a --disable-tcg test for arm64,
like we are for mips, ppc and s390x. We have a job for the
native aarch64 runner, but it is not run by default and it
is not helpful for normal developer testing without access
to qemu's privat
On 7/6/23 00:46, Richard Henderson wrote:
Fixes the build for --disable-tcg.
This header is only needed for cross-hosting. Without CONFIG_TCG,
we know this is an AArch64 host, CONFIG_ATOMIC64 will be set, and
the TCG_OVERSIZED_GUEST block will never be compiled.
Signed-off-by: Richard Henderso
On Wed, Jun 07, 2023 at 09:41:40AM +0200, Michal Prívozník wrote:
> On 6/5/23 11:52, Paolo Bonzini wrote:
> > This series replaces git submodules for bundled libraries with .wrap
> > files that can be used directly by meson for subprojects.
>
> Pardon my lack of knowledge, but even after I clone
If configure was invoked with --disable-download and git
submodules were not checked out a warning is produced and the
configure script fails. But the $download variable (which
reflects the enable/disable download argument) is checked for in
a weird fashion:
test -f "$download" = disabled
Drop
On 7/6/23 00:02, BALATON Zoltan wrote:
Count exceptions which can be queried with info irq monitor command.
Signed-off-by: BALATON Zoltan
---
target/ppc/cpu.h | 1 +
target/ppc/cpu_init.c| 18 ++
target/ppc/excp_helper.c | 1 +
3 files changed, 20 insertions(+
On Wed, 7 Jun 2023 at 04:40, Cédric Le Goater wrote:
>
> As mentioned in docs/devel/style.rst "Automatic memory deallocation":
>
> * Variables declared with g_auto* MUST always be initialized,
> otherwise the cleanup function will use uninitialized stack memory
>
> This avoids QEMU to coredump w
On 6/6/23 16:45, Fabiano Rosas wrote:
The code in threadinfo.c is only used for the QMP command
query-migrationthreads. Make it explicit that this is something
related to QMP.
The current names are also too generic for a piece of code that
doesn't affect the migration directly in any way.
Signe
On 7/6/23 09:50, Michal Privoznik wrote:
If configure was invoked with --disable-download and git
submodules were not checked out a warning is produced and the
configure script fails. But the $download variable (which
reflects the enable/disable download argument) is checked for in
a weird fashio
On 7/6/23 04:49, Suravee Suthikulpanit wrote:
"Refactor logic to set SMBIOS defaults"
Into a helper function pc_machine_init_smbios() in preparation for
subsequent code to upgrade default SMBIOS entry point type.
Then, call the helper function from the pc_machine_initfn() to eliminate
duplicat
On Wed, 7 Jun 2023 at 04:40, Cédric Le Goater wrote:
>
> This should also avoid Coverity to report a memory leak warning when
> the QEMU process exits. See CID 1508061.
Ok, so now our layout is this if booted with a mtd device (rainier-bmc):
address-space: memory
-f
On Wed, 7 Jun 2023 at 04:40, Cédric Le Goater wrote:
>
> This change completes commits 5aa281d757 ("aspeed: Introduce a
> spi_boot region under the SoC") and 8b744a6a47 ("aspeed: Add a
> boot_rom overlap region in the SoC spi_boot container") which
> introduced a spi_boot container at the SoC leve
On Wed, 7 Jun 2023 at 04:40, Cédric Le Goater wrote:
>
> Boards will use this new property to identify the device CS line and
> wire the SPI controllers accordingly.
"addr" and not "cs" or even "chip-select"?
Reviewed-by: Joel Stanley
>
> Cc: Alistair Francis
> Reviewed-by: Philippe Mathieu-D
On Wed, Jun 7, 2023 at 12:43 AM Si-Wei Liu wrote:
>
> Sorry for reviving this old thread, I lost the best timing to follow up
> on this while I was on vacation. I have been working on this and found
> out some discrepancy, please see below.
>
> On 4/5/23 04:37, Eugenio Perez Martin wrote:
> > Hi!
On Wed, 7 Jun 2023 at 04:40, Cédric Le Goater wrote:
>
> Simple routine to retrieve a DeviceState object on a SPI bus using its
> address/cs. It will be useful for the board to wire the CS lines.
>
> Cc: Alistair Francis
> Reviewed-by: Philippe Mathieu-Daudé
> Signed-off-by: Cédric Le Goater
R
On Tue, Jun 06, 2023 at 09:49:37PM -0500, Suravee Suthikulpanit wrote:
> Into a helper function pc_machine_init_smbios() in preparation for
> subsequent code to upgrade default SMBIOS entry point type.
>
> Then, call the helper function from the pc_machine_initfn() to eliminate
> duplicate code in
On 7/6/23 10:11, Daniel P. Berrangé wrote:
On Tue, Jun 06, 2023 at 09:49:37PM -0500, Suravee Suthikulpanit wrote:
Into a helper function pc_machine_init_smbios() in preparation for
subsequent code to upgrade default SMBIOS entry point type.
Then, call the helper function from the pc_machine_ini
QE tested sanity testing for this patch on the vhost_vdpa device,
everything works fine.
Tested-by: Lei Yang
On Tue, Jun 6, 2023 at 9:32 AM Jason Wang wrote:
>
> On Sat, Jun 3, 2023 at 1:35 AM Eugenio Pérez wrote:
> >
> > Bug introducing when refactoring. Otherway, the guest never received
>
QE tested sanity testing for this patch on the vhost_vdpa device,
everything works fine.
Tested-by: Lei Yang
On Tue, Jun 6, 2023 at 9:33 AM Jason Wang wrote:
>
> On Sat, Jun 3, 2023 at 1:33 AM Eugenio Pérez wrote:
> >
> > QEMU does not emulate it so it must be disabled as long as the backend
>
Fabiano Rosas wrote:
> This doubly linked list is common for all the multifd and migration
> threads so we need to avoid concurrent access.
>
> Add a mutex to protect the data from concurrent access. This fixes a
> crash when removing two MigrationThread objects from the list at the
> same time du
On 7/6/23 04:49, Suravee Suthikulpanit wrote:
Since KVM_MAX_VCPUS is currently defined to 1024 for x86 as shown in
arch/x86/include/asm/kvm_host.h, update QEMU limits to the same number.
In case KVM could not support the specified number of vcpus, QEMU would
return the following error message:
Fabiano Rosas wrote:
> We've found the source of flakiness in this test, so re-enable it.
>
> Signed-off-by: Fabiano Rosas
> ---
> tests/qtest/migration-test.c | 10 ++
> 1 file changed, 2 insertions(+), 8 deletions(-)
>
> diff --git a/tests/qtest/migration-test.c b/tests/qtest/migration
On 7/6/23 10:06, Joel Stanley wrote:
On Wed, 7 Jun 2023 at 04:40, Cédric Le Goater wrote:
Boards will use this new property to identify the device CS line and
wire the SPI controllers accordingly.
"addr" and not "cs" or even "chip-select"?
"chip-select" is a good suggestion!
Reviewed-by:
On Wed, Jun 07, 2023 at 10:26:59AM +0200, Philippe Mathieu-Daudé wrote:
> On 7/6/23 04:49, Suravee Suthikulpanit wrote:
> > Since KVM_MAX_VCPUS is currently defined to 1024 for x86 as shown in
> > arch/x86/include/asm/kvm_host.h, update QEMU limits to the same number.
> >
> > In case KVM could not
07.06.2023 09:51, Michael Tokarev wrote:
05.06.2023 18:45, Hanna Czenczek wrote:
From: Alexander Ivanov
data_end field in BDRVParallelsState is set to the biggest offset present
in BAT. If this offset is outside of the image, any further write will
create the cluster at this offset and/or the
On 6/7/23 09:47, Daniel P. Berrangé wrote:
> On Wed, Jun 07, 2023 at 09:41:40AM +0200, Michal Prívozník wrote:
>> On 6/5/23 11:52, Paolo Bonzini wrote:
>>> This series replaces git submodules for bundled libraries with .wrap
>>> files that can be used directly by meson for subprojects.
>>
>> Pardo
On MacOS 11 and subsequent versions, in case the resulting binary is not
signed with the proper entitlement, handle and report the HV_DENIED
error.
Signed-off-by: Antonio Caggiano
---
v2: Use architecture specific defines from AvailabilityMacros.h to enable the
HV_DENIED case only on MacOS 11
No, Michal is correct. Patch "meson: subprojects: replace
berkeley-{soft,test}float-3 with wraps" did not remove the submodules.
Paolo
On Wed, Jun 7, 2023 at 10:54 AM Michal Prívozník wrote:
>
> On 6/7/23 09:47, Daniel P. Berrangé wrote:
> > On Wed, Jun 07, 2023 at 09:41:40AM +0200, Michal Prívo
Queued, thanks.
Paolo
Fixes: a0cbd2e8496 ("meson: use prefer_static option", 2023-05-18)
Signed-off-by: Paolo Bonzini
---
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 553c8e0b9c5..34d0444ffbb 100644
--- a/meson.build
+++ b/meson.build
@@ -4088,7 +4088,
Add the SDL_WINDOW_ALLOW_HIGHDPI flag when creating a window and get the
drawable size instead of the window size when setting up the framebuffer
and the viewport.
Signed-off-by: Antonio Caggiano
---
ui/sdl2-gl.c | 4 ++--
ui/sdl2.c| 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
di
06.06.2023 08:56, Thomas Huth wrote:
From: Ilya Leoshkevich
In qemu-user-s390x, /proc/cpuinfo contains:
processor 0: version = 00, identification = 00, machine = 8561
processor 1: version = 00, identification = 40, machine = 8561
The highest nibble is supposed to c
On 7/6/23 11:03, Paolo Bonzini wrote:
Fixes: a0cbd2e8496 ("meson: use prefer_static option", 2023-05-18)
Signed-off-by: Paolo Bonzini
---
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 553c8e0b9c5..34d0444ffbb 100644
--- a/meson
When read the state of a virtqueue, vhost_vdpa need
to check whether the device is suspended.
This commit verifies whether VHOST_BACKEND_F_SUSPEND is
negotiated when checking vhost_vdpa->suspended.
Signed-off-by: Zhu Lingshan
---
hw/virtio/vhost-vdpa.c | 2 +-
1 file changed, 1 insertion(+), 1
On Wed, 2023-06-07 at 12:05 +0300, Michael Tokarev wrote:
> 06.06.2023 08:56, Thomas Huth wrote:
> > From: Ilya Leoshkevich
> >
> > In qemu-user-s390x, /proc/cpuinfo contains:
> >
> > processor 0: version = 00, identification = 00,
> > machine = 8561
> > processor 1: versio
Commit 752614cab8e6 ("target/riscv: rvv: Add tail agnostic for vector
load / store instructions") added an extra check for LMUL fragmentation,
intended for setting the "rest tail elements" in the last register for a
segment load insn.
Actually, the max_elements derived in vext_ld*() won't be a fra
Multiple graphics devices can be defined with an associated OpenGL
enabled SDL console, hence make sure to not destroy their shaders and
windows.
Signed-off-by: Antonio Caggiano
---
ui/sdl2-gl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/sdl2-gl.c b/ui/sdl2-gl.c
index
Signed-off-by: Marcin Juszkiewicz
Reviewed-by: Thomas Huth
---
hw/arm/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig
index 0f42c556d7..4484de67e8 100644
--- a/hw/arm/Kconfig
+++ b/hw/arm/Kconfig
@@ -249,6 +249,7 @@ config SBSA_REF
select PL061 #
05.06.2023 17:21, Laurent Vivier wrote:
Maximum value for tx_queue_size depends on the backend type.
1024 for vDPA/vhost-user, 256 for all the others.
The value is returned by virtio_net_max_tx_queue_size() to set the
parameter:
n->net_conf.tx_queue_size = MIN(virtio_net_max_tx_queue_size(
30.05.2023 16:12, Nicholas Piggin wrote:
It is possible to store a very large value to the decrementer that it
does not raise the decrementer exception so the timer is scheduled, but
the next time value wraps and is treated as in the past.
This can occur if (u64)-1 is stored on a zero-triggered
On Wed, Jun 7, 2023 at 11:09 AM Philippe Mathieu-Daudé
wrote:
>
> On 7/6/23 11:03, Paolo Bonzini wrote:
> > Fixes: a0cbd2e8496 ("meson: use prefer_static option", 2023-05-18)
> > Signed-off-by: Paolo Bonzini
> > ---
> > meson.build | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
On 7/6/23 11:26, Paolo Bonzini wrote:
On Wed, Jun 7, 2023 at 11:09 AM Philippe Mathieu-Daudé
wrote:
On 7/6/23 11:03, Paolo Bonzini wrote:
Fixes: a0cbd2e8496 ("meson: use prefer_static option", 2023-05-18)
Signed-off-by: Paolo Bonzini
---
meson.build | 2 +-
1 file changed, 1 insertion(+
02.06.2023 19:27, Laurent Vivier wrote:
in vhost_dev_enable_notifiers(), if virtio_bus_set_host_notifier(true)
fails, we call vhost_dev_disable_notifiers() that executes
virtio_bus_set_host_notifier(false) on all queues, even on queues that
have failed to be initialized.
This triggers a core dum
Hi Paolo, hi John,
since the recent reworks with the Python venv, building of the docs does not
work for me on my RHEL 8 installation anymore.
If I just run "configure" without any additional arguments, I get:
- 8< -
$ ./configure
Using '
On 6/7/23 06:26, Michael Tokarev wrote:
30.05.2023 16:12, Nicholas Piggin wrote:
It is possible to store a very large value to the decrementer that it
does not raise the decrementer exception so the timer is scheduled, but
the next time value wraps and is treated as in the past.
This can occ
On 07/06/2023 11.42, Thomas Huth wrote:
Hi Paolo, hi John,
since the recent reworks with the Python venv, building of the docs does not
work for me on my RHEL 8 installation anymore.
If I just run "configure" without any additional arguments, I get:
- 8< --
02.06.2023 20:33, Eugenio Pérez wrote:
QEMU does not emulate it so it must be disabled as long as the backend
does not support it.
Signed-off-by: Eugenio Pérez
---
net/vhost-vdpa.c | 1 +
1 file changed, 1 insertion(+)
Is it -stable material?
Thanks,
/mjt
02.06.2023 20:34, Eugenio Pérez wrote:
Bug introducing when refactoring. Otherway, the guest never received
the used buffer.
Fixes: be4278b65fc1 ("vdpa: extract vhost_vdpa_net_cvq_add from
vhost_vdpa_net_handle_ctrl_avail")
Signed-off-by: Eugenio Pérez
---
net/vhost-vdpa.c | 2 +-
1 file c
Hi Antonio
On Wed, Jun 7, 2023 at 1:05 PM Antonio Caggiano
wrote:
> Add the SDL_WINDOW_ALLOW_HIGHDPI flag when creating a window and get the
> drawable size instead of the window size when setting up the framebuffer
> and the viewport.
>
>
What does this actually change?
What about non-gl displa
On 25/05/2023 08.47, Thomas Huth wrote:
It's possible to compile QEMU without the USB devices (e.g. when using
"--without-default-devices" as option for the "configure" script).
To be still able to run the loongson3-virt machine in default mode with
such a QEMU binary, we have to check here for t
Hi Antonio
On Wed, Jun 7, 2023 at 1:13 PM Antonio Caggiano
wrote:
> Multiple graphics devices can be defined with an associated OpenGL
> enabled SDL console, hence make sure to not destroy their shaders and
> windows.
>
>
Signed-off-by: Antonio Caggiano
> ---
> ui/sdl2-gl.c | 2 +-
> 1 file ch
On Wed, 7 Jun 2023 at 04:40, Cédric Le Goater wrote:
>
> Currently, a set of default flash devices is created at machine init
> and drives defined on the QEMU command line are associated to the FMC
> and SPI controllers in sequence :
>
>-drive file,format=raw,if=mtd
>-drive file,format=raw
On Wed, 7 Jun 2023 at 04:40, Cédric Le Goater wrote:
>
> This to avoid address conflicts on the same SSI bus. Adapt machines
> using multiple devices on the same bus to avoid breakage.
>
> Cc: "Edgar E. Iglesias"
> Cc: Alistair Francis
> Reviewed-by: Philippe Mathieu-Daudé
> Signed-off-by: Cédr
On Wed, 7 Jun 2023 at 04:40, Cédric Le Goater wrote:
>
> It will help in getting rid of some drive_get(IF_MTD) calls by
> retrieving the BlockBackend directly from the m25p80 device.
>
> Cc: Alistair Francis
> Reviewed-by: Philippe Mathieu-Daudé
> Signed-off-by: Cédric Le Goater
One suggestion
On Wed, 7 Jun 2023 at 04:40, Cédric Le Goater wrote:
>
> and get rid of an unnecessary drive_get(IF_MTD) call.
>
> Reviewed-by: Philippe Mathieu-Daudé
> Signed-off-by: Cédric Le Goater
Reviewed-by: Joel Stanley
> ---
> hw/arm/aspeed.c | 8 +---
> 1 file changed, 5 insertions(+), 3 deleti
On Wed, 7 Jun 2023 at 04:40, Cédric Le Goater wrote:
>
> Most of the Aspeed machines use the UART5 device for the boot console,
> and QEMU connects the first serial Chardev to this SoC device for this
> purpose. See routine connect_serial_hds_to_uarts().
>
> Nevertheless, some machines use another
On Tuesday, June 6, 2023 6:00:28 PM CEST Greg Kurz wrote:
> Hi Christian,
>
> On Tue, 06 Jun 2023 15:57:50 +0200
> Christian Schoenebeck wrote:
>
> > The 9p protocol does not specifically define how server shall behave when
> > client tries to open a special file, however from security POV it do
On Tuesday, June 6, 2023 8:48:49 PM CEST Michael Tokarev wrote:
> 06.06.2023 16:57, Christian Schoenebeck wrote:
[...]
> > +/* CVE-2023-2861: Prohibit opening any special file directly on host
> > + * (especially device files), as a compromised client could potentially
> > + * gain acce
On Wed, 7 Jun 2023 at 04:40, Cédric Le Goater wrote:
>
> Cortex A7 CPUs with an FPU implementing VFPv4 without NEON support
> have 16 64-bit FPU registers and not 32 registers. Let users set the
> number of VFP registers with a CPU property.
>
> The primary use case of this property is for the Cor
On 2023/06/07 19:29, Marc-André Lureau wrote:
Hi Antonio
On Wed, Jun 7, 2023 at 1:13 PM Antonio Caggiano
mailto:quic_acagg...@quicinc.com>> wrote:
Multiple graphics devices can be defined with an associated OpenGL
enabled SDL console, hence make sure to not destroy their shaders and
On Tue, 6 Jun 2023 at 13:49, Peter Maydell wrote:
>
> The nrf51_timer has a free-running counter which we implement using
> the pattern of using two fields (update_counter_ns, counter) to track
> the last point at which we calculated the counter value, and the
> counter value at that time. Then w
On Tue, May 30, 2023 at 04:46:18PM -0300, Daniel Henrique Barboza wrote:
> Using all TCG user properties in KVM is tricky. First because KVM
> supports only a small subset of what TCG provides, so most of the
> cpu->cfg flags do nothing for KVM.
>
> Second, and more important, we don't have a way
On Wed, May 31, 2023 at 05:46:55PM +0300, Vladimir Sementsov-Ogievskiy wrote:
> On 15.05.23 22:53, Eric Blake wrote:
> > Time to support clients that request extended headers. Now we can
> > finally reach the code added across several previous patches.
> >
> > Even though the NBD spec has been al
On Tue, May 30, 2023 at 04:46:20PM -0300, Daniel Henrique Barboza wrote:
> Let's add KVM user properties for the multi-letter extensions that KVM
> currently supports: zicbom, zicboz, zihintpause, zbb, ssaia, sstc,
> svinval and svpbmt.
>
> As with the recently added MISA properties we're also goi
Juan Quintela writes:
> Fabiano Rosas wrote:
>> This doubly linked list is common for all the multifd and migration
>> threads so we need to avoid concurrent access.
>>
>> Add a mutex to protect the data from concurrent access. This fixes a
>> crash when removing two MigrationThread objects from
On Tue, May 30, 2023 at 04:46:19PM -0300, Daniel Henrique Barboza wrote:
> Our design philosophy with KVM properties can be resumed in two main
> decisions based on KVM interface availability and what the user wants to
> do:
>
> - if the user disables an extension that the host KVM module doesn't
This patch reorganizes the vdpa_feature_bits array
in ascending order based on its value to avoid future duplicates.
Signed-off-by: Hawkins Jiawei
---
net/vhost-vdpa.c | 23 ---
1 file changed, 12 insertions(+), 11 deletions(-)
diff --git a/net/vhost-vdpa.c b/net/vhost-vdpa.
This patchset removes the duplicated VIRTIO_NET_F_RSS entry
in vdpa_feature_bits array and reorganizes the vdpa_feature_bits array
in ascending order based on its value to avoid future duplicates.
Note that this patchset conflicts with the [1], but conflict can be
easily resolved by inserting the
This entry was duplicated on referenced commit. Removing it.
Fixes: 402378407dbd ("vhost-vdpa: multiqueue support")
Signed-off-by: Hawkins Jiawei
---
net/vhost-vdpa.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/net/vhost-vdpa.c b/net/vhost-vdpa.c
index 37cdc84562..d90c8e2796 100644
--- a/
From: "Vanderson M. do Rosario"
If a TB has a TBS (TBStatistics) with the TB_EXEC_STATS
enabled, then we instrument the start code of this TB
to atomically count the number of times it is executed.
We count both the number of "normal" executions and atomic
executions of a TB.
The execution count
On Tue, May 30, 2023 at 04:46:21PM -0300, Daniel Henrique Barboza wrote:
> KVM is not using the same attributes as TCG, i.e. it doesn't use
> isa_edata_arr[]. Add a new kvm_riscv_isa_string_ext() helper that does
> basically the same thing, but using KVM internals instead.
>
> The decision to add
v15
---
This is a large change:
* remove all time related stuffs, including cmd 'info profile'
* remove the per-TB flag, use global flag instead
* remove tb_stats pause/filter, but add status
* remove qemu_log changes, and use monitor_printf
* use array instead of list for sorting
* remove async_sa
From: "Vanderson M. do Rosario"
These commands allow the exploration of TBs generated by the TCG.
Understand which one hotter, with more guest/host instructions... and
examine their guest, host and IR code.
The goal of this command is to allow the dynamic exploration of TCG
behavior and code qua
Dump the hottest TBs if -d tb_stats_{all,jit,exec}[:dump_num_at_exit]
---
accel/tcg/tb-stats.c | 21 +
include/exec/tb-stats-dump.h | 21 +
include/exec/tb-stats-flags.h | 1 +
linux-user/exit.c | 2 ++
softmmu/runstate.c|
From: "Vanderson M. do Rosario"
To store statistics for each TB, we created a TBStatistics structure
which is linked with the TBs. TBStatistics can stay alive after
tb_flush and be relinked to a regenerated TB. So the statistics can
be accumulated even through flushes.
The goal is to have all pr
TBStats will be introduced to replace CONFIG_PROFILER totally, here
remove all CONFIG_PROFILER related stuffs first.
Signed-off-by: Vanderson M. do Rosario
Signed-off-by: Alex Bennée
Signed-off-by: Fei Wu
Reviewed-by: Richard Henderson
---
accel/tcg/monitor.c | 31 -
accel/tcg/
Capture TBS at startup instead of an explicit 'tb_stats start' command.
Signed-off-by: Vanderson M. do Rosario
Signed-off-by: Alex Bennée
Signed-off-by: Fei Wu
---
include/exec/tb-stats-flags.h | 1 +
include/qemu/log.h| 1 +
stubs/meson.build | 1 +
stubs/tb-stats.c
Signed-off-by: Fei Wu
---
docs/devel/tcg-tbstats.rst | 97 ++
1 file changed, 97 insertions(+)
create mode 100644 docs/devel/tcg-tbstats.rst
diff --git a/docs/devel/tcg-tbstats.rst b/docs/devel/tcg-tbstats.rst
new file mode 100644
index 00..dd611e41f3
This collects all the statistics for TBStatistics, not only for the
whole emulation but for each TB.
Signed-off-by: Vanderson M. do Rosario
Signed-off-by: Alex Bennée
Signed-off-by: Fei Wu
---
accel/tcg/monitor.c | 6 +++
accel/tcg/tb-stats.c | 69 ++
From: "Vanderson M. do Rosario"
Adding tb_stats [start|stop|status] command to hmp.
This allows controlling the collection of statistics.
It is also possible to set the flag of collection:
all, jit, or exec.
The goal of this command is to allow the dynamic exploration
of the TCG behavior and qua
From: Alex Bennée
We keep track of translations but can only do so up until the
translation cache is flushed. At that point we really have no idea if
we can re-create a translation because all the active tracking
information has been reset.
Signed-off-by: Alex Bennée
Reviewed-by: Richard Hender
On Tue, May 30, 2023 at 04:46:22PM -0300, Daniel Henrique Barboza wrote:
> We're now ready to update the multi-letter extensions status for KVM.
>
> kvm_riscv_update_cpu_cfg_isa_ext() is called called during vcpu creation
> time to verify which user options changes host defaults (via the 'user_set
The line of output that has changed was originally added by the
following commit:
commit ae00aa2398476824f0eca80461da215e7cdc1c3b
Author: Vladimir Sementsov-Ogievskiy
Date: Fri May 22 01:06:46 2020 +0300
iotests: 194: test also migration of dirty bitmap
Vladimir: Any idea why the postcopy
On 6/6/23 19:02, BALATON Zoltan wrote:
Count exceptions which can be queried with info irq monitor command.
Signed-off-by: BALATON Zoltan
---
Queued in gitlab.com/danielhb/qemu/tree/ppc-next. Thanks,
Daniel
target/ppc/cpu.h | 1 +
target/ppc/cpu_init.c| 18 +
On 6/6/23 16:28, Thomas Huth wrote:
The ppc64 tuxrun tests are currently failing if "slirp" has been
disabled in the binary since they are using "-netdev user" now.
We have to skip the test if this network backend is missing.
Fixes: 6ee3624236 ("improve code coverage for ppc64")
Signed-off-by
On 6/1/2023 10:40 AM, Richard Henderson wrote:
>> +static int
>> +__attribute__((format(printf, 2, 3)))
>> +fprintf_log(FILE *a, const char *b, ...)
>> +{
>> + va_list ap;
>> + va_start(ap, b);
>> +
>> + if (!to_string) {
>> + vfprintf(a, b, ap);
>> + } else {
>> + qemu_vl
On Tue, May 30, 2023 at 04:46:23PM -0300, Daniel Henrique Barboza wrote:
> If we don't set a proper cbom_blocksize|cboz_blocksize in the FDT the
> Linux Kernel will fail to detect the availability of the CBOM/CBOZ
> extensions, regardless of the contents of the 'riscv,isa' DT prop.
>
> The FDT is
On Wed, 7 Jun 2023 at 12:26, Joel Stanley wrote:
>
> On Tue, 6 Jun 2023 at 13:49, Peter Maydell wrote:
> >
> > The nrf51_timer has a free-running counter which we implement using
> > the pattern of using two fields (update_counter_ns, counter) to track
> > the last point at which we calculated th
On Wed, 07 Jun 2023 13:02:17 +0200
Christian Schoenebeck wrote:
> On Tuesday, June 6, 2023 6:00:28 PM CEST Greg Kurz wrote:
> > Hi Christian,
> >
> > On Tue, 06 Jun 2023 15:57:50 +0200
> > Christian Schoenebeck wrote:
> >
> > > The 9p protocol does not specifically define how server shall beha
On Wed, Jun 07, 2023 at 09:00:14AM -0300, Fabiano Rosas wrote:
> >> diff --git a/migration/migration.c b/migration/migration.c
> >> index e731fc98a1..b3b8345eb2 100644
> >> --- a/migration/migration.c
> >> +++ b/migration/migration.c
> >> @@ -1146,6 +1146,7 @@ static void migrate_fd_cleanup(Migrati
On Wednesday, June 7, 2023 1:02:17 PM CEST Christian Schoenebeck wrote:
> On Tuesday, June 6, 2023 6:00:28 PM CEST Greg Kurz wrote:
> > Hi Christian,
> >
> > On Tue, 06 Jun 2023 15:57:50 +0200
> > Christian Schoenebeck wrote:
> >
> > > The 9p protocol does not specifically define how server shal
On 6/7/23 06:16, Xiao Wang wrote:
Commit 752614cab8e6 ("target/riscv: rvv: Add tail agnostic for vector
load / store instructions") added an extra check for LMUL fragmentation,
intended for setting the "rest tail elements" in the last register for a
segment load insn.
Actually, the max_elemen
Marcin Juszkiewicz writes:
> Update prebuilt firmware images to have TF-A with FEAT_FGT support
> enabled. This allowed us to enable test for "max" cpu in sbsa-ref
> machine.
>
> Signed-off-by: Marcin Juszkiewicz
Queued to testing/next, thanks.
--
Alex Bennée
Virtualisation Tech Lead @ Linar
On 6/4/23 2:16 AM, Sam Li wrote:
> The g_file_get_contents() function returns a g_boolean. If it fails, the
> returned value will be 0 instead of -1. Solve the issue by skipping
> assigning ret value.
>
> This issue was found by Matthew Rosato using virtio-blk-{pci,ccw} backed
> by an NVMe partiti
On 2/10/2023 4:25 AM, Markus Armbruster wrote:
> Steven Sistare writes:
>
>> On 2/9/2023 1:59 PM, Markus Armbruster wrote:
>>> Steven Sistare writes:
On 2/9/2023 11:46 AM, Markus Armbruster wrote:
> Steven Sistare writes:
>
> [...]
>
>> For more context, this patch has been part
1 - 100 of 268 matches
Mail list logo