Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/vmm/src/devices/virtio/vsock/unix/muxer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down
2 changes: 1 addition & 1 deletion src/vmm/src/mmds/ns.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion src/vmm/src/snapshot/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
Loading