Skip to content

Prefer using qemu system instead of qemu user #829

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
malbarbo opened this issue Oct 31, 2017 · 4 comments
Open

Prefer using qemu system instead of qemu user #829

malbarbo opened this issue Oct 31, 2017 · 4 comments
Milestone

Comments

@malbarbo
Copy link
Contributor

s390x-unknown-linux-gnu and sparc64-unknown-linux-gnu uses qemu system to run the tests. It seems more correct in terms of emulation to use full system emulation. So we may try to update the other targets to use system emulation.

@kristate
Copy link
Contributor

Circling back, what is the status?

@alexcrichton
Copy link
Member

This was added for s390x and sparc64, but other platforms aren't using this yet. Changing the others, though, to using this would be more than welcome!

@gnzlbg
Copy link
Contributor

gnzlbg commented Nov 22, 2018

Status update: @malbarbo added qemu-system support to cross - most targets can choose between using qemu-user or qemu-system when running tests.

@tgross35
Copy link
Contributor

Something to note here is that qemu-system seems to be significantly slower than qemu-user. Most tests complete in ~3 minutes, but s390x is about 12m and sparc64 is about 25.

Checking tier 1 and maybe some of the more popular tier 2 targets with qemu-system may be worth it for accuracy and CI could be adjusted so they don't block anything (currently docker tier 2 blocks the linux build channels), but it doesn't seem like it would be worth the slowdown for many more targets.

@tgross35 tgross35 added this to the 1.x milestone Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants