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 |
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>
--- 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.
Put it next to another boolean, so they will "share" the subsequent padding hole. Signed-off-by: Jan Beulich <jbeulich@suse.com>