-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
@anta5010 suggests adding a probing function to the tool, that finds out VM capabilities (PMU, BPs/WPs, SVE, but also default CPU number, GIC versions etc needed for FW table generation). It can be useful for at least two reasons:
- we wouldn't have to pass fixed config files when in "generate DTB" mode, before launching the VM
- we could also generate a config file for offline measurements.
KVM doesn't yet export the RMM features register to userspace, but it does provide default values of ID registers with GET_ONE_REG. Getting some features from host platform registers is possible, but KVM and RMM can decide for whatever reason to use different values for guests, so probing by creating a scratch VM is probably the most accurate method at the moment.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request