aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/kvm_rs/kvm_sys.rs.html
diff options
context:
space:
mode:
authorjohannst <johannst@users.noreply.github.com>2025-03-14 01:15:52 +0000
committerjohannst <johannst@users.noreply.github.com>2025-03-14 01:15:52 +0000
commit0f9aca4ef41e9f4dff61c92048f4d60b00d27871 (patch)
tree81d0535edfa794fa6c5d6d9bd95277701d946c0f /src/kvm_rs/kvm_sys.rs.html
parent091d408a87d0f73f1c4e0166849ca9a566f005e0 (diff)
downloadmini-kvm-rs-gh-pages.tar.gz
mini-kvm-rs-gh-pages.zip
deploy: 3ebd8b163dc8d5679d90927de1c2fcd639882362gh-pages
Diffstat (limited to 'src/kvm_rs/kvm_sys.rs.html')
-rw-r--r--src/kvm_rs/kvm_sys.rs.html20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/kvm_rs/kvm_sys.rs.html b/src/kvm_rs/kvm_sys.rs.html
index 37de075..aa07b25 100644
--- a/src/kvm_rs/kvm_sys.rs.html
+++ b/src/kvm_rs/kvm_sys.rs.html
@@ -1,4 +1,5 @@
-<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Source of the Rust file `src/kvm_sys.rs`."><title>kvm_sys.rs - source</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-cb6f1f67f1bcd037.css" id="mainThemeStyle"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="kvm_rs" data-themes="" data-resource-suffix="" data-rustdoc-version="1.73.0 (cc66ad468 2023-10-03)" data-channel="1.73.0" data-search-js="search-6dfdfced5eff6596.js" data-settings-js="settings-de11bff964e9d4e5.js" data-settings-css="settings-8c76f75bfb6bd192.css" data-theme-light-css="light-1596385f77d47ef2.css" data-theme-dark-css="dark-0a43001d3fc2282c.css" data-theme-ayu-css="ayu-fd19013d6ce078bf.css" ><script src="../../static.files/storage-db41da1a38ea3cb8.js"></script><script defer src="../../static.files/src-script-3280b574d94e47b4.js"></script><script defer src="../../src-files.js"></script><script defer src="../../static.files/main-0795b7d26be81095.js"></script><noscript><link rel="stylesheet" media="(prefers-color-scheme:light)" href="../../static.files/light-1596385f77d47ef2.css"><link rel="stylesheet" media="(prefers-color-scheme:dark)" href="../../static.files/dark-0a43001d3fc2282c.css"><link rel="stylesheet" href="../../static.files/noscript-cffde32267a19fd6.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc src"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"></nav><main><nav class="sub"><a class="sub-logo-container" href="../../kvm_rs/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="example-wrap"><div data-nosnippet><pre class="src-line-numbers"><a href="#1" id="1">1</a>
+<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Source of the Rust file `src/kvm_sys.rs`."><title>kvm_sys.rs - source</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../static.files/rustdoc-46132b98.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="kvm_rs" data-themes="" data-resource-suffix="" data-rustdoc-version="1.85.0 (4d91de4e4 2025-02-17)" data-channel="1.85.0" data-search-js="search-75f5ac3e.js" data-settings-js="settings-0f613d39.js" ><script src="../../static.files/storage-59e33391.js"></script><script defer src="../../static.files/src-script-56102188.js"></script><script defer src="../../src-files.js"></script><script defer src="../../static.files/main-5f194d8c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-893ab5e7.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-044be391.svg"></head><body class="rustdoc src"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="src-sidebar-title"><h2>Files</h2></div></nav><div class="sidebar-resizer"></div><main><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1><div class="sub-heading">kvm_rs/</div>kvm_sys.rs</h1><rustdoc-toolbar></rustdoc-toolbar></div><div class="example-wrap"><div data-nosnippet><pre class="src-line-numbers">
+<a href="#1" id="1">1</a>
<a href="#2" id="2">2</a>
<a href="#3" id="3">3</a>
<a href="#4" id="4">4</a>
@@ -267,8 +268,7 @@
<a href="#267" id="267">267</a>
<a href="#268" id="268">268</a>
<a href="#269" id="269">269</a>
-<a href="#270" id="270">270</a>
-</pre></div><pre class="rust"><code><span class="doccomment">//! Definitions of the system header [`&lt;linux/kvm.h&gt;`][kvm-h].
+<a href="#270" id="270">270</a></pre></div><pre class="rust"><code><span class="doccomment">//! Definitions of the system header [`&lt;linux/kvm.h&gt;`][kvm-h].
//!
//! [kvm-h]: https://elixir.bootlin.com/linux/latest/source/include/uapi/linux/kvm.h
@@ -277,7 +277,7 @@
#![allow(dead_code)]
</span><span class="comment">// Generated by `build.rs`.
-</span><span class="macro">include!</span>(<span class="macro">concat!</span>(<span class="macro">env!</span>(<span class="string">&quot;OUT_DIR&quot;</span>), <span class="string">&quot;/kvm_constants.rs&quot;</span>));
+</span><span class="macro">include!</span>(<span class="macro">concat!</span>(<span class="macro">env!</span>(<span class="string">"OUT_DIR"</span>), <span class="string">"/kvm_constants.rs"</span>));
<span class="attr">#[repr(C)]
#[derive(Default, Debug)]
@@ -361,7 +361,7 @@
<span class="kw">pub </span>userspace_addr: u64,
}
-<span class="attr">#[cfg(target_arch = <span class="string">&quot;x86_64&quot;</span>)]
+<span class="attr">#[cfg(target_arch = <span class="string">"x86_64"</span>)]
#[repr(C)]
#[derive(Default, Debug)]
</span><span class="kw">pub struct </span>kvm_debugregs {
@@ -380,7 +380,7 @@
<span class="kw">pub </span>arch: kvm_guest_debug_arch,
}
-<span class="attr">#[cfg(target_arch = <span class="string">&quot;x86_64&quot;</span>)]
+<span class="attr">#[cfg(target_arch = <span class="string">"x86_64"</span>)]
#[repr(C)]
#[derive(Default, Debug)]
</span><span class="kw">pub</span>(<span class="kw">crate</span>) <span class="kw">struct </span>kvm_guest_debug_arch {
@@ -423,7 +423,7 @@
<span class="kw">pub </span>is_write: u8,
}
-<span class="attr">#[cfg(target_arch = <span class="string">&quot;x86_64&quot;</span>)]
+<span class="attr">#[cfg(target_arch = <span class="string">"x86_64"</span>)]
#[repr(C)]
#[derive(Copy, Clone, Debug)]
</span><span class="kw">pub</span>(<span class="kw">crate</span>) <span class="kw">struct </span>kvm_run_debug {
@@ -503,13 +503,13 @@
<span class="macro">assert_eq!</span>(mem::size_of::&lt;kvm_run_union_s&gt;(), TEST_KVM_RUN_UNION_S_SIZE);
}
- <span class="attr">#[cfg(target_arch = <span class="string">&quot;x86_64&quot;</span>)]
+ <span class="attr">#[cfg(target_arch = <span class="string">"x86_64"</span>)]
#[test]
</span><span class="kw">fn </span>check_kvm_run_x86() {
<span class="macro">assert_eq!</span>(mem::size_of::&lt;kvm_run_debug&gt;(), TEST_KVM_RUN_DEBUG_SIZE);
}
- <span class="attr">#[cfg(target_arch = <span class="string">&quot;x86_64&quot;</span>)]
+ <span class="attr">#[cfg(target_arch = <span class="string">"x86_64"</span>)]
#[test]
</span><span class="kw">fn </span>check_kvm_debugregs() {
<span class="macro">assert_eq!</span>(mem::size_of::&lt;kvm_debugregs&gt;(), TEST_KVM_DEBUGREGS_SIZE);
@@ -525,7 +525,7 @@
);
}
- <span class="attr">#[cfg(target_arch = <span class="string">&quot;x86_64&quot;</span>)]
+ <span class="attr">#[cfg(target_arch = <span class="string">"x86_64"</span>)]
#[test]
</span><span class="kw">fn </span>check_kvm_guest_dbg_arch() {
<span class="macro">assert_eq!</span>(