aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2021-12-11 22:06:22 +0100
committerJohannes Stoelp <johannes.stoelp@gmail.com>2021-12-11 22:06:22 +0100
commit3b9f34189259c94a8fbd26bc16cd28d167282e35 (patch)
treef4086f3efb98dc6059000782eed094a7e8bda2e7 /examples
parent58be7ebbf86c4185276250867eb74a6dd19aaca6 (diff)
downloadmini-kvm-rs-3b9f34189259c94a8fbd26bc16cd28d167282e35.tar.gz
mini-kvm-rs-3b9f34189259c94a8fbd26bc16cd28d167282e35.zip
vcpu: allow to enable/disable guest single stepping (debug)
Diffstat (limited to 'examples')
-rw-r--r--examples/long_mode.rs1
-rw-r--r--examples/real_mode.rs1
2 files changed, 2 insertions, 0 deletions
diff --git a/examples/long_mode.rs b/examples/long_mode.rs
index 06af791..5969a48 100644
--- a/examples/long_mode.rs
+++ b/examples/long_mode.rs
@@ -181,6 +181,7 @@ fn main() -> std::io::Result<()> {
data
);
}
+ KvmExit::Debug(_pc) => {}
};
}
diff --git a/examples/real_mode.rs b/examples/real_mode.rs
index f37d45c..fa5fb19 100644
--- a/examples/real_mode.rs
+++ b/examples/real_mode.rs
@@ -51,6 +51,7 @@ fn main() -> std::io::Result<()> {
data
);
}
+ KvmExit::Debug(_pc) => {}
};
}