summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/kernel/kernel_opts_state_autogen.go
blob: 7780c995f89690d9b389611c04cf4d07fba80e7f (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
// automatically generated by stateify.

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() {}

func (s *SpecialOpts) StateSave(stateSinkObject state.Sink) {
	s.beforeSave()
}

func (s *SpecialOpts) afterLoad() {}

func (s *SpecialOpts) StateLoad(stateSourceObject state.Source) {
}

func init() {
	state.Register((*SpecialOpts)(nil))
}