Skip to content
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

qemu: Support setting up a virtio console (hvc0) #3689

Closed
wants to merge 1 commit into from

Conversation

cgwalters
Copy link
Member

The main motivation here is debugging issues with podman machine on Apple Virtualization, which only implements virtio, so we need to talk to hvc0.

However there's no reason for us not to also do this with qemu; we already have a few references to hvc0 in our console setup.

Turning this on by default will hence require a PR to f-c-c to add that.

But for now let's make it easier to test via an env var.

The main motivation here is debugging issues with podman machine
on Apple Virtualization, which only implements virtio, so we need
to talk to hvc0.

However there's no reason for us not to also do this with qemu;
we already have a few references to hvc0 in our console setup.

Turning this on by default will hence require a PR to f-c-c
to add that.

But for now let's make it easier to test via an env var.
cgwalters added a commit to cgwalters/fedora-coreos-config that referenced this pull request Jan 3, 2024
Pairs with coreos/coreos-assembler#3689

Basically hvc0 is faster and more modern, but requires us to opt-in
specifically.  We already had a few usages of hvc0 from cloud
providers that default to this, no reason for us not to do it
for our own qemu provider.

(One thing TODO here: I believe s390x qemu could do this too;
 as of right now we don't have any references to s390x here)
@cgwalters
Copy link
Member Author

Copy link

openshift-ci bot commented Jan 4, 2024

@cgwalters: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/rhcos 166bc0a link true /test rhcos

Full PR test history. Your PR dashboard.

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. I understand the commands that are listed here.

@dustymabe
Copy link
Member

If someone wanted to use this without coreos/fedora-coreos-config#2785 merging they would have to make sure to have a local build console=hvc0 baked in first?

Copy link
Member

@dustymabe dustymabe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jlebon
Copy link
Member

jlebon commented May 9, 2024

Based on discussions in coreos/fedora-coreos-config#2785, let's close this for now.

@jlebon jlebon closed this May 9, 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

Successfully merging this pull request may close these issues.

3 participants