aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/kvm_sys.rs
diff options
context:
space:
mode:
authorjohannst <johannes.stoelp@gmail.com>2021-05-28 22:47:37 +0200
committerjohannst <johannes.stoelp@gmail.com>2021-05-28 22:47:37 +0200
commit3492279f78d4470caf157a834ef5216bc319d799 (patch)
treee77e615dc496a0765bf2b3c50358129787234bc8 /src/kvm_sys.rs
parentefd2dbdaffe41c4cd89d762ec6d3828449b173cb (diff)
downloadmini-kvm-rs-3492279f78d4470caf157a834ef5216bc319d799.tar.gz
mini-kvm-rs-3492279f78d4470caf157a834ef5216bc319d799.zip
kvm_sys: remove Rflags type
Diffstat (limited to 'src/kvm_sys.rs')
-rw-r--r--src/kvm_sys.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/kvm_sys.rs b/src/kvm_sys.rs
index 8179a8f..0add602 100644
--- a/src/kvm_sys.rs
+++ b/src/kvm_sys.rs
@@ -7,10 +7,6 @@ include!(concat!(env!("OUT_DIR"), "/kvm_constants.rs"));
#[repr(C)]
#[derive(Default, Debug)]
-pub struct Rflags(pub u64);
-
-#[repr(C)]
-#[derive(Default, Debug)]
pub struct kvm_regs {
pub rax: u64,
pub rbx: u64,
@@ -29,7 +25,7 @@ pub struct kvm_regs {
pub r14: u64,
pub r15: u64,
pub rip: u64,
- pub rflags: Rflags,
+ pub rflags: u64,
}
#[repr(C)]