On 10/31/2025 12:04 AM, Zhao Liu wrote:
+static const VMStateDescription vmstate_cet = {
+    .name = "cpu/cet",
+    .version_id = 1,
+    .minimum_version_id = 1,
+    .needed = cet_needed,
+    .fields = (VMStateField[]) {
+        VMSTATE_UINT64(env.u_cet, X86CPU),
+        VMSTATE_UINT64(env.s_cet, X86CPU),
+        VMSTATE_END_OF_LIST()
+    },
+    .subsections = (const VMStateDescription * const []) {
+        &vmstate_ss,
here:       ^^^^^^^^^^^^^

+        NULL,
+    },
+};
+
   const VMStateDescription vmstate_x86_cpu = {
       .name = "cpu",
       .version_id = 12,
@@ -1817,6 +1869,7 @@ const VMStateDescription vmstate_x86_cpu = {
   #endif
           &vmstate_arch_lbr,
           &vmstate_triple_fault,
+        &vmstate_cet,
missing &vmstate_ss
I made vmstate_ss as a subsection in vmstate_cet

Sorry for missing it.

btw, can we rename vmstate_ss to vmstate_cet_ss?

Reply via email to