mirror of
https://github.com/momo5502/hypervisor.git
synced 2025-07-03 17:51:52 +00:00
Don't allocate all vm state in a continuous block
This commit is contained in:
@ -18,7 +18,8 @@ public:
|
||||
void disable();
|
||||
|
||||
private:
|
||||
vmx::vm_state* vm_states_{nullptr};
|
||||
uint32_t vm_state_count_{0};
|
||||
vmx::vm_state** vm_states_{nullptr};
|
||||
|
||||
void enable_core(uint64_t system_directory_table_base);
|
||||
bool try_enable_core(uint64_t system_directory_table_base);
|
||||
|
Reference in New Issue
Block a user