Skip to content
This repository has been archived by the owner on Apr 3, 2018. It is now read-only.

Commit

Permalink
container: save hypervisor state after start a container
Browse files Browse the repository at this point in the history
after start a container, we have to update and save the list of
devices hot plugged in the PCI bridges

Signed-off-by: Julio Montes <julio.montes@intel.com>
  • Loading branch information
Julio Montes committed Nov 1, 2017
1 parent 42cafac commit eef1642
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions container.go
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,12 @@ func (c *Container) start() error {
return err
}

// set and save pod hypervisor's state
err = c.pod.setPodState(c.pod.state)
if err != nil {
return err
}

return nil
}

Expand Down

0 comments on commit eef1642

Please sign in to comment.