openvmm_hcl_resources/
lib.rs#![cfg_attr(not(target_os = "linux"), expect(missing_docs))]
#![cfg(target_os = "linux")]
#![forbid(unsafe_code)]
vm_resource::register_static_resolvers! {
#[cfg(guest_arch = "x86_64")]
chipset::i8042::resolver::I8042Resolver,
missing_dev::resolver::MissingDevResolver,
#[cfg(feature = "tpm")]
tpm::resolver::TpmDeviceResolver,
#[cfg(guest_arch = "x86_64")]
serial_16550::resolver::Serial16550Resolver,
#[cfg(guest_arch = "aarch64")]
serial_pl011::resolver::SerialPl011Resolver,
chipset::battery::resolver::BatteryResolver,
vmcore::non_volatile_store::resources::EphemeralNonVolatileStoreResolver,
serial_core::disconnected::resolver::DisconnectedSerialBackendResolver,
vmbus_serial_guest::VmbusSerialGuestResolver,
disk_striped::StripedDiskResolver,
scsidisk::resolver::SimpleScsiResolver,
hyperv_ic::resolver::IcResolver,
storvsp::resolver::StorvspResolver,
#[cfg(feature = "uidevices")]
uidevices::resolver::VmbusUiResolver,
#[cfg(feature = "nvme")]
nvme::resolver::NvmeControllerResolver,
}
mesh_worker::register_workers! {
#[cfg(feature = "vnc_worker")]
vnc_worker::VncWorker<vmsocket::VmListener>,
#[cfg(feature = "debug_worker")]
debug_worker::DebuggerWorker<vmsocket::VmListener>,
}