From b6bffd01ff2d5bfde023fc917d83c0a305a80f4b Mon Sep 17 00:00:00 2001 From: Mingqiang Chi Date: Tue, 10 Dec 2019 10:01:38 +0800 Subject: [PATCH] hv:remove 2 unused variables in vm_arch structure remove 'guest_init_pml4' and 'tmp_pg_array' in vm_arch since they are not used. Tracked-On: #1842 Signed-off-by: Mingqiang Chi --- hypervisor/include/arch/x86/guest/vm.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/hypervisor/include/arch/x86/guest/vm.h b/hypervisor/include/arch/x86/guest/vm.h index 5201db0df..ff07553ad 100644 --- a/hypervisor/include/arch/x86/guest/vm.h +++ b/hypervisor/include/arch/x86/guest/vm.h @@ -90,7 +90,6 @@ struct vm_arch { /* I/O bitmaps A and B for this VM, MUST be 4-Kbyte aligned */ uint8_t io_bitmap[PAGE_SIZE*2]; - uint64_t guest_init_pml4;/* Guest init pml4 */ /* EPT hierarchy for Normal World */ void *nworld_eptp; /* EPT hierarchy for Secure World @@ -100,7 +99,6 @@ struct vm_arch { void *sworld_eptp; struct memory_ops ept_mem_ops; - void *tmp_pg_array; /* Page array for tmp guest paging struct */ struct acrn_vioapic vioapic; /* Virtual IOAPIC base address */ struct acrn_vpic vpic; /* Virtual PIC */ #ifdef CONFIG_HYPERV_ENABLED