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

Suppress unimplemented MSR related warnings #1611

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

brendabrandy
Copy link

While using bhyve on intel machines, if certain MSRs are unimplemented, the bhyve console is spammed with these messages:

rdmsr to register 0x684 on vcpu 1
rdmsr to register 0x6c4 on vcpu 1
rdmsr to register 0x683 on vcpu 1
rdmsr to register 0x6c3 on vcpu 1
rdmsr to register 0x682 on vcpu 1
rdmsr to register 0x6c2 on vcpu 1
rdmsr to register 0x681 on vcpu 1
rdmsr to register 0x6c1 on vcpu 1
rdmsr to register 0x680 on vcpu 1
rdmsr to register 0x6c0 on vcpu 1
Password:
Login incorrect
login:
login:
login:
login: rdmsr to register 0x1c9 on vcpu 0
rdmsr to register 0x1dd on vcpu 0
rdmsr to register 0x1de on vcpu 0
rdmsr to register 0x68f on vcpu 0
rdmsr to register 0x6cf on vcpu 0
rdmsr to register 0x68e on vcpu 0
rdmsr to register 0x6ce on vcpu 0
rdmsr to register 0x68d on vcpu 0
rdmsr to register 0x6cd on vcpu 0
rdmsr to register 0x68c on vcpu 0
rdmsr to register 0x6cc on vcpu 0
rdmsr to register 0x68b on vcpu 0
rdmsr to register 0x6cb on vcpu 0
rdmsr to register 0x68a on vcpu 0
rdmsr to register 0x6ca on vcpu 0
rdmsr to register 0x689 on vcpu 0
rdmsr to register 0x6c9 on vcpu 0
rdmsr to register 0x688 on vcpu 0
rdmsr to register 0x6c8 on vcpu 0
rdmsr to register 0x687 on vcpu 0
rdmsr to register 0x6c7 on vcpu 0
rdmsr to register 0x686 on vcpu 0

This does not interfere with the normal operation of bhyve (since I can run the image), and there are already options to ignore unimplmented MSRs and continue (-w) But the warning messages makes it difficult to use the console. A new option -q is created to suppress the rdmsr and wrmsr messages.

@brendabrandy brendabrandy requested a review from bsdjhb as a code owner March 11, 2025 23:32
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.

1 participant