Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

arm/pci: add create pci bus path support for acpi #882

Merged
merged 1 commit into from
Feb 1, 2021

Conversation

jongwu
Copy link
Contributor

@jongwu jongwu commented Jan 20, 2021

PCI bus path in qemu/arm64 is different between acpi enabled and
disabled. It's better to check if there is a pci bus path for acpi which
is a static value before try to offer a varying pci bus path for no acpi.

Fixes: #881
Signed-off-by: Jianyong Wu jianyong.wu@arm.com

@jodh-intel @devimc

Copy link

@devimc devimc left a comment

Choose a reason for hiding this comment

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

thanks @jongwu - I have a question

agent.go Outdated Show resolved Hide resolved
jongwu added a commit to jongwu/tests that referenced this pull request Jan 21, 2021
As acpi has been supported, it should be reasonable to offer uefi rom
before using it. Here is a script to give a easy way to install uefi
rom.

Also we should test kata with acpi enabled.

Depends-on: github.com/kata-containers/runtime#3121
Depends-on: github.com/kata-containers/packaging#1169
Depends-on: github.com/kata-containers/agent#882
Fixes: kata-containers#3149
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
jongwu added a commit to jongwu/tests that referenced this pull request Jan 22, 2021
As acpi has been supported, it should be reasonable to offer uefi rom
before using it. Here is a script to give a easy way to install uefi
rom.

Also we should test kata with acpi enabled.

Depends-on: github.com/kata-containers/runtime#3121
Depends-on: github.com/kata-containers/packaging#1169
Depends-on: github.com/kata-containers/agent#882
Fixes: kata-containers#3149
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
@jongwu
Copy link
Contributor Author

jongwu commented Jan 22, 2021

/test

PCI bus path in qemu/arm64 is different between acpi enabled and
disabled. It's better to check if there is a pci bus path for acpi which
is a static value before try to offer a varying pci bus path for no acpi.

Fixes: kata-containers#881
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
@jongwu
Copy link
Contributor Author

jongwu commented Jan 22, 2021

/test

@codecov
Copy link

codecov bot commented Jan 22, 2021

Codecov Report

Merging #882 (5e64f45) into master (09af1d8) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #882   +/-   ##
=======================================
  Coverage   57.75%   57.75%           
=======================================
  Files          18       18           
  Lines        2275     2275           
=======================================
  Hits         1314     1314           
  Misses        804      804           
  Partials      157      157           

@jongwu
Copy link
Contributor Author

jongwu commented Jan 25, 2021

hello @lifupan @jodh-intel , any comments?

@jongwu
Copy link
Contributor Author

jongwu commented Jan 27, 2021

hello @jodh-intel @devimc , any comments?

@devimc
Copy link

devimc commented Jan 27, 2021

@jongwu lgtm - thanks

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 @jongwu.

@jodh-intel jodh-intel merged commit 754d177 into kata-containers:master Feb 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pci bus path changes in qemu/arm64 vm when using acpi
3 participants