Skip to content
This repository has been archived by the owner on Jul 11, 2024. It is now read-only.

Commit

Permalink
Enabled VPID via Secondary Processor-Based Execution Controls
Browse files Browse the repository at this point in the history
  • Loading branch information
memN0ps committed Jan 25, 2024
1 parent fcdb906 commit 94a0a4b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hypervisor/src/intel/vmcs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ impl Vmcs {
const SECONDARY_CTL: u64 = (vmcs::control::SecondaryControls::ENABLE_RDTSCP.bits()
| vmcs::control::SecondaryControls::ENABLE_XSAVES_XRSTORS.bits()
| vmcs::control::SecondaryControls::ENABLE_INVPCID.bits()
| vmcs::control::SecondaryControls::ENABLE_VPID.bits()
| vmcs::control::SecondaryControls::ENABLE_EPT.bits()) as u64;
const ENTRY_CTL: u64 = vmcs::control::EntryControls::IA32E_MODE_GUEST.bits() as u64;
const EXIT_CTL: u64 = vmcs::control::ExitControls::HOST_ADDRESS_SPACE_SIZE.bits() as u64;
Expand Down

0 comments on commit 94a0a4b

Please sign in to comment.