diff options
author | gVisor bot <gvisor-bot@google.com> | 2021-03-24 01:53:34 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-03-24 01:53:34 +0000 |
commit | 6d6d1361a87d19477c9f035405065fc9b714ef73 (patch) | |
tree | 72689e458f56eeb2268d4c02f7a64fdad4443cc3 /pkg/sentry/platform/kvm/context.go | |
parent | 8e2958434d9fb2d8dc75cd3942be4c90b5c9d7d3 (diff) | |
parent | 56a9a13976ad800a8a34b194d35f0169d0a0bb23 (diff) |
Merge release-20210315.0-18-g56a9a1397 (automated)
Diffstat (limited to 'pkg/sentry/platform/kvm/context.go')
-rw-r--r-- | pkg/sentry/platform/kvm/context.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/platform/kvm/context.go b/pkg/sentry/platform/kvm/context.go index aeae01dbd..706fa53dc 100644 --- a/pkg/sentry/platform/kvm/context.go +++ b/pkg/sentry/platform/kvm/context.go @@ -65,7 +65,7 @@ func (c *context) Switch(ctx pkgcontext.Context, mm platform.MemoryManager, ac a // Prepare switch options. switchOpts := ring0.SwitchOpts{ Registers: &ac.StateData().Regs, - FloatingPointState: (*byte)(ac.FloatingPointData()), + FloatingPointState: ac.FloatingPointData(), PageTables: localAS.pageTables, Flush: localAS.Touch(cpu), FullRestore: ac.FullRestore(), |