diff options
author | Andrei Vagin <avagin@gmail.com> | 2021-03-30 21:40:07 -0700 |
---|---|---|
committer | Andrei Vagin <avagin@gmail.com> | 2021-04-01 13:28:15 -0700 |
commit | eb9b8e53a3ef7bb96dcb59a0121fa9ed22f01bfd (patch) | |
tree | d01a7b7aae854e5b2a89c156d809e1b6aafc4640 /pkg/sentry/platform/kvm/BUILD | |
parent | 6c10c772e46ffe8d27cffe77aed24f0d334d611c (diff) |
platform/kvm/x86: restore mxcsr when switching from guest to sentry
Goruntime sets mxcsr once and never changes it.
Reported-by: syzbot+ec55cea6e57ec083b7a6@syzkaller.appspotmail.com
Fixes: #5754
Diffstat (limited to 'pkg/sentry/platform/kvm/BUILD')
-rw-r--r-- | pkg/sentry/platform/kvm/BUILD | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/sentry/platform/kvm/BUILD b/pkg/sentry/platform/kvm/BUILD index f04898dc1..47b294312 100644 --- a/pkg/sentry/platform/kvm/BUILD +++ b/pkg/sentry/platform/kvm/BUILD @@ -66,6 +66,7 @@ go_test( srcs = [ "kvm_amd64_test.go", "kvm_arm64_test.go", + "kvm_amd64_test.s", "kvm_test.go", "virtual_map_test.go", ], |