diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2025-02-14 19:08:35 -0500 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-02-14 19:08:35 -0500 |
commit | d3d0b8dfe06098d6d584266c35e9a0947f5b7132 (patch) | |
tree | 2c38950a3489a5c0e6ac98a711cf1f5384c5b7f5 /rust/kernel/init.rs | |
parent | 409f45387c937145adeeeebc6d6032c2ec232b35 (diff) | |
parent | c2fee09fc167c74a64adb08656cb993ea475197e (diff) |
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/init.rs')
-rw-r--r-- | rust/kernel/init.rs | 2 |
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); /// } /// |