summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/devices/ttydev
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/devices/ttydev')
-rw-r--r--pkg/sentry/devices/ttydev/ttydev_state_autogen.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/sentry/devices/ttydev/ttydev_state_autogen.go b/pkg/sentry/devices/ttydev/ttydev_state_autogen.go
index 3389b37f3..88a1cd0a6 100644
--- a/pkg/sentry/devices/ttydev/ttydev_state_autogen.go
+++ b/pkg/sentry/devices/ttydev/ttydev_state_autogen.go
@@ -16,12 +16,14 @@ func (t *ttyDevice) StateFields() []string {
func (t *ttyDevice) beforeSave() {}
+// +checklocksignore
func (t *ttyDevice) StateSave(stateSinkObject state.Sink) {
t.beforeSave()
}
func (t *ttyDevice) afterLoad() {}
+// +checklocksignore
func (t *ttyDevice) StateLoad(stateSourceObject state.Source) {
}