summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/platform/kvm/bluepill_amd64_unsafe.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2019-12-14 01:13:56 +0000
committergVisor bot <gvisor-bot@google.com>2019-12-14 01:13:56 +0000
commitf1c7bb8642584b8c808b311dfd094479a0424466 (patch)
tree116b0274eeda688116b450269f098ea8e85d12e9 /pkg/sentry/platform/kvm/bluepill_amd64_unsafe.go
parent21162df9cf279e464648605d7498360acead589e (diff)
parent6b424530397e5100b08628efe8f6c62178daa70b (diff)
Merge release-20191210.0-30-g6b42453 (automated)
Diffstat (limited to 'pkg/sentry/platform/kvm/bluepill_amd64_unsafe.go')
-rw-r--r--pkg/sentry/platform/kvm/bluepill_amd64_unsafe.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/pkg/sentry/platform/kvm/bluepill_amd64_unsafe.go b/pkg/sentry/platform/kvm/bluepill_amd64_unsafe.go
index 9d8af143e..a63a6a071 100644
--- a/pkg/sentry/platform/kvm/bluepill_amd64_unsafe.go
+++ b/pkg/sentry/platform/kvm/bluepill_amd64_unsafe.go
@@ -23,13 +23,6 @@ import (
"gvisor.dev/gvisor/pkg/sentry/platform/ring0"
)
-// bluepillArchContext returns the arch-specific context.
-//
-//go:nosplit
-func bluepillArchContext(context unsafe.Pointer) *arch.SignalContext64 {
- return &((*arch.UContext64)(context).MContext)
-}
-
// dieArchSetup initializes the state for dieTrampoline.
//
// The amd64 dieTrampoline requires the vCPU to be set in BX, and the last RIP