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:
Wei Liu 2022-07-20 23:58:25 +00:00 committed by Liu Wei
parent bb19c3d2b7
commit 7b99bd9496

View File

@ -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),