On Fri, Oct 11, 2024 at 5:05 AM Daniel Henrique Barboza
<[email protected]> wrote:
>
> Remove the 'irqchip_split()' restriction in kvm_arch_init() now that
> we have support for "-accel kvm,kernel-irqchip=split".
>
> Signed-off-by: Daniel Henrique Barboza <[email protected]>

Reviewed-by: Alistair Francis <[email protected]>

Alistair

> ---
>  target/riscv/kvm/kvm-cpu.c | 5 -----
>  1 file changed, 5 deletions(-)
>
> diff --git a/target/riscv/kvm/kvm-cpu.c b/target/riscv/kvm/kvm-cpu.c
> index a92a46694a..3d0584277c 100644
> --- a/target/riscv/kvm/kvm-cpu.c
> +++ b/target/riscv/kvm/kvm-cpu.c
> @@ -1401,11 +1401,6 @@ int kvm_arch_init(MachineState *ms, KVMState *s)
>
>  int kvm_arch_irqchip_create(KVMState *s)
>  {
> -    if (kvm_kernel_irqchip_split()) {
> -        error_report("-machine kernel_irqchip=split is not supported on 
> RISC-V.");
> -        exit(1);
> -    }
> -
>      /*
>       * We can create the VAIA using the newer device control API.
>       */
> --
> 2.45.2
>
>

Reply via email to