Skip to content

Prefer using qemu system instead of qemu user #829

Closed as not planned
Closed as not planned

Description

@malbarbo

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

  1. kristate commented on Feb 26, 2018

    @kristate
    Contributor

    Circling back, what is the status?

  2. 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!

  3. 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.

  4. tgross35 commented on Aug 12, 2024

    @tgross35
    Member

    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.

  5. added this to the 1.x milestone on Aug 29, 2024
  6. tgross35 commented on Jun 24, 2026

    @tgross35
    Member

    There hasn't really been a push to do this ever and I can't think of any issues that it would solve, so I opted to close this. It might be better to give us some more control over the kernel we're testing against but in practice, that doesn't seem worth the added CI complexity and time.

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

      Issue actions