mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
hypervisor: suppress clippy::large_enum_variant
MSHV's vcpu state is small, but it will grow in the future. Signed-off-by: Wei Liu <liuwe@microsoft.com>
This commit is contained in:
@@ -148,6 +148,7 @@ pub enum IoEventAddress {
|
||||
}
|
||||
|
||||
#[derive(Clone, serde::Serialize, serde::Deserialize)]
|
||||
#[allow(clippy::large_enum_variant)]
|
||||
pub enum CpuState {
|
||||
#[cfg(feature = "kvm")]
|
||||
Kvm(kvm::VcpuKvmState),
|
||||
|
||||
Reference in New Issue
Block a user