minor change in kvm module for Arm64
Signed-off-by: Bin Lu <bin.lu@arm.com>
This commit is contained in:
parent
4e96b94915
commit
b792cc1ca9
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue