From 795a5d7ecdbc1999b7cf7eabf5251a4e3cd192ce Mon Sep 17 00:00:00 2001 From: johannst Date: Sun, 30 May 2021 01:35:05 +0200 Subject: kvm_sys: make cr2 pub and fix typo in efer reg --- src/kvm_sys.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/kvm_sys.rs') 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], } -- cgit v1.2.3