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

The cpu to query can now be specified #20

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

andrewjj20
Copy link
Contributor

it defaults to zero, which is what was used for MSRs before. for CPUID before tasksel or similar would be needed. It also honors this option

it defaults to zero, which is what was used for MSRs before. for CPUID
before tasksel or similar would be needed. It also honors this option
@andrewjj20 andrewjj20 self-assigned this Sep 12, 2024
@@ -18,7 +18,7 @@ pub type Result<V> = std::result::Result<V, Error>;
impl fmt::Display for Error {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
match self {
Error::NotAvailible => write!(f, "MSR Feature not availible"),
Error::NotAvailible(name) => write!(f, "MSR Feature not availible file: {}", name),

Choose a reason for hiding this comment

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

Nice. Helpful change ^^

src/kvm.rs Show resolved Hide resolved
src/msr.rs Show resolved Hide resolved
@andrewjj20 andrewjj20 merged commit 1baa06a into ScaleComputing:main Sep 13, 2024
4 checks passed
@andrewjj20 andrewjj20 deleted the specify_cpu branch September 13, 2024 18:50
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