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:
Pavel Mores
2024-11-25 11:33:12 +01:00
parent cdc0eab8e4
commit 1f95d9401b
12 changed files with 72 additions and 73 deletions

View File

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