summaryrefslogtreecommitdiffhomepage
path: root/pkg
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-06-09 17:34:41 -0700
committergVisor bot <gvisor-bot@google.com>2020-06-09 17:34:41 -0700
commite3cbfbf34919d544bbf2da92044bb4044d673e21 (patch)
tree7d4d3d96e98dc156b69ea926d2988804d066b47d /pkg
parent4950ccde75b3a85852f10bce6a76f033cf2f9ac6 (diff)
parentb792cc1ca9c89cafdf8dafc23ef8956eb4f72b46 (diff)
Merge pull request #2907 from lubinszARM:pr_minor
PiperOrigin-RevId: 315595602
Diffstat (limited to 'pkg')
-rw-r--r--pkg/sentry/platform/kvm/machine_arm64.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/platform/kvm/machine_arm64.go b/pkg/sentry/platform/kvm/machine_arm64.go
index 750751aa3..f3bf973de 100644
--- a/pkg/sentry/platform/kvm/machine_arm64.go
+++ b/pkg/sentry/platform/kvm/machine_arm64.go
@@ -106,7 +106,7 @@ func (m *machine) dropPageTables(pt *pagetables.PageTables) {
defer m.mu.Unlock()
// Clear from all PCIDs.
- for _, c := range m.vCPUs {
+ for _, c := range m.vCPUsByID {
if c.PCIDs != nil {
c.PCIDs.Drop(pt)
}