Skip to content

VMSA_GPA = 0xFFFFFFFFF000 is 48-bit, confused.... #3

@JustPlay

Description

@JustPlay

https://github.com/IBM/sev-snp-measure/blob/90f6e59831d20e44d03d5ee19388f624fca87291/sevsnpmeasure/gctx.py#L40

in the code, VMSA_GPA = 0xFFFFFFFFF000, but 0xFFFFFFFFF000 is 48-bits, not 52-bits

when launch sev-snp vm, we use cbitpos=51,reduced-phys-bits=1, so i think it use 51-bit (0-50) physical address space, with cbit=1, so should VMSA_GPA = 0xFFFFFFFFFF000 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions