mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-29 03:54:27 +01:00
so that for qemu, we can save and export virtiofsd pid, and put it to the same cgroup as the qemu process. Fixes: #1972 Signed-off-by: Peng Tao <bergwolf@hyper.sh>
20 lines
610 B
Go
20 lines
610 B
Go
// Copyright (c) 2019 Huawei Corporation
|
|
//
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
//
|
|
|
|
package persistapi
|
|
|
|
const (
|
|
// CurPersistVersion is current persist data version.
|
|
// This can help keep backward compatibility, if you make
|
|
// some changes in persistapi package which needs different
|
|
// handling process between different runtime versions, you
|
|
// should modify `CurPersistVersion` and handle persist data
|
|
// according to it.
|
|
// If you can't be sure if the change in persistapi package
|
|
// requires a bump of CurPersistVersion or not, do it for peace!
|
|
// --@WeiZhang555
|
|
CurPersistVersion uint = 2
|
|
)
|