mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-12 20:39:30 +00:00
runtime-rs: change representation of default_vcpus from i32 to f32
This commit focuses purely on the formal change of type. If any subsequent changes in semantics are needed they are purposely avoided here so that the commit can be reviewed as a 100% formal and 0% semantic change. Signed-off-by: Pavel Mores <pmores@redhat.com>
This commit is contained in:
@@ -198,7 +198,7 @@ pub struct HypervisorInfo {
|
||||
#[serde(default)]
|
||||
enable_iommu_platform: bool,
|
||||
#[serde(default)]
|
||||
default_vcpus: i32,
|
||||
default_vcpus: f32,
|
||||
#[serde(default)]
|
||||
cpu_features: String,
|
||||
#[serde(default)]
|
||||
|
Reference in New Issue
Block a user