minor change in kvm module for Arm64

Signed-off-by: Bin Lu <bin.lu@arm.com>
This commit is contained in:
Bin Lu 2020-06-09 05:28:09 -04:00
parent 4e96b94915
commit b792cc1ca9
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}