summaryrefslogtreecommitdiffhomepage
path: root/pkg/rand/rand_linux.go
diff options
context:
space:
mode:
authorAndrei Vagin <avagin@google.com>2021-06-11 18:41:13 -0700
committergVisor bot <gvisor-bot@google.com>2021-06-11 18:43:26 -0700
commitec6a7ebc75f714e9ac8ae1dc785304661f6e63b4 (patch)
tree56182edee0961038848a611cfa10efc145807bbe /pkg/rand/rand_linux.go
parent3c63fce628ccee1f41c9c3a1ff693042ce094503 (diff)
Rework the workaround of the XCR0 issue
XCR0 has to be synchronized with the host. We can call xsave from the host context and then call xrstor from the guest context and vise versa. This means we need to support the same set of FPU features in both contexts. PiperOrigin-RevId: 378988281
Diffstat (limited to 'pkg/rand/rand_linux.go')
0 files changed, 0 insertions, 0 deletions