hyperv_ic_guest/
lib.rs

1// Copyright (c) Microsoft Corporation.
2// Licensed under the MIT License.
3
4//! Implementation of Hyper-V guest ICs (Integration Components).
5//!
6//! These are simple devices used to receive simple requests from the host or
7//! otherwise provide some degree of integration between the guest and host.
8//!
9//! Examples (not all are necessarily implemented yet):
10//!
11//! * shutdown IC for initiating a guest shutdown
12//! * timesync IC for synchronizing time
13//! * heartbeat IC for reporting guest health
14//! * KVP IC for exchanging arbitrary key/value data between the host and guest
15
16#![cfg(target_os = "linux")]
17#![forbid(unsafe_code)]
18
19pub mod shutdown;
20
21pub use shutdown::ShutdownGuestIc;