Hello!

> But this is the GICv2 code. Unless there are kernels out in the wild
> which support v2 but not migration, there's no need to check
> for that situation here.

 Such kernels do exist for sure, otherwise why do we have 
kvm_gic_can_save_restore() at all? I remember even you pointed me at it.
 I've just checked LXR, we have vGIC support since 3.11, but 
KVM_DEV_TYPE_ARM_VGIC_V2 was introduced only in 3.14.

 P.S. While studying migration code i discovered migrate_add_blocker(), i guess 
i need to use it instead of patching VMState, because checkpatch blames me for 
making it non-const. So, if you ACK the idea itself, i'll reimplement it and 
post v2.

Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia



Reply via email to