-
Notifications
You must be signed in to change notification settings - Fork 121
CVM: Set GuestCrashRegsAvailable in cpuid #1308
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
base: main
Are you sure you want to change the base?
Conversation
Do we need to maybe filter offering this diagnostic on if cvm tracing is enabled?
versus before:
|
I think also, we may want to print the crash message within UH itself? |
We don't need to filter this on cvm tracing, it is the responsibility of the guest to not send secret data to these. However the crash message is a different story, since I believe it's just a pointer into guest memory, so that we would have to be careful about reading and sharing. |
I guess if we emit the guest message as a normal tracing call, then we'll follow whatever the normal filtering logic is. I think though, we should emit the message because OHCL is may be the only thing that can actually read it, the host can't. |
We support these regs on all backends, so no reason not to.