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

runtime-rs on arm64: Fixes unable to Boot Container Image using Cloud… #8422

Merged
merged 1 commit into from Nov 22, 2023

Conversation

brianwang12
Copy link
Contributor

This patch addresses the issue of being unable to boot container images using Cloud-Hypervisor on arm64
Fitxes: #8381

@katacontainersbot katacontainersbot added the size/tiny Smallest and simplest task label Nov 13, 2023
@katacontainersbot
Copy link
Contributor

Can one of the admins verify this patch?

@katacontainersbot katacontainersbot added size/small Small and simple task and removed size/tiny Smallest and simplest task labels Nov 13, 2023
@jongwu
Copy link
Contributor

jongwu commented Nov 13, 2023

Hi @brianwang12 -, please remove the "changeId" line in your commit message.

@katacontainersbot katacontainersbot added size/tiny Smallest and simplest task and removed size/small Small and simple task labels Nov 13, 2023
@brianwang12
Copy link
Contributor Author

Hi @brianwang12 -, please remove the "changeId" line in your commit message.

Done

Copy link
Contributor

@jodh-intel jodh-intel left a comment

Choose a reason for hiding this comment

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

Thanks @brianwang12.

lgtm

Comment on lines 146 to 147


Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: Extra blank line not required.

#[cfg(target_arch = "aarch64")]
let console_param_debug = KernelParams::from_string("console=ttyAMA0,115200n8");


let mut rootfs_param = KernelParams::new_rootfs_kernel_params(rootfs_driver, rootfs_type)?;

let mut console_params = if enable_debug {
if confidential_guest {
Copy link
Contributor

Choose a reason for hiding this comment

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

Not related to this PR, but would you be able to look at raising a PR to allow confidential_guest=true on aarch64 with runtime-rs and CH?

Copy link
Contributor

Choose a reason for hiding this comment

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

There is no confidential computing support in any of VMM on aarch64 for now. So, I think it's not the time to enable confidential guest.

@jodh-intel jodh-intel added safe-to-test Add to PR after manually reviewing to allow certain extra checks to run ok-to-test labels Nov 14, 2023
@jodh-intel
Copy link
Contributor

/test

Copy link
Contributor

@jongwu jongwu left a comment

Choose a reason for hiding this comment

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

lgtm

@jongwu
Copy link
Contributor

jongwu commented Nov 15, 2023

/test

In the case of Cloud Hypervisor running on arm64 architecture,
only arm AMBA UART (pl011) is supported as the TTY. Consequently,
when enabling Hypervisor debug mode, it's essential to configure
the console as "ttyAMA0" rather than "ttyS0

Fixes: kata-containers#8381

Signed-off-by: briwan01 <brian.wang@arm.com>
@jodh-intel
Copy link
Contributor

/test

@amshinde
Copy link
Member

/test-arm

@jongwu
Copy link
Contributor

jongwu commented Nov 22, 2023

Thanks @brianwang12

@jongwu jongwu merged commit 231b9df into kata-containers:main Nov 22, 2023
138 of 144 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ok-to-test safe-to-test Add to PR after manually reviewing to allow certain extra checks to run size/tiny Smallest and simplest task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants