Skip to content

Commit b6bffd0

Browse files
mingqiangchiwenlingz
authored andcommitted
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 <mingqiang.chi@intel.com>
1 parent 422a051 commit b6bffd0

File tree

1 file changed

+0
-2
lines changed
  • hypervisor/include/arch/x86/guest

1 file changed

+0
-2
lines changed

hypervisor/include/arch/x86/guest/vm.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ struct vm_arch {
9090
/* I/O bitmaps A and B for this VM, MUST be 4-Kbyte aligned */
9191
uint8_t io_bitmap[PAGE_SIZE*2];
9292

93-
uint64_t guest_init_pml4;/* Guest init pml4 */
9493
/* EPT hierarchy for Normal World */
9594
void *nworld_eptp;
9695
/* EPT hierarchy for Secure World
@@ -100,7 +99,6 @@ struct vm_arch {
10099
void *sworld_eptp;
101100
struct memory_ops ept_mem_ops;
102101

103-
void *tmp_pg_array; /* Page array for tmp guest paging struct */
104102
struct acrn_vioapic vioapic; /* Virtual IOAPIC base address */
105103
struct acrn_vpic vpic; /* Virtual PIC */
106104
#ifdef CONFIG_HYPERV_ENABLED

0 commit comments

Comments
 (0)