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

virt: detect OpenStack instance #23117

Merged
merged 1 commit into from
Apr 19, 2022
Merged

virt: detect OpenStack instance #23117

merged 1 commit into from
Apr 19, 2022

Conversation

YoruStar
Copy link
Contributor

@YoruStar YoruStar commented Apr 19, 2022

Fixes #23116.

@poettering
Copy link
Member

hmm, how come this wasn't caught by detect_vm_cpuid()? i.e. what does it report in that CPUID VM leaf?

src/basic/virt.c Outdated Show resolved Hide resolved
@YoruStar
Copy link
Contributor Author

YoruStar commented Apr 19, 2022

hmm, how come this wasn't caught by detect_vm_cpuid()? i.e. what does it report in that CPUID VM leaf?

CPUID is an x86 specific interface, but the system I use is ARM

@poettering
Copy link
Member

ah, can you add that as a comment maybe?

@yuwata yuwata added the reviewed/needs-rework 🔨 PR has been reviewed and needs another round of reworks label Apr 19, 2022
@YoruStar YoruStar changed the title virt: detect OpenStack Nova instance virt: detect OpenStack instance Apr 19, 2022
src/basic/virt.c Outdated Show resolved Hide resolved
@bluca bluca removed the reviewed/needs-rework 🔨 PR has been reviewed and needs another round of reworks label Apr 19, 2022
@poettering
Copy link
Member

lgtm

@poettering
Copy link
Member

(btw, doesn't arm have some cpuid-like feature, where we can determine KVM support in a generic fashion from the CPU instead of DMI?)

@poettering poettering added good-to-merge/waiting-for-ci 👍 PR is good to merge, but CI hasn't passed at time of review. Please merge if you see CI has passed and removed please-review labels Apr 19, 2022
@yuwata yuwata merged commit 01d9fbc into systemd:main Apr 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
detect-virt good-to-merge/waiting-for-ci 👍 PR is good to merge, but CI hasn't passed at time of review. Please merge if you see CI has passed
Development

Successfully merging this pull request may close these issues.

[OpenStack Nova]: systemd-detect-virt export none, not kvm
4 participants