summary refs log tree commit diff
path: root/hypervisor/src/types/x86.rs
diff options
context:
space:
mode:
Diffstat (limited to 'hypervisor/src/types/x86.rs')
-rw-r--r--hypervisor/src/types/x86.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/hypervisor/src/types/x86.rs b/hypervisor/src/types/x86.rs
new file mode 100644
index 0000000..cd5236a
--- /dev/null
+++ b/hypervisor/src/types/x86.rs
@@ -0,0 +1,10 @@
+// Copyright 2020 The Chromium OS Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+use kvm_sys::kvm_cpuid_entry2;
+
+pub type CpuIdEntry = kvm_cpuid_entry2;
+pub struct CpuId {
+    _cpu_id_entries: Vec<CpuIdEntry>,
+}