From b792cc1ca9c89cafdf8dafc23ef8956eb4f72b46 Mon Sep 17 00:00:00 2001 From: Bin Lu Date: Tue, 9 Jun 2020 05:28:09 -0400 Subject: minor change in kvm module for Arm64 Signed-off-by: Bin Lu --- pkg/sentry/platform/kvm/machine_arm64.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/sentry/platform/kvm') 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) } -- cgit v1.2.3