mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-25 15:02:45 +00:00
fc: update comments for startSandbox
The comment didn't reflect what the function does. Updated accordingly. Fixes: #2277 Signed-off-by: Eric Ernst <eric.ernst@intel.com>
This commit is contained in:
parent
d054556f60
commit
06971246ea
@ -123,7 +123,7 @@ func (s *firecrackerState) set(state vmmState) {
|
||||
s.state = state
|
||||
}
|
||||
|
||||
// firecracker is an Hypervisor interface implementation for the firecracker hypervisor.
|
||||
// firecracker is an Hypervisor interface implementation for the firecracker VMM.
|
||||
type firecracker struct {
|
||||
id string //Unique ID per pod. Normally maps to the sandbox id
|
||||
vmPath string //All jailed VM assets need to be under this
|
||||
@ -713,8 +713,8 @@ func (fc *firecracker) fcStartVM() error {
|
||||
}
|
||||
|
||||
// startSandbox will start the hypervisor for the given sandbox.
|
||||
// In the context of firecracker, this will start the hypervisor,
|
||||
// for configuration, but not yet start the actual virtual machine
|
||||
// In the context of firecracker, this will start the vmm,
|
||||
// for configuration and then start the actual virtual machine.
|
||||
func (fc *firecracker) startSandbox(timeout int) error {
|
||||
span, _ := fc.trace("startSandbox")
|
||||
defer span.Finish()
|
||||
|
Loading…
Reference in New Issue
Block a user