aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/kvm_sys.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/kvm_sys.rs')
-rw-r--r--src/kvm_sys.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kvm_sys.rs b/src/kvm_sys.rs
index 0add602..2ce8ba5 100644
--- a/src/kvm_sys.rs
+++ b/src/kvm_sys.rs
@@ -68,11 +68,11 @@ pub struct kvm_sregs {
pub gdt: kvm_dtable,
pub idt: kvm_dtable,
pub cr0: u64,
- cr2: u64,
+ pub cr2: u64,
pub cr3: u64,
pub cr4: u64,
pub cr8: u64,
- pub effer: u64,
+ pub efer: u64,
pub apic_base: u64,
pub interrupt_bitmap: [u64; 4],
}