aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/rust/kernel
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2025-02-14 19:08:35 -0500
committerPaolo Bonzini <pbonzini@redhat.com>2025-02-14 19:08:35 -0500
commitd3d0b8dfe06098d6d584266c35e9a0947f5b7132 (patch)
tree2c38950a3489a5c0e6ac98a711cf1f5384c5b7f5 /rust/kernel
parentx86/sev: Fix broken SNP support with KVM module built-in (diff)
parentKVM: x86: Load DR6 with guest value only before entering .vcpu_run() loop (diff)
downloadwireguard-linux-d3d0b8dfe06098d6d584266c35e9a0947f5b7132.tar.xz
wireguard-linux-d3d0b8dfe06098d6d584266c35e9a0947f5b7132.zip
Merge tag 'kvm-x86-fixes-6.14-rcN' of https://github.com/kvm-x86/linux into HEAD
KVM fixes for 6.14 part 1 - Reject Hyper-V SEND_IPI hypercalls if the local APIC isn't being emulated by KVM to fix a NULL pointer dereference. - Enter guest mode (L2) from KVM's perspective before initializing the vCPU's nested NPT MMU so that the MMU is properly tagged for L2, not L1. - Load the guest's DR6 outside of the innermost .vcpu_run() loop, as the guest's value may be stale if a VM-Exit is handled in the fastpath.
Diffstat (limited to 'rust/kernel')
-rw-r--r--rust/kernel/init.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/kernel/init.rs b/rust/kernel/init.rs
index 3f9236c1c9d5..7fd1ea8265a5 100644
--- a/rust/kernel/init.rs
+++ b/rust/kernel/init.rs
@@ -870,7 +870,7 @@ pub unsafe trait PinInit<T: ?Sized, E = Infallible>: Sized {
/// use kernel::{types::Opaque, init::pin_init_from_closure};
/// #[repr(C)]
/// struct RawFoo([u8; 16]);
- /// extern {
+ /// extern "C" {
/// fn init_foo(_: *mut RawFoo);
/// }
///