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

Change default value of --guest-features to 0x1 #44

Merged

Conversation

larrydewey
Copy link
Collaborator

Due to a discussion happening in the linux kernel mailing list, it is expected that the default guest features should no longer include DEBUG_SWAP by default. This changes the default value back to 0x1 to comply with those changes.

Resolves #43

Due to a [discussion happening in the linux kernel mailing list](https://lore.kernel.org/kvm/20240314024952.w6n6ol5hjzqayn2g@amd.com/T/), it is expected that the default guest features should no longer include `DEBUG_SWAP` by default. This changes the default value back to `0x1` to comply with those changes.

Resolves virtee#43

Signed-off-by: Larry Dewey <larry.dewey@amd.com>
@larrydewey larrydewey added the bug Something isn't working label Mar 18, 2024
@larrydewey larrydewey self-assigned this Mar 18, 2024
@auto-assign auto-assign bot requested a review from slp March 18, 2024 14:55
@larrydewey larrydewey linked an issue Mar 18, 2024 that may be closed by this pull request
@larrydewey larrydewey assigned dubek and tylerfanelli and unassigned slp Mar 18, 2024
@tylerfanelli
Copy link
Member

Has this been merged yet? Should we wait before accepting this?

Copy link
Collaborator

@fitzthum fitzthum left a comment

Choose a reason for hiding this comment

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

LGTM. I second @tylerfanelli's question, but I'm not too worried about versioning since this is just the default value.

@dubek
Copy link
Member

dubek commented Mar 19, 2024

I'm away, I'll be able to look at this on Wednesday.

Copy link

@ryansavino ryansavino left a comment

Choose a reason for hiding this comment

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

LGTM

@dubek
Copy link
Member

dubek commented Mar 21, 2024

I just see that when I merged #32 I forgot to add a changelog entry (I'll add that retroactively soon -- see #45). So now I'm planning the changelog entry for this PR, and I want to tell users in which kernel version the default sev_features value changes - do we know that? Probably 6.10 ?

something like:

kernel < 6.6 - sev_features=0x1
6.6 <= kernel < 6.10 - sev_features=0x21
kernel >= 6.10 - sev_features=0x1

???

@dubek
Copy link
Member

dubek commented Mar 21, 2024

Also, @larrydewey can you please change the subject line of the commit - remove the issue number and clarify the change, maybe:

Change default value of --guest-features to 0x1

@larrydewey larrydewey changed the title 43: Patch guest features default value Change default value of --guest-features to 0x1 Mar 21, 2024
@larrydewey larrydewey merged commit bc8118f into virtee:43-vmsa-adjustment Apr 9, 2024
2 checks passed
@larrydewey larrydewey deleted the 43-vmsa-adjustment branch April 9, 2024 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change to the Expected Guest Measurement Adjustment and the VMSA
7 participants