Skip to content

Prefer using qemu system instead of qemu user #829

Open
@malbarbo

Description

@malbarbo
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.

Activity

kristate

kristate commented on Feb 26, 2018

@kristate
Contributor

Circling back, what is the status?

alexcrichton

alexcrichton commented on Feb 26, 2018

@alexcrichton
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

gnzlbg commented on Nov 22, 2018

@gnzlbg
Contributor

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

tgross35

tgross35 commented on Aug 12, 2024

@tgross35
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.

added this to the 1.x milestone on Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @kristate@alexcrichton@gnzlbg@malbarbo@tgross35

        Issue actions

          Prefer using qemu system instead of qemu user · Issue #829 · rust-lang/libc