[Feature request] Emulate other CPU architectures

オープン
#258 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
rust
領域
backend

調査の方向性

Start at crates/kit/src/run_ephemeral_ssh.rs:246, where the failed run reports the monitor exit, and trace how the QEMU command is selected for the working x86_64 case. Check how architecture and emulation support are configured and run the existing ephemeral VM tests. Done means bootable containers for a different architecture, such as aarch64 on x86_64, can start successfully.

索引モデルが issue の本文から書いたものです。

説明

I can't run bootable containers for other CPU architectures (aarch64 on x86_64):

❯ bcvk ephemeral run-ssh quay.io/fedora/fedora-bootc:44-aarch64
⠤ Starting VM...
Error: can only start exec sessions when their container is running: container state improper

Container state: stopped (exit code: 1)
bwrap: Creating new namespace failed: Invalid argument
(Container produced no output)
Error: 
   0: 91mMonitor process exited unexpectedly: ExitStatus(unix_wait_status(65280))

Location:
   35mcrates/kit/src/run_ephemeral_ssh.rs:35m246

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

For reference, running x86_64 on x86_64 works:

❯ bcvk ephemeral run-ssh quay.io/fedora/fedora-bootc:44-x86_64 
[systemd]
Failed Units: 1
  bootloader-update.service
[root@fedora ~]# exit
logout

Running x86_64 uses QEMU behind the scenes and QEMU support for aarch64 seems to be installed.

It would be nice to try out bootable containers for other CPU architectures.

主要言語
Rust
スター
142
フォーク
40
平均マージ
2日 22時間
マージ済み PR(30日)
10

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

bootc-dev/bcvk のほかの issue

bootc-dev/bcvk の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。