mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-11-04 19:11:11 +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:
parent
bb19c3d2b7
commit
7b99bd9496
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user