On Thu, 14 Nov 2024 at 13:48, Zhou Wang via <[email protected]> wrote:
>
> On 2024/11/14 20:33, Marc Zyngier wrote:
> > On Thu, 14 Nov 2024 09:03:24 +0000,
> > Zhou Wang <[email protected]> wrote:
> >>
> >> Hi,
> >>
> >> I am tring to heterogeneous live migration on ARM64 host. Now I just use
> >> below kernel/qemu branch to have a try:
> >> https://github.com/hisilicon/kernel-dev/tree/private-v6.11-rc2-hisi-migrn-wip
> >> https://github.com/hisilicon/qemu/tree/stable-8.2-kunpeng920-initial-v2
> >>
> >> Currently guest on GICv4.1 and GICv3 host can do migration successfully. I 
> >> am
> >> not sure that it is expected.
> >
> > It isn't. Or rather, it shouldn't. Are you reporting a KVM problem or
> > a QEMU problem?
>
> I think KVM checks it in vgic_mmio_uaccess_write_v3_misc, however, current 
> qemu
> does not consider GICD_TYPER2 during migration.

That's because current QEMU's idea of a GIC device assumes
v3 or v4. We don't emulate v4.1 and we never updated the
kvm-arm-gicv3 device to handle anything newer than GICv3.

-- PMM

Reply via email to