checkpoint-restore / criu-image-streamer

Enables streaming of images to and from CRIU during checkpoint/restore with low overhead
86 stars 12 forks source link

Show error message when CRIU attempts to read the same file twice #9

Closed nviennot closed 2 years ago

nviennot commented 2 years ago

I'm seeing a CRIU test (zdtm/static/netns_lock_iptables) fail due to CRIU re-reading the same image file. We can't do this when we stream files out without keeping them buffered, which is dangerous for memory constraints reasons.

Now criu-image-streamer will be failing instead of telling CRIU the file does not exist.

avagin commented 2 years ago

LGTM

nviennot commented 2 years ago

Cool, thank you