On 2/10/23 12:19, Mostafa Saleh wrote:
@@ -1512,6 +1553,10 @@ static const VMStateDescription vmstate_smmuv3 = {
VMSTATE_END_OF_LIST(),
      },
+    .subsections = (const VMStateDescription * []) {
+        &vmstate_gbpa,
+        NULL
+    }

Actually, I suspect that you need a pre_load hook that resets gbpa, which will then be overwritten if and only if the saved value != reset value.


r~

Reply via email to