pub struct ClusterQemuUpdateCustomCpuModelsRequest {
pub delete: Option<String>,
pub digest: Option<String>,
pub flags: Option<String>,
pub guest_phys_bits: Option<i32>,
pub hidden: Option<PveBoolean>,
pub hv_vendor_id: Option<String>,
pub level: Option<i32>,
pub phys_bits: Option<String>,
pub reported_model: Option<PveReportedModelEnum>,
}Fields§
§delete: Option<String>A list of properties to delete.
digest: Option<String>Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.
flags: Option<String>List of additional CPU flags separated by ‘;’. Use ‘+FLAG’ to enable, ‘-FLAG’ to disable a flag. There is a special ‘nested-virt’ shorthand which controls nested virtualization for the current CPU (‘svm’ for AMD and ‘vmx’ for Intel). Custom CPU models can specify any flag supported by QEMU/KVM, VM-specific flags must be from the following set for security reasons: aes, amd-no-ssb, amd-ssbd, hv-evmcs, hv-tlbflush, ibpb, md-clear, nested-virt, pcid, pdpe1gb, spec-ctrl, ssbd, virt-ssbd
guest_phys_bits: Option<i32>Number of physical address bits available to the guest.
Do not identify as a KVM virtual machine. Only affects vCPUs with x86-64 architecture.
hv_vendor_id: Option<String>The Hyper-V vendor ID. Some drivers or programs inside Windows guests need a specific ID.
level: Option<i32>Maximum input value for the basic CPUID leaves the guest can query - that is the vendor (leaf 0), family/model/stepping and feature bits (leaf 1), cache and topology info (leaves 4 and B), and so on. Higher-numbered leaves are hidden. Setting ‘30’ is a common workaround for Hyper-V boot failures on Windows guests running on recent Intel hosts. Only applies when the vCPU architecture is x86_64.
phys_bits: Option<String>The physical memory address bits that are reported to the guest OS. Should be smaller or equal to the host’s. Set to ‘host’ to use value from host CPU, but note that doing so will break live migration to CPUs with other values.
reported_model: Option<PveReportedModelEnum>CPU model and vendor to report to the guest. Must be a QEMU/KVM supported model. Only valid for custom CPU model definitions, default models will always report themselves to the guest OS.
Implementations§
Trait Implementations§
Source§impl Clone for ClusterQemuUpdateCustomCpuModelsRequest
impl Clone for ClusterQemuUpdateCustomCpuModelsRequest
Source§fn clone(&self) -> ClusterQemuUpdateCustomCpuModelsRequest
fn clone(&self) -> ClusterQemuUpdateCustomCpuModelsRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for ClusterQemuUpdateCustomCpuModelsRequest
impl Default for ClusterQemuUpdateCustomCpuModelsRequest
Source§fn default() -> ClusterQemuUpdateCustomCpuModelsRequest
fn default() -> ClusterQemuUpdateCustomCpuModelsRequest
Source§impl<'de> Deserialize<'de> for ClusterQemuUpdateCustomCpuModelsRequest
impl<'de> Deserialize<'de> for ClusterQemuUpdateCustomCpuModelsRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for ClusterQemuUpdateCustomCpuModelsRequest
impl PartialEq for ClusterQemuUpdateCustomCpuModelsRequest
Source§fn eq(&self, other: &ClusterQemuUpdateCustomCpuModelsRequest) -> bool
fn eq(&self, other: &ClusterQemuUpdateCustomCpuModelsRequest) -> bool
self and other values to be equal, and is used by ==.