pub enum GuestStateEncryptionPolicy {
Auto,
None,
GspById,
GspKey,
HardwareSealing,
}
Expand description
Guest state encryption policy
Variants§
Auto
Use the best encryption available, allowing fallback.
VMs will be created as or migrated to the best encryption available, attempting GspKey, then GspById, and finally leaving the data unencrypted if neither are available.
None
Prefer (or require, if strict) no encryption.
Do not encrypt the guest state unless it is already encrypted and strict encryption policy is disabled.
GspById
Prefer (or require, if strict) GspById.
This prevents a VM from being created as or migrated to GspKey even if it is available. Exisiting GspKey encryption will be used unless strict encryption policy is enabled. Fails if the data cannot be encrypted.
GspKey
Require GspKey.
VMs will be created as or migrated to GspKey. Fails if GspKey is not available. Strict encryption policy has no effect here since GspKey is currently the most secure policy.
HardwareSealing
Use hardware sealing
Trait Implementations§
Source§impl Clone for GuestStateEncryptionPolicy
impl Clone for GuestStateEncryptionPolicy
Source§fn clone(&self) -> GuestStateEncryptionPolicy
fn clone(&self) -> GuestStateEncryptionPolicy
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more