Re: [PATCH 1/3] Cursor: 8 -> 1 bit alpha downsampling improvement

2024-06-09 Thread Akihiko Odaki
On 2024/06/09 5:20, Phil Dennis-Jordan wrote: Mouse cursors with 8 bit alpha were downsampled to 1-bit opacity maps by turning alpha values of 255 into 1 and everything else into 0. This means that mostly-opaque pixels ended up completely invisible. This patch changes the behaviour so that only

Re: [PATCH v3 05/13] hw/riscv: add riscv-iommu-pci reference device

2024-06-09 Thread Frank Chang
Hi Daniel, Daniel Henrique Barboza 於 2024年5月24日 週五 上午1:42寫道: > > From: Tomasz Jeznach > > The RISC-V IOMMU can be modelled as a PCIe device following the > guidelines of the RISC-V IOMMU spec, chapter 7.1, "Integrating an IOMMU > as a PCIe device". > > Signed-off-by: Tomasz Jeznach > Signed-off

Re: [PATCH 2/3] hw: Moves int_clamp() implementations to header

2024-06-09 Thread Akihiko Odaki
On 2024/06/09 5:20, Phil Dennis-Jordan wrote: Both hw/input/hid.c and hw/usb/dev-wacom.c define identical versions (aside from code formatting) of a clamping function, int_clamp(). (marked inline) To avoid duplication and to enable further re-use, this change moves the function into qemu/cutils.h

Re: [PATCH 3/3] ui/cocoa: Adds support for mouse cursors

2024-06-09 Thread Akihiko Odaki
On 2024/06/09 5:20, Phil Dennis-Jordan wrote: This change implements the callbacks dpy_cursor_define and dpy_mouse_set for the Cocoa UI. The incoming mouse cursor image is converted into an NSCursor object, allowing the guest mouse cursor to be rendered as the host's native OS cursor on macOS. T

Re: [PATCH v3 10/13] hw/riscv/riscv-iommu: add ATS support

2024-06-09 Thread Frank Chang
Reviewed-by: Frank Chang Daniel Henrique Barboza 於 2024年5月24日 週五 上午1:41寫道: > > From: Tomasz Jeznach > > Add PCIe Address Translation Services (ATS) capabilities to the IOMMU. > This will add support for ATS translation requests in Fault/Event > queues, Page-request queue and IOATC invalidations

Re: [PATCH v3 11/13] hw/riscv/riscv-iommu: add DBG support

2024-06-09 Thread Frank Chang
Reviewed-by: Frank Chang Daniel Henrique Barboza 於 2024年5月24日 週五 上午1:42寫道: > > From: Tomasz Jeznach > > DBG support adds three additional registers: tr_req_iova, tr_req_ctl and > tr_response. > > The DBG cap is always enabled. No on/off toggle is provided for it. > > Signed-off-by: Tomasz Jezna

[PULL 2/3] bsd-user: port linux-user:ff8a8bbc2ad1 for variable page sizes

2024-06-09 Thread Warner Losh
Bring in Richard Henderson's ff8a8bbc2ad1 to finalize the page size to allow TARGET_PAGE_BITS_VARY. bsd-user's "blitz" fork has aarch64 support, which is now variable page size. Add support for it here, even though it's effectively a nop in upstream qemu. Signed-off-by: Warner Losh Reviewed-by: R

[PULL 3/3] bsd-user: Catch up to run-time reserved_va math

2024-06-09 Thread Warner Losh
Catch up to linux-user's 8f67b9c694d0, 13c13397556a, 2f7828b57293, and 95059f9c313a by Richard Henderson which made reserved_va a run-time calculation, defaulting to nothing except in the case of 64-bit host 32-bit target. Also include the adjustment of the comment heading that work submitted in th

[PULL 0/3] Bsd user misc 2024q2 patches

2024-06-09 Thread Warner Losh
The following changes since commit 3e246da2c3f85298b52f8a1154b832acf36aa656: Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging (2024-06-08 07:40:08 -0700) are available in the Git repository at: g...@gitlab.com:bsdimp/qemu.git tags/bsd-user-misc-2024q2-pull-request f

[PULL 1/3] linux-user: Adjust comment to reflect the code.

2024-06-09 Thread Warner Losh
If the user didn't specify reserved_va, there's an else for 64-bit host 32-bit (or fewer) target to reserve 32-bits of address space. Update the comments to reflect this, and rejustify comment to 80 columns. Signed-off-by: Warner Losh Reviewed-by: Richard Henderson --- linux-user/main.c | 8 +++

Re: [PATCH 2/4] target/ppc: Move VSX vector with length storage access insns to decodetree.

2024-06-09 Thread Chinmay Rath
Hi Richard, On 6/7/24 21:11, Richard Henderson wrote: On 6/7/24 07:49, Chinmay Rath wrote: +static bool do_ld_st_vl(DisasContext *ctx, arg_X *a, +    void (*helper)(TCGv_ptr, TCGv, TCGv_ptr, TCGv)) +{ +    TCGv EA; +    TCGv_ptr xt; +    if (a->rt < 32) { +    REQUIRE_

Re: [PATCH 2/4] target/ppc: Move VSX vector with length storage access insns to decodetree.

2024-06-09 Thread Richard Henderson
On 6/9/24 11:11, Chinmay Rath wrote: The calculation of effective address in these instructions is slightly different than the others, for which helper function exist : EA for these insns : EA ← (RA=0) ? 0 : GPR[RA] EA for rest storage access insns : EA ← ((RA=0) ? 0 : GPR[RA]) + GPR[RB] This

Re: [PULL 0/6] hex queue

2024-06-09 Thread Richard Henderson
On 6/8/24 17:56, Brian Cain wrote: The following changes since commit 3e246da2c3f85298b52f8a1154b832acf36aa656: Merge tag 'for-upstream' ofhttps://gitlab.com/bonzini/qemu into staging (2024-06-08 07:40:08 -0700) are available in the Git repository at: https://github.com/quic/qemu tags

Re: [PATCH 3/4] target/ppc: Move VSX vector storage access insns to decodetree.

2024-06-09 Thread Chinmay Rath
Hi Richard, On 6/7/24 21:16, Richard Henderson wrote: On 6/7/24 07:49, Chinmay Rath wrote: Moving the following instructions to decodetree specification:    lxv{b16, d2, h8, w4, ds, ws}x   : X-form    stxv{b16, d2, h8, w4}x  : X-form The changes were verified by validating that the

Re: [PATCH 4/4] target/ppc: Move VSX fp compare insns to decodetree.

2024-06-09 Thread Chinmay Rath
On 6/7/24 21:25, Richard Henderson wrote: On 6/7/24 07:49, Chinmay Rath wrote: +static bool do_cmp(DisasContext *ctx, arg_XX3_rc *a, +    void (*helper)(TCGv_i32, TCGv_ptr, TCGv_ptr, TCGv_ptr, TCGv_ptr)) +{ +    TCGv_i32 ignored; +    TCGv_ptr xt, xa, xb; +    REQUIRE_VSX(ctx); +   

Re: [PATCH 3/4] target/ppc: Move VSX vector storage access insns to decodetree.

2024-06-09 Thread Chinmay Rath
Hi Richard, My apologies for the ill formatted reply in this patch series. Just realized it now. The cliched 'Tab' issue with the mail client XD. On 6/7/24 21:16, Richard Henderson wrote: On 6/7/24 07:49, Chinmay Rath wrote: Moving the following instructions to decodetree specification:   

Re: [PATCH v13 03/13] virtio-gpu: Handle virtio_gpu_virgl_init() failure

2024-06-09 Thread Dmitry Osipenko
On 6/3/24 08:44, Akihiko Odaki wrote: > On 2024/06/03 14:26, Dmitry Osipenko wrote: >> On 6/2/24 08:34, Akihiko Odaki wrote: +typedef enum { +    RS_START,   /* starting state */ +    RS_INIT_FAILED, /* failed initialisation */ >>> >>> Is the distinction between RS_START and RS_I

Re: [PATCH v13 03/13] virtio-gpu: Handle virtio_gpu_virgl_init() failure

2024-06-09 Thread Dmitry Osipenko
On 6/4/24 17:21, Marc-André Lureau wrote: >> @@ -65,13 +70,21 @@ static void virtio_gpu_gl_handle_ctrl(VirtIODevice >> *vdev, VirtQueue *vq) >> return; >> } >> >> -if (!gl->renderer_inited) { >> -virtio_gpu_virgl_init(g); >> -gl->renderer_inited = true; >> -} >

Re: [PULL 0/3] Bsd user misc 2024q2 patches

2024-06-09 Thread Richard Henderson
On 6/9/24 09:55, Warner Losh wrote: The following changes since commit 3e246da2c3f85298b52f8a1154b832acf36aa656: Merge tag 'for-upstream' ofhttps://gitlab.com/bonzini/qemu into staging (2024-06-08 07:40:08 -0700) are available in the Git repository at: g...@gitlab.com:bsdimp/qemu.git

Re: [PULL v2 2/2] hw/ufs: Add support MCQ of UFSHCI 4.0

2024-06-09 Thread Jeuk Kim
On 6/8/2024 12:02 AM, Peter Maydell wrote: On Mon, 3 Jun 2024 at 09:38, Jeuk Kim wrote: From: Minwoo Im This patch adds support for MCQ defined in UFSHCI 4.0. This patch utilized the legacy I/O codes as much as possible to support MCQ. MCQ operation & runtime register is placed at 0x1000

Re: [PATCH v3 00/13] riscv: QEMU RISC-V IOMMU Support

2024-06-09 Thread Alistair Francis
On Fri, May 24, 2024 at 3:43 AM Daniel Henrique Barboza wrote: > > Hi, > > In this new version a lot of changes were made throughout all the code, > most notably on patch 3. Link for the previous version is [1]. > > * How it was tested * > > This series was tested using an emulated QEMU RISC-V hos

Re: [PATCH v13 03/13] virtio-gpu: Handle virtio_gpu_virgl_init() failure

2024-06-09 Thread Akihiko Odaki
On 2024/06/10 4:02, Dmitry Osipenko wrote: On 6/3/24 08:44, Akihiko Odaki wrote: On 2024/06/03 14:26, Dmitry Osipenko wrote: On 6/2/24 08:34, Akihiko Odaki wrote: +typedef enum { +    RS_START,   /* starting state */ +    RS_INIT_FAILED, /* failed initialisation */ Is the distinction bet

Re: [PATCH 0/5] s390x: Add Full Boot Order Support

2024-06-09 Thread Jared Rossi
On 6/7/24 2:19 AM, Thomas Huth wrote: On 06/06/2024 21.22, Jared Rossi wrote: On 6/5/24 4:02 AM, Thomas Huth wrote: On 29/05/2024 17.43, jro...@linux.ibm.com wrote: From: Jared Rossi This patch set primarily adds support for the specification of multiple boot devices, allowing for the

Re: [PATCH 0/4] hw/s390x: Alias @dump-skeys -> @dump-s390-skey and deprecate

2024-06-09 Thread Markus Armbruster
"Dr. David Alan Gilbert" writes: > * Markus Armbruster (arm...@redhat.com) wrote: >> Philippe Mathieu-Daudé writes: >> >> > Hi Daniel, Dave, Markus & Thomas. >> > >> > On 4/6/24 06:58, Markus Armbruster wrote: >> >> "Dr. David Alan Gilbert" writes: >> >>> * Daniel P. Berrangé (berra...@redhat.

[PATCH] hw/arm/xilinx_zynq: Fix IRQ/FIQ routing

2024-06-09 Thread Sebastian Huber
Fix the system bus interrupt line to CPU core assignment. Signed-off-by: Sebastian Huber --- hw/arm/xilinx_zynq.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hw/arm/xilinx_zynq.c b/hw/arm/xilinx_zynq.c index 7f7a3d23fb..c79661bbc1 100644 --- a/hw/arm/xilinx_zynq.c ++

Re: [PATCH 1/3] i386/sev: fix unreachable code coverity issue

2024-06-09 Thread Markus Armbruster
Pankaj Gupta writes: > Set 'finish->id_block_en' when block_size read. > > coverity #1546887 > > fixes: 7b34df4426 ("i386/sev: Introduce 'sev-snp-guest' object") Please make that Fixes: Coverity CID 1546887 Fixes: 7b34df4426 ("i386/sev: Introduce 'sev-snp-guest' object") > Signed-off-by: P

Re: [PATCH] hw/arm/xilinx_zynq: Fix IRQ/FIQ routing

2024-06-09 Thread Philippe Mathieu-Daudé
On 10/6/24 07:29, Sebastian Huber wrote: Fix the system bus interrupt line to CPU core assignment. Signed-off-by: Sebastian Huber --- hw/arm/xilinx_zynq.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) Reviewed-by: Philippe Mathieu-Daudé

[PATCH 06/26] hw/ppc: Avoid using Monitor in xive_end_queue_pic_print_info()

2024-06-09 Thread Philippe Mathieu-Daudé
Replace Monitor API by HumanReadableText one. Signed-off-by: Philippe Mathieu-Daudé --- include/hw/ppc/xive_regs.h | 2 +- hw/intc/spapr_xive.c | 7 ++- hw/intc/xive.c | 17 +++-- 3 files changed, 18 insertions(+), 8 deletions(-) diff --git a/include/hw/ppc/x

[PATCH 01/26] hw/ppc: Avoid using Monitor in pnv_phb3_msi_pic_print_info()

2024-06-09 Thread Philippe Mathieu-Daudé
Replace Monitor API by HumanReadableText one. Signed-off-by: Philippe Mathieu-Daudé --- include/hw/pci-host/pnv_phb3.h | 2 +- hw/pci-host/pnv_phb3_msi.c | 21 ++--- hw/ppc/pnv.c | 8 +++- 3 files changed, 18 insertions(+), 13 deletions(-) diff --git

[PATCH 02/26] hw/ppc: Avoid using Monitor in icp_pic_print_info()

2024-06-09 Thread Philippe Mathieu-Daudé
Replace Monitor API by HumanReadableText one. Signed-off-by: Philippe Mathieu-Daudé --- include/hw/ppc/xics.h | 2 +- hw/intc/xics.c| 8 hw/intc/xics_spapr.c | 8 +++- hw/ppc/pnv.c | 8 +++- 4 files changed, 19 insertions(+), 7 deletions(-) diff --git a/includ

[PATCH 00/26] hw/ppc: Prefer HumanReadableText over Monitor

2024-06-09 Thread Philippe Mathieu-Daudé
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: https://lore.kernel.org/qemu-devel/20211028155457.9

[PATCH 11/26] hw/ppc: Avoid using Monitor in xive_eas_pic_print_info()

2024-06-09 Thread Philippe Mathieu-Daudé
Replace Monitor API by HumanReadableText one. Signed-off-by: Philippe Mathieu-Daudé --- include/hw/ppc/xive_regs.h | 2 +- hw/intc/pnv_xive.c | 10 +- hw/intc/xive.c | 12 ++-- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/include/hw/ppc/xi

[PATCH 04/26] hw/ppc: Avoid using Monitor in ics_pic_print_info()

2024-06-09 Thread Philippe Mathieu-Daudé
Replace Monitor API by HumanReadableText one. Signed-off-by: Philippe Mathieu-Daudé --- include/hw/ppc/xics.h | 2 +- hw/intc/xics.c| 17 - hw/intc/xics_spapr.c | 4 ++-- hw/ppc/pnv.c | 15 --- 4 files changed, 19 insertions(+), 19 deletions(-) di

[PATCH 15/26] hw/ppc: Avoid using Monitor in pnv_xive_pic_print_info()

2024-06-09 Thread Philippe Mathieu-Daudé
Replace Monitor API by HumanReadableText one. Signed-off-by: Philippe Mathieu-Daudé --- include/hw/ppc/pnv_xive.h | 2 +- hw/intc/pnv_xive.c| 9 + hw/ppc/pnv.c | 8 +++- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/include/hw/ppc/pnv_xive.h b/i

[PATCH 08/26] hw/ppc: Avoid using Monitor in spapr_xive_pic_print_info()

2024-06-09 Thread Philippe Mathieu-Daudé
Replace Monitor API by HumanReadableText one. Signed-off-by: Philippe Mathieu-Daudé --- hw/intc/spapr_xive.c | 28 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/hw/intc/spapr_xive.c b/hw/intc/spapr_xive.c index d571645e9e..9d0d5948ff 100644 --- a/hw

[PATCH 03/26] hw/ppc: Avoid using Monitor in xive_tctx_pic_print_info()

2024-06-09 Thread Philippe Mathieu-Daudé
Replace Monitor API by HumanReadableText one. Signed-off-by: Philippe Mathieu-Daudé --- include/hw/ppc/xive.h | 2 +- hw/intc/spapr_xive.c | 7 ++- hw/intc/xive.c| 11 ++- hw/ppc/pnv.c | 16 ++-- 4 files changed, 27 insertions(+), 9 deletions(-) diff

[PATCH 16/26] hw/ppc: Avoid using Monitor in pnv_psi_pic_print_info()

2024-06-09 Thread Philippe Mathieu-Daudé
Replace Monitor API by HumanReadableText one. Signed-off-by: Philippe Mathieu-Daudé --- include/hw/ppc/pnv_psi.h | 2 +- hw/ppc/pnv.c | 10 +++--- hw/ppc/pnv_psi.c | 9 + 3 files changed, 9 insertions(+), 12 deletions(-) diff --git a/include/hw/ppc/pnv_psi.h b/

[PATCH 13/26] hw/ppc: Avoid using Monitor in xive_end_eas_pic_print_info()

2024-06-09 Thread Philippe Mathieu-Daudé
Replace Monitor API by HumanReadableText one. Signed-off-by: Philippe Mathieu-Daudé --- include/hw/ppc/xive_regs.h | 2 +- hw/intc/pnv_xive.c | 9 + hw/intc/xive.c | 22 ++ 3 files changed, 16 insertions(+), 17 deletions(-) diff --git a/include/

[PATCH 20/26] hw/ppc: Avoid using Monitor in xive2_end_pic_print_info()

2024-06-09 Thread Philippe Mathieu-Daudé
Replace Monitor API by HumanReadableText one. Signed-off-by: Philippe Mathieu-Daudé --- include/hw/ppc/xive2_regs.h | 2 +- hw/intc/pnv_xive2.c | 8 +++ hw/intc/xive2.c | 48 - 3 files changed, 26 insertions(+), 32 deletions(-) diff

[PATCH 19/26] hw/ppc: Avoid using Monitor in xive2_end_queue_pic_print_info()

2024-06-09 Thread Philippe Mathieu-Daudé
Replace Monitor API by HumanReadableText one. Signed-off-by: Philippe Mathieu-Daudé --- include/hw/ppc/xive2_regs.h | 2 +- hw/intc/xive2.c | 19 --- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/include/hw/ppc/xive2_regs.h b/include/hw/ppc/xive2_re

[PATCH 12/26] hw/ppc: Avoid using Monitor in xive_end_pic_print_info()

2024-06-09 Thread Philippe Mathieu-Daudé
Replace Monitor API by HumanReadableText one. Signed-off-by: Philippe Mathieu-Daudé --- include/hw/ppc/xive_regs.h | 2 +- hw/intc/pnv_xive.c | 8 hw/intc/xive.c | 40 +- 3 files changed, 23 insertions(+), 27 deletions(-) diff -

[PATCH 10/26] hw/ppc: Avoid using Monitor in pnv_phb4_pic_print_info()

2024-06-09 Thread Philippe Mathieu-Daudé
Replace Monitor API by HumanReadableText one. Signed-off-by: Philippe Mathieu-Daudé --- include/hw/pci-host/pnv_phb4.h | 2 +- hw/pci-host/pnv_phb4.c | 9 + hw/ppc/pnv.c | 6 +- 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/include/hw/pci-h

[PATCH 09/26] hw/ppc: Avoid using Monitor in xive_source_pic_print_info()

2024-06-09 Thread Philippe Mathieu-Daudé
Replace Monitor API by HumanReadableText one. Signed-off-by: Philippe Mathieu-Daudé --- include/hw/ppc/xive.h | 2 +- hw/intc/pnv_xive.c | 11 --- hw/intc/pnv_xive2.c| 8 +++- hw/intc/xive.c | 16 +++- hw/pci-host/pnv_phb4.c | 20 ++-- h

[PATCH 21/26] hw/ppc: Avoid using Monitor in xive2_nvp_pic_print_info()

2024-06-09 Thread Philippe Mathieu-Daudé
Replace Monitor API by HumanReadableText one. Signed-off-by: Philippe Mathieu-Daudé --- hw/intc/pnv_xive2.c | 29 +++-- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/hw/intc/pnv_xive2.c b/hw/intc/pnv_xive2.c index 52505fd1a4..10914b04df 100644 --- a/hw/i

[PATCH 07/26] hw/ppc: Avoid using Monitor in spapr_xive_end_pic_print_info()

2024-06-09 Thread Philippe Mathieu-Daudé
Replace Monitor API by HumanReadableText one. Signed-off-by: Philippe Mathieu-Daudé --- hw/intc/spapr_xive.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/hw/intc/spapr_xive.c b/hw/intc/spapr_xive.c index 3357f6325f..d571645e9e 100644 --- a/hw/intc/sp

[PATCH 24/26] hw/ppc: Avoid using Monitor in spapr_irq_print_info()

2024-06-09 Thread Philippe Mathieu-Daudé
Replace Monitor API by HumanReadableText one. Signed-off-by: Philippe Mathieu-Daudé --- include/hw/ppc/spapr_irq.h | 2 +- hw/ppc/spapr.c | 11 --- hw/ppc/spapr_irq.c | 8 +--- 3 files changed, 10 insertions(+), 11 deletions(-) diff --git a/include/hw/ppc/spapr

[PATCH 26/26] hw/ppc: Avoid using Monitor in pic_print_info()

2024-06-09 Thread Philippe Mathieu-Daudé
Replace Monitor API by HumanReadableText one. Signed-off-by: Philippe Mathieu-Daudé --- include/hw/ppc/pnv_chip.h | 2 +- hw/ppc/pnv.c | 29 +++-- 2 files changed, 8 insertions(+), 23 deletions(-) diff --git a/include/hw/ppc/pnv_chip.h b/include/hw/ppc/pnv_

[PATCH 05/26] hw/ppc: Avoid using Monitor in PnvChipClass::intc_print_info()

2024-06-09 Thread Philippe Mathieu-Daudé
Replace Monitor API by HumanReadableText one. Signed-off-by: Philippe Mathieu-Daudé --- include/hw/ppc/pnv_chip.h | 2 +- hw/ppc/pnv.c | 30 -- 2 files changed, 9 insertions(+), 23 deletions(-) diff --git a/include/hw/ppc/pnv_chip.h b/include/hw/ppc/pnv

[PATCH 25/26] hw/ppc: Avoid using Monitor in pnv_chip_power9_pic_print_info_child()

2024-06-09 Thread Philippe Mathieu-Daudé
Replace Monitor API by HumanReadableText one. Signed-off-by: Philippe Mathieu-Daudé --- hw/ppc/pnv.c | 18 ++ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/hw/ppc/pnv.c b/hw/ppc/pnv.c index 5b9dbff754..9039c1777a 100644 --- a/hw/ppc/pnv.c +++ b/hw/ppc/pnv.c @@ -7

[PATCH 23/26] hw/ppc: Avoid using Monitor in SpaprInterruptControllerClass::print_info()

2024-06-09 Thread Philippe Mathieu-Daudé
Replace Monitor API by HumanReadableText one. Signed-off-by: Philippe Mathieu-Daudé --- include/hw/ppc/spapr_irq.h | 2 +- hw/intc/spapr_xive.c | 9 + hw/intc/xics_spapr.c | 9 + hw/ppc/spapr_irq.c | 8 +++- 4 files changed, 10 insertions(+), 18 deletions(

[PATCH 18/26] hw/ppc: Avoid using Monitor in xive2_end_eas_pic_print_info()

2024-06-09 Thread Philippe Mathieu-Daudé
Replace Monitor API by HumanReadableText one. Signed-off-by: Philippe Mathieu-Daudé --- include/hw/ppc/xive2_regs.h | 2 +- hw/intc/pnv_xive2.c | 10 +- hw/intc/xive2.c | 20 ++-- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/includ

[PATCH 17/26] hw/ppc: Avoid using Monitor in xive2_eas_pic_print_info()

2024-06-09 Thread Philippe Mathieu-Daudé
Replace Monitor API by HumanReadableText one. Signed-off-by: Philippe Mathieu-Daudé --- include/hw/ppc/xive2_regs.h | 2 +- hw/intc/pnv_xive2.c | 16 hw/intc/xive2.c | 12 ++-- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/include/

[PATCH 14/26] hw/ppc: Avoid using Monitor in xive_nvt_pic_print_info()

2024-06-09 Thread Philippe Mathieu-Daudé
Replace Monitor API by HumanReadableText one. Signed-off-by: Philippe Mathieu-Daudé --- hw/intc/pnv_xive.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/hw/intc/pnv_xive.c b/hw/intc/pnv_xive.c index a0c6dee5db..3ad4ac8e7d 100644 --- a/hw/intc/pnv_xive.c

Re: [PATCH 00/26] hw/ppc: Prefer HumanReadableText over Monitor

2024-06-09 Thread Philippe Mathieu-Daudé
On 10/6/24 08:20, 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: h

[PATCH 22/26] hw/ppc: Avoid using Monitor in pnv_xive2_pic_print_info()

2024-06-09 Thread Philippe Mathieu-Daudé
Replace Monitor API by HumanReadableText one. Signed-off-by: Philippe Mathieu-Daudé --- include/hw/ppc/pnv_xive.h | 2 +- hw/intc/pnv_xive2.c | 9 + hw/ppc/pnv.c | 2 +- 3 files changed, 3 insertions(+), 10 deletions(-) diff --git a/include/hw/ppc/pnv_xive.h b/include

[PATCH 0/2] hw/intc: Introduce x-query-interrupt-controllers QMP command

2024-06-09 Thread Philippe Mathieu-Daudé
Continuing previous work from Daniel: https://lore.kernel.org/qemu-devel/20211028155457.967291-1-berra...@redhat.com/ - Prefer HumanReadableText over Monitor in hw/intc/ - Introduce x-query-interrupt-controllers QMP command See commits f2de406f29 ("docs/devel: document expectations for QAPI data

[PATCH 1/2] hw/intc: Avoid using Monitor in INTERRUPT_STATS_PROVIDER::print_info()

2024-06-09 Thread Philippe Mathieu-Daudé
Replace Monitor API by HumanReadableText one (see commit f2de406f29 "docs/devel: document expectations for QAPI data modelling for QMP" for rationale). Signed-off-by: Philippe Mathieu-Daudé --- include/hw/intc/intc.h | 2 +- hw/intc/goldfish_pic.c | 8 +++--- hw/intc/i8259_common.c | 14 +++

[PATCH 2/2] hw/intc: Introduce x-query-interrupt-controllers QMP command

2024-06-09 Thread Philippe Mathieu-Daudé
This is a counterpart to the HMP "info pic" command. It is being added with an "x-" prefix because this QMP command is intended as an adhoc debugging tool and will thus not be modelled in QAPI as fully structured data, nor will it have long term guaranteed stability. The existing HMP command is rew

[PATCH] hw/usb: Introduce x-query-usbhost QMP command

2024-06-09 Thread Philippe Mathieu-Daudé
This is a counterpart to the HMP "info usbhost" command. It is being added with an "x-" prefix because this QMP command is intended as an adhoc debugging tool and will thus not be modelled in QAPI as fully structured data, nor will it have long term guaranteed stability. The existing HMP command is

[PATCH] monitor: Remove obsolete stubs

2024-06-09 Thread Philippe Mathieu-Daudé
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-ramblock QMP command") and hmp_info_irq() in commit

Re: [PATCH 2/6] io: add QIOChannelRDMA class

2024-06-09 Thread Jinpu Wang
On Tue, Jun 4, 2024 at 2:14 PM Gonglei wrote: > > From: Jialin Wang > > Implement a QIOChannelRDMA subclass that is based on the rsocket > API (similar to socket API). > > Signed-off-by: Jialin Wang > Signed-off-by: Gonglei > --- > include/io/channel-rdma.h | 152 + > io/channel-rd