From 6c37b48fde72cceb8cf2e5d4c1d7998f69939d67 Mon Sep 17 00:00:00 2001 From: SAY-5 Date: Thu, 16 Apr 2026 15:54:00 -0700 Subject: [PATCH 1/3] fix occured typo in ns.rs Signed-off-by: SAY-5 --- src/vmm/src/mmds/ns.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vmm/src/mmds/ns.rs b/src/vmm/src/mmds/ns.rs index fbb3870168f..9d57f59cf0f 100644 --- a/src/vmm/src/mmds/ns.rs +++ b/src/vmm/src/mmds/ns.rs @@ -141,7 +141,7 @@ impl MmdsNetworkStack { /// /// # Returns /// - /// `true` if the frame was consumed by `mmds` or `false` if an error occured + /// `true` if the frame was consumed by `mmds` or `false` if an error occurred pub fn detour_frame(&mut self, src: &[u8]) -> bool { if let Ok(eth) = EthernetFrame::from_bytes(src) { match eth.ethertype() { From f2d7059ca1a9a1c6e83fa463c69edad3ba4f5d48 Mon Sep 17 00:00:00 2001 From: SAY-5 Date: Thu, 16 Apr 2026 15:54:03 -0700 Subject: [PATCH 2/3] fix occured typo in mod.rs Signed-off-by: SAY-5 --- src/vmm/src/snapshot/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vmm/src/snapshot/mod.rs b/src/vmm/src/snapshot/mod.rs index 556646e2c98..e412f517081 100644 --- a/src/vmm/src/snapshot/mod.rs +++ b/src/vmm/src/snapshot/mod.rs @@ -57,7 +57,7 @@ pub enum SnapshotError { InvalidFormatVersion(Version), /// Magic value does not match arch: {0} InvalidMagic(u64), - /// An error occured during bitcode serialization: {0} + /// An error occurred during bitcode serialization: {0} Bitcode(#[from] bitcode::Error), /// IO Error: {0} Io(#[from] std::io::Error), From dda75091d733115370698481d9273a2a29099729 Mon Sep 17 00:00:00 2001 From: SAY-5 Date: Thu, 16 Apr 2026 15:54:05 -0700 Subject: [PATCH 3/3] fix occured typo in muxer.rs Signed-off-by: SAY-5 --- src/vmm/src/devices/virtio/vsock/unix/muxer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vmm/src/devices/virtio/vsock/unix/muxer.rs b/src/vmm/src/devices/virtio/vsock/unix/muxer.rs index 4e0c945112a..e2c28033ec7 100644 --- a/src/vmm/src/devices/virtio/vsock/unix/muxer.rs +++ b/src/vmm/src/devices/virtio/vsock/unix/muxer.rs @@ -282,7 +282,7 @@ impl VsockEpollListener for VsockMuxer { EventSet::IN } - /// Notify the muxer about a pending event having occured under its nested epoll FD. + /// Notify the muxer about a pending event having occurred under its nested epoll FD. fn notify(&mut self, _: EventSet) { let mut epoll_events = vec![EpollEvent::new(EventSet::empty(), 0); 32]; match self.epoll.wait(0, epoll_events.as_mut_slice()) {