blob: d878d9a06ee3718f841ac332fe7797c90549ce27 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
// automatically generated by stateify.
//go:build go1.1
// +build go1.1
package kernel
import (
"gvisor.dev/gvisor/pkg/state"
)
func (s *SpecialOpts) StateTypeName() string {
return "pkg/sentry/kernel.SpecialOpts"
}
func (s *SpecialOpts) StateFields() []string {
return []string{}
}
func (s *SpecialOpts) beforeSave() {}
// +checklocksignore
func (s *SpecialOpts) StateSave(stateSinkObject state.Sink) {
s.beforeSave()
}
func (s *SpecialOpts) afterLoad() {}
// +checklocksignore
func (s *SpecialOpts) StateLoad(stateSourceObject state.Source) {
}
func init() {
state.Register((*SpecialOpts)(nil))
}
|