diff options
author | Michael Pratt <mpratt@google.com> | 2018-10-30 15:55:22 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-10-30 15:56:12 -0700 |
commit | 245d81561b521bb94e3aa88fb704b967b023b0f1 (patch) | |
tree | 3f28f86ef977a27ba82b2976536f9f1581462f1c /pkg/sentry/context/context.go | |
parent | 805a27c441c2ca133a3a37dc45f79286b5044a70 (diff) |
Clean up cpuid_parse_test
Actually parse flags from cpuinfo to avoid mistakenly matching
substrings in cpuinfo that happen to match a flags.
Some features were only exposed in recent versions of Linux. Don't
require them to appear in cpuinfo on old versions of Linux.
Move PREFETCHWT1 back to parse only features. It isn't actually exposed
in Linux yet. Move SDBG to shown features. It has been visible since
Linux 4.3.
PiperOrigin-RevId: 219381731
Change-Id: Ied7c0ee7c8a9879683e81933de56c9074b01108f
Diffstat (limited to 'pkg/sentry/context/context.go')
0 files changed, 0 insertions, 0 deletions