summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/platform/kvm/address_space.go
diff options
context:
space:
mode:
authorAdin Scannell <ascannell@google.com>2018-05-15 18:33:19 -0700
committerShentubot <shentubot@google.com>2018-05-15 18:34:09 -0700
commit310a99228b9254ad3c09ecdaa66e5747be4f46c5 (patch)
tree9dd3470493abe335db0bfe178735bd6f279812f2 /pkg/sentry/platform/kvm/address_space.go
parent96c28a43682e8a665142da5b8b0734198fff3a00 (diff)
Simplify KVM state handling.
This also removes the dependency on tmutex. PiperOrigin-RevId: 196764317 Change-Id: I523fb67454318e1a2ca9da3a08e63bfa3c1eeed3
Diffstat (limited to 'pkg/sentry/platform/kvm/address_space.go')
-rw-r--r--pkg/sentry/platform/kvm/address_space.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/platform/kvm/address_space.go b/pkg/sentry/platform/kvm/address_space.go
index 2302f78e1..3d57ae0cb 100644
--- a/pkg/sentry/platform/kvm/address_space.go
+++ b/pkg/sentry/platform/kvm/address_space.go
@@ -57,7 +57,7 @@ func (as *addressSpace) Invalidate() {
c := key.(*vCPU)
v := value.(*uint32)
atomic.StoreUint32(v, 0) // Invalidation required.
- c.Bounce() // Force a kernel transition.
+ c.BounceToKernel() // Force a kernel transition.
return true // Keep iterating.
})
}