Skip to contentSkip to conversation

x86/HVM: move is_s3_suspended field

PATCH In review Jan Beulich 2 participants 2 messages Apr 12, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/HVM: move is_s3_suspended field

Put it next to another boolean, so they will "share" the subsequent padding hole.

xen/include/asm-x86/hvm/domain.h +3 -3
@@ -113,15 +113,15 @@ struct hvm_domain {
      * mtrr/pat between vcpus is not the same, set is_in_uc_mode
      */
     spinlock_t             uc_lock;
-    bool_t                 is_in_uc_mode;
+    bool                   is_in_uc_mode;
+
+    bool                   is_s3_suspended;
 
     /* hypervisor intercepted msix table */
     struct list_head       msixtbl_list;
 
     struct viridian_domain *viridian;
 
-    bool_t                 is_s3_suspended;
-
     /*
      * TSC value that VCPUs use to calculate their tsc_offset value.
      * Used during initialization and save/restore.