vmcore/lib.rs
1// Copyright (c) Microsoft Corporation.
2// Licensed under the MIT License.
3
4//! This crate contains core virtualization definitions and functionality shared
5//! by other virtualization crates (such as VmBus). It is intended to be usable
6//! across both HvLite and Hyper-V, so it should not contain any references to
7//! HvLite-specific infrastructure (such as WHP).
8
9// UNSAFETY: linkme uses link_section which is unsafe.
10#![expect(unsafe_code)]
11
12// Needed for `save_restore_derive`.
13extern crate self as vmcore;
14
15pub mod device_state;
16pub mod interrupt;
17pub mod isa_dma_channel;
18pub mod line_interrupt;
19pub mod local_only;
20pub mod monitor;
21pub mod non_volatile_store;
22pub mod notify;
23pub mod reference_time;
24pub mod save_restore;
25pub mod slim_event;
26pub mod synic;
27pub mod vm_task;
28pub mod vmtime;
29pub mod vpci_msi;