-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
support different architectures in machine init #12430
Conversation
@baude PTAL |
// TODO | ||
} | ||
|
||
panic(fmt.Sprintf("unsupported combination of host and VM architectures: host: %s, vm: %s", fromArch, toArch)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this will need to be an error return.
looks ok so far, one nit |
A friendly reminder that this PR had no activity for 30 days. |
This PR requires a rebase. |
Will do this this week as well as push the progress I've got. |
A friendly reminder that this PR had no activity for 30 days. |
@vladdy Anything going on here? |
WIll be looking into this this weekend. |
Signed-off-by: Vlad Artamonov <perestrelka@gmail.com>
e560eb7
to
6cf595f
Compare
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: vladdy The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@vladdy: PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
A friendly reminder that this PR had no activity for 30 days. |
@vladdy still working on this? |
i really want to have input on this ... because doing this without being step with @dustymabe /fcos folks, im worried about consistently being able to reproduce the same results. @dustymabe we continue to see high demand for this function ... and to do so, we need qemu-static. what say you about us lobbying to have it added? |
I'd refer to this ongoing discussion about the topic: coreos/fedora-coreos-tracker#1088 |
Though there isn't any reason users can't package layer it today and get what they want. |
Don't see this making it into 4.1, removing the 4.1 label from it. |
A friendly reminder that this PR had no activity for 30 days. |
Since qemu-user-static packages are in fedora coreos now (or soon) and this PR feels like it is abandoned, I am going to close. Feel free to reopen if this is something you want in. |
Hi @rhatdan, not sure how close this was to being implemented but I can see it still being useful. My team was trying to run |
Assuming that is a x86_64 container image it should work on an aarch64 instance in latest Fedora CoreOS releases:
|
The container itself launches, but crashes. The container can be tested by running |
(WIP to get early feedback and track the progress)
TODOs:
arch
command line option inmachine init
What this PR does / why we need it:
This PR adds the
arch
parameter topodman machine init
to provide an ability to create a virtual machine with different architecture type than the host machine. By default the parameter is set to the host machine's architecture so there is not change in the default behavior.Closes: #11458
How to verify it
podman machine init --arch=x86_64 x86_machine
Which issue(s) this PR fixes:
None
Special notes for your reviewer: