Skip to content

Commit 42ceb8b

Browse files
committed
chore: Link to kernel commit for ARCH_GET_XCOMP_SUPP
It is the kernel commit that actually is needed for ARCH_GET_XCOMP_SUPP. Signed-off-by: Takahiro Itazuri <[email protected]>
1 parent a7356c1 commit 42ceb8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vmm/src/arch/x86_64/xstate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ fn get_supported_xfeatures() -> Result<Option<u64>, std::io::Error> {
7272
Ok(()) => Ok(Some(supported_xfeatures)),
7373
// EINVAL is returned if the dynamic XSTATE feature enabling is not supported (e.g. kernel
7474
// version prior to v5.17).
75-
// https://github.com/torvalds/linux/commit/980fe2fddcff21937c93532b4597c8ea450346c1
75+
// https://github.com/torvalds/linux/commit/db8268df0983adc2bb1fb48c9e5f7bfbb5f617f3
7676
Err(err) if err.raw_os_error() == Some(libc::EINVAL) => Ok(None),
7777
Err(err) => Err(err),
7878
}

0 commit comments

Comments
 (0)