mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-17 16:47:50 +00:00
compel: shstk: save CET state when CPU supports it
Signed-off-by: Mike Rapoport (IBM) <rppt@kernel.org>
This commit is contained in:
parent
17f4dd0959
commit
6e491a19a3
7 changed files with 111 additions and 2 deletions
|
|
@ -41,6 +41,11 @@ message user_x86_regs_entry {
|
|||
optional user_x86_regs_mode mode = 28 [default = NATIVE];
|
||||
}
|
||||
|
||||
message user_x86_cet_entry {
|
||||
required uint64 cet = 1[(criu).hex = true];
|
||||
required uint64 ssp = 2[(criu).hex = true];
|
||||
}
|
||||
|
||||
message user_x86_xsave_entry {
|
||||
/* standard xsave features */
|
||||
required uint64 xstate_bv = 1;
|
||||
|
|
@ -60,6 +65,9 @@ message user_x86_xsave_entry {
|
|||
/* Protected keys */
|
||||
repeated uint32 pkru = 8;
|
||||
|
||||
/* CET */
|
||||
optional user_x86_cet_entry cet = 9;
|
||||
|
||||
/*
|
||||
* Processor trace (PT) and hardware duty cycling (HDC)
|
||||
* are supervisor state components and only managed by
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue