Bug 2040820
| Summary: | RFE: provide a command to pretty-print the contents of a VMSA dump | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Daniel Berrangé <berrange> |
| Component: | sevctl | Assignee: | Cole Robinson <crobinso> |
| Status: | CLOSED ERRATA | QA Contact: | zixchen |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 9.1 | CC: | coli, crobinso, jferlan, jinzhao, juzhang |
| Target Milestone: | rc | Keywords: | FutureFeature, Triaged |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | sevctl-0.3.0-4.el9 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-11-15 10:31:18 UTC | Type: | Feature Request |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 2085085 | ||
| Bug Blocks: | |||
|
Description
Daniel Berrangé
2022-01-14 18:43:09 UTC
upstream code posted: https://github.com/virtee/sevctl/pull/18 Will eventually be resolved as part of rebase to new sevctl release Cole - IIUC, you're doing the pretty print part of the work while Tyler is doing the build & dump part of the work Changes have been merged upstream: https://github.com/virtee/sevctl/commit/f11015f523935895c5ca116e599c9fdc863dd92c Moving to POST and awaiting the sevctl rebase to be completed. Test with sevctl-0.3.0-4.el9, sevctl vmsa show passed.
Version:
sevctl-0.3.0-4.el9
kernel-5.14.0-121.el9.x86_64
# sevctl vmsa show NEW-VMSA0.bin
{
"es": {
"selector": 0,
"attrib": 147,
"limit": 65535,
"base": 0
},
"cs": {
"selector": 61440,
"attrib": 155,
"limit": 65535,
"base": 8388608
},
"ss": {
"selector": 0,
"attrib": 147,
"limit": 65535,
"base": 0
},
"ds": {
"selector": 0,
"attrib": 147,
"limit": 65535,
"base": 0
},
"fs": {
"selector": 0,
"attrib": 147,
"limit": 65535,
"base": 0
},
"gs": {
"selector": 0,
"attrib": 147,
"limit": 65535,
"base": 0
},
"gdtr": {
"selector": 0,
"attrib": 0,
"limit": 65535,
"base": 0
},
"ldtr": {
"selector": 0,
"attrib": 130,
"limit": 65535,
"base": 0
},
"idtr": {
"selector": 0,
"attrib": 0,
"limit": 65535,
"base": 0
},
"tr": {
"selector": 0,
"attrib": 139,
"limit": 65535,
"base": 0
},
"reserved_1": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"cpl": 0,
"reserved_2": [
0,
0,
0,
0
],
"efer": 4096,
"reserved_3": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"xss": 0,
"cr4": 64,
"cr3": 0,
"cr0": 16,
"dr7": 1024,
"dr6": 4294905840,
"rflags": 2,
"rip": 32772,
"reserved_4": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"rsp": 0,
"reserved_5": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"rax": 0,
"star": 0,
"lstar": 0,
"cstar": 0,
"sfmask": 0,
"kernel_gs_base": 0,
"sysenter_cs": 0,
"sysenter_esp": 0,
"sysenter_eip": 0,
"cr2": 0,
"reserved_6": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"g_pat": 1974748653749254,
"dbgctl": 0,
"br_from": 0,
"br_to": 0,
"last_excp_from": 0,
"last_excp_to": 0,
"reserved_7": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"spec_ctrl": 0,
"reserved_7b": [
0,
0,
0,
0
],
"pkru": 0,
"reserved_7a": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"reserved_8": 0,
"rcx": 0,
"rdx": 10489617,
"rbx": 0,
"reserved_9": 0,
"rbp": 0,
"rsi": 0,
"rdi": 0,
"r8": 0,
"r9": 0,
"r10": 0,
"r11": 0,
"r12": 0,
"r13": 0,
"r14": 0,
"r15": 0,
"reserved_10": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"sw_exit_code": 0,
"sw_exit_info_1": 0,
"sw_exit_info_2": 0,
"sw_scratch": 0,
"reserved_11": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"xcr0": 1,
"valid_bitmap": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"x87_state_gpa": 0
}
Since sevctl-0.3.0-4.el9 is already tested, move this to VERIFIED Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (sevctl bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2022:8171 |