Skip to content

Enable CRIU on non-amd64 architectures (v2)#36676

Merged
thaJeztah merged 2 commits intomoby:masterfrom
arm64b:enable-criu-on-non-arm64-v2
Mar 23, 2018
Merged

Enable CRIU on non-amd64 architectures (v2)#36676
thaJeztah merged 2 commits intomoby:masterfrom
arm64b:enable-criu-on-non-arm64-v2

Conversation

@arm64b
Copy link
Contributor

@arm64b arm64b commented Mar 23, 2018

Since the recent release of CRIU has already supported other
arches such as AArch64, ppc64le, and s390x, so we can enable
it now.
Additionally, we also use dpkg --print-architecture instead of
uname -m to abstract the arch value from the image to avoid
some kind of 'passthru' to the host.

- What I did
Enable CRIU on other arches
- How I did it
Drop the case selection statement
- How to verify it
make binary
- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

Since the recent release of CRIU has already supported other
arches such as AArch64, ppc64le, and s390x, so we can enable
it now.

Signed-off-by: Dennis Chen <dennis.chen@arm.com>
Using `dpkg --print-architecture` instead of the `uname -m` to abstract
the architecture value from the container images, which the build process
is running inside, to match exactly the behavior specified by the following
Docker file while not 'passthru' to the host.

Signed-off-by: Dennis Chen <dennis.chen@arm.com>
@arm64b arm64b force-pushed the enable-criu-on-non-arm64-v2 branch from ceacd81 to 803a756 Compare March 23, 2018 08:58
@codecov
Copy link

codecov bot commented Mar 23, 2018

Codecov Report

Merging #36676 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #36676      +/-   ##
==========================================
- Coverage   35.04%   35.04%   -0.01%     
==========================================
  Files         613      613              
  Lines       45562    45562              
==========================================
- Hits        15969    15966       -3     
  Misses      27486    27486              
- Partials     2107     2110       +3

@arm64b
Copy link
Contributor Author

arm64b commented Mar 23, 2018

Ping @thaJeztah @tianon @vdemeester @dnephin @kolyshkin @seemethere This PR is a followup for PR #36546, PTAL?

@kolyshkin
Copy link
Contributor

LGTM (and thanks!)

Copy link
Member

@vdemeester vdemeester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🐯

Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@thaJeztah thaJeztah merged commit 52d3dce into moby:master Mar 23, 2018
@arm64b arm64b deleted the enable-criu-on-non-arm64-v2 branch March 30, 2018 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants