hyperhq / runv

Hypervisor-based Runtime for OCI
Apache License 2.0
828 stars 129 forks source link

update container status when pausing and resuming #561

Closed bergwolf closed 7 years ago

bergwolf commented 7 years ago
[hypervsock@ctr]$sudo ctr tasks
TASK      PID      STATUS
foobar    87567    RUNNING
[hypervsock@ctr]$sudo ctr tasks pause foobar
[hypervsock@ctr]$sudo ctr tasks
TASK      PID      STATUS
foobar    87567    PAUSED
[hypervsock@ctr]$sudo ctr tasks resume foobar
[hypervsock@ctr]$sudo ctr tasks
TASK      PID      STATUS
foobar    87567    RUNNING
bergwolf commented 7 years ago

fixes https://github.com/hyperhq/runv/issues/553

laijs commented 7 years ago

LGTM