diff mbox series

x86/HVM: move is_s3_suspended field

Message ID abc3c680-314d-85fb-8744-930fa5f7f95e@suse.com (mailing list archive)
State New, archived
Headers show
Series x86/HVM: move is_s3_suspended field | expand

Commit Message

Jan Beulich April 12, 2021, 11:37 a.m. UTC
Put it next to another boolean, so they will "share" the subsequent
padding hole.

Signed-off-by: Jan Beulich <jbeulich@suse.com>

Comments

Andrew Cooper April 12, 2021, 11:38 a.m. UTC | #1
On 12/04/2021 12:37, Jan Beulich wrote:
> Put it next to another boolean, so they will "share" the subsequent
> padding hole.
>
> Signed-off-by: Jan Beulich <jbeulich@suse.com>

Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
diff mbox series

Patch

--- a/xen/include/asm-x86/hvm/domain.h
+++ b/xen/include/asm-x86/hvm/domain.h
@@ -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.