Re: [PATCH v2] migration: Fix migration failure when aia is configured as 'aplic-imsic'

2025-05-20 Thread liu.xuemei1
StateDescription vmstate_riscv_imsic = { > > .name = "riscv_imsic", > > .version_id = 1, > > .minimum_version_id = 1, > > +.needed = riscv_imsic_state_needed, > > .fields = (const VMStateField[]) { > > VMSTATE_VARR

Re: [PATCH v2] migration: Fix migration failure when aia is configured as 'aplic-imsic'

2025-05-18 Thread Alistair Francis
On Tue, May 13, 2025 at 2:33 AM wrote: > > From: Xuemei Liu > > Address an error in migration when aia is configured as 'aplic-imsic' in > riscv kvm vm by adding riscv_aplic_state_needed() and > riscv_imsic_state_needed() to determine whether the corresponding sates are > needed. > > Previously,

[PATCH v2] migration: Fix migration failure when aia is configured as 'aplic-imsic'

2025-05-12 Thread liu.xuemei1
From: Xuemei Liu Address an error in migration when aia is configured as 'aplic-imsic' in riscv kvm vm by adding riscv_aplic_state_needed() and riscv_imsic_state_needed() to determine whether the corresponding sates are needed. Previously, the fields in the vmsds of 'riscv_aplic' and 'riscv_imsi