Regression of
982f25c88f: We need to release the pages allocated as PIO
bitmap by vcpu_vendor_cell_init on cell destruction.
CC: Valentine Sinitsyn <valentine.sinitsyn@gmail.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
paging_destroy(&cell->svm.npt_structs, XAPIC_BASE, PAGE_SIZE,
PAGING_NON_COHERENT);
page_free(&mem_pool, cell->svm.npt_structs.root_table, 1);
+ page_free(&mem_pool, cell->svm.iopm, 3);
}
int vcpu_init(struct per_cpu *cpu_data)
paging_destroy(&cell->vmx.ept_structs, XAPIC_BASE, PAGE_SIZE,
PAGING_NON_COHERENT);
page_free(&mem_pool, cell->vmx.ept_structs.root_table, 1);
+ page_free(&mem_pool, cell->vmx.io_bitmap, 2);
}
void vcpu_tlb_flush(void)