pub enum LinuxTestKernelVersion {
Linux6_1,
Linux6_18,
CcaV15,
SnpGuest,
MshvTest,
}Expand description
Which Linux test kernel version to fetch from the openvmm-deps GitHub release.
Variants§
Linux6_1
Linux6_18
CcaV15
The cca-v15 kernel (Linux 7.2.0-rc1 at time of writing).
Published aarch64-only. Beyond the ARM CCA host bits it is built
for, it also enables the P2PDMA / vfio-dmabuf / iommufd config
(CONFIG_PCI_P2PDMA, CONFIG_VFIO_PCI_DMABUF, CONFIG_IOMMUFD,
CONFIG_ARM_SMMU_V3) that the emulator VFIO device-assignment tests
need to exercise device-BAR P2P DMA, which predate the 6.18 test kernel.
SnpGuest
The x86_64-only SEV-SNP guest kernel used by the SNP Linux-direct IGVM.
MshvTest
Module-free x86_64 mshv root kernel, distinct from the child test kernel.
Implementations§
Source§impl LinuxTestKernelVersion
impl LinuxTestKernelVersion
Sourcepub fn artifact_tag(self) -> &'static str
pub fn artifact_tag(self) -> &'static str
The version string used in the openvmm-deps GitHub release artifact
filename (e.g. "6.1" for openvmm-test-linux-6.1.<arch>.<ver>.tar.gz).
Sourcepub fn is_available_for(self, arch: CommonArch) -> bool
pub fn is_available_for(self, arch: CommonArch) -> bool
Whether this kernel version is published for the given architecture.
Most versions ship for both architectures; cca-v15 is aarch64-only
and snp-guest and mshv-test are x86_64-only.
Trait Implementations§
Source§impl Clone for LinuxTestKernelVersion
impl Clone for LinuxTestKernelVersion
Source§fn clone(&self) -> LinuxTestKernelVersion
fn clone(&self) -> LinuxTestKernelVersion
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for LinuxTestKernelVersion
impl Debug for LinuxTestKernelVersion
Source§impl<'de> Deserialize<'de> for LinuxTestKernelVersion
impl<'de> Deserialize<'de> for LinuxTestKernelVersion
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 Ord for LinuxTestKernelVersion
impl Ord for LinuxTestKernelVersion
Source§fn cmp(&self, other: &LinuxTestKernelVersion) -> Ordering
fn cmp(&self, other: &LinuxTestKernelVersion) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for LinuxTestKernelVersion
impl PartialEq for LinuxTestKernelVersion
Source§fn eq(&self, other: &LinuxTestKernelVersion) -> bool
fn eq(&self, other: &LinuxTestKernelVersion) -> bool
self and other values to be equal, and is used by ==.Source§impl PartialOrd for LinuxTestKernelVersion
impl PartialOrd for LinuxTestKernelVersion
Source§impl Serialize for LinuxTestKernelVersion
impl Serialize for LinuxTestKernelVersion
impl Copy for LinuxTestKernelVersion
impl Eq for LinuxTestKernelVersion
impl StructuralPartialEq for LinuxTestKernelVersion
Auto Trait Implementations§
impl Freeze for LinuxTestKernelVersion
impl RefUnwindSafe for LinuxTestKernelVersion
impl Send for LinuxTestKernelVersion
impl Sync for LinuxTestKernelVersion
impl Unpin for LinuxTestKernelVersion
impl UnsafeUnpin for LinuxTestKernelVersion
impl UnwindSafe for LinuxTestKernelVersion
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more