On Thu, Sep 18, 2025 at 13:44:05 +0800, BillXiang wrote:
> From: xiangwencheng <[email protected]>
> 
> riscv-aia feature was introduced in qemu-8.2 to specify the
> KVM AIA mode. The "riscv-aia" parameter is passed along with
> -accel in QEMU command-line.
> 1) "riscv-aia=emul": IMSIC is emulated by hypervisor
> 2) "riscv-aia=hwaccel": use hardware guest IMSIC
> 3) "riscv-aia=auto": use the hardware guest IMSICs whenever available
> otherwise we fallback to software emulation.
> 
> This patch add the corresponding feature named 'riscv-aia'.
> 
> Signed-off-by: BillXiang <[email protected]>
> ---
> v3[1] -> v4:
>  - Add XML tests.
>  - Fix broken indentations.
>  - Remove optional mark of 'mode' in XML schema.
> [1] 
> https://lists.libvirt.org/archives/list/[email protected]/thread/CGZIWV7GHPGSAFARWKXQ6YBBXHXWS6TW/
> ---
>  docs/formatdomain.rst             |  7 +++++++
>  src/conf/domain_conf.c            | 28 +++++++++++++++++++++++++++-
>  src/conf/domain_conf.h            | 11 +++++++++++
>  src/conf/schemas/domaincommon.rng | 10 ++++++++++
>  src/libvirt_private.syms          |  2 ++
>  src/qemu/qemu_command.c           | 13 ++++++++++---
>  6 files changed, 67 insertions(+), 4 deletions(-)

The patches look good to me code wise.

Andrea (cc'd) can you have a look if it makes sense to you?

Reply via email to