wip
This commit is contained in:
@ -169,7 +169,7 @@ impl ShadowMsr {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn phys(&self) -> PhysAddr {
|
pub fn phys(&self) -> PhysAddr {
|
||||||
PhysAddr::new(self.ents.as_ptr() as u64)
|
PhysAddr::new((&self.ents as *const Vec<SavedMsr>) as u64)
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn concat(r1: u64, r2: u64) -> u64 {
|
pub fn concat(r1: u64, r2: u64) -> u64 {
|
||||||
|
@ -119,7 +119,7 @@ impl IntelVCpu {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn vmentry(&mut self) -> Result<(), InstructionError> {
|
fn vmentry(&mut self) -> Result<(), InstructionError> {
|
||||||
msr::update_msrs(self).unwrap();
|
//msr::update_msrs(self).unwrap();
|
||||||
|
|
||||||
let success = {
|
let success = {
|
||||||
let result: u16;
|
let result: u16;
|
||||||
|
Reference in New Issue
Block a user