* [PATCH] x86/HVM: move is_s3_suspended field
@ 2021-04-12 11:37 Jan Beulich
2021-04-12 11:38 ` Andrew Cooper
0 siblings, 1 reply; 2+ messages in thread
From: Jan Beulich @ 2021-04-12 11:37 UTC (permalink / raw)
To: xen-devel; +Cc: Andrew Cooper, Wei Liu, Roger Pau Monné
Put it next to another boolean, so they will "share" the subsequent
padding hole.
Signed-off-by: Jan Beulich <jbeulich@suse.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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] x86/HVM: move is_s3_suspended field
2021-04-12 11:37 [PATCH] x86/HVM: move is_s3_suspended field Jan Beulich
@ 2021-04-12 11:38 ` Andrew Cooper
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Cooper @ 2021-04-12 11:38 UTC (permalink / raw)
To: Jan Beulich, xen-devel; +Cc: Wei Liu, Roger Pau Monné
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>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-04-12 11:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-12 11:37 [PATCH] x86/HVM: move is_s3_suspended field Jan Beulich
2021-04-12 11:38 ` Andrew Cooper
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).