If other conditions are allowed, ring0/pagetables/walker_amd64.go always do pudEntry.SetSuper() for GBPAGES without checking if the cpu has cpuid.X86FeatureGBPAGES. Could we add the check for cpuid.X86FeatureGBPAGES before SetSuper()?
Is this feature related to a specific bug?
If gvisor is tested on CPUs without cpuid.X86FeatureGBPAGES,
Description
If other conditions are allowed, ring0/pagetables/walker_amd64.go always do pudEntry.SetSuper() for GBPAGES without checking if the cpu has cpuid.X86FeatureGBPAGES. Could we add the check for cpuid.X86FeatureGBPAGES before SetSuper()?
Is this feature related to a specific bug?
If gvisor is tested on CPUs without cpuid.X86FeatureGBPAGES,
pkg/sentry/platform/kvm/machine_amd64.go:323 is the ip after bluepill()
Do you have a specific solution in mind?
No response