hypervisor: Add VmExit::Debug for x86/KVM

This commit adds `VmExit::Debug` for x86/KVM. When the guest hits a
hardware breakpoint, `VcpuExit::Debug` vm exit occurs. This vm exit
will be handled with code implemented in the following commits.

Signed-off-by: Akira Moroo <retrage01@gmail.com>
This commit is contained in:
Akira Moroo
2022-01-30 19:26:32 +09:00
committed by Rob Bradford
parent 9f27954fbd
commit 9f111388c0
2 changed files with 4 additions and 0 deletions

View File

@@ -266,6 +266,8 @@ pub enum VmExit<'a> {
Hyperv,
#[cfg(feature = "tdx")]
Tdx,
#[cfg(feature = "kvm")]
Debug,
}
///