From 98b35ef31ab8a86b22983cfdde69d1d1d96eaa4e Mon Sep 17 00:00:00 2001 From: longxiangqiao Date: Tue, 5 Nov 2024 18:50:30 +0800 Subject: [PATCH 1/2] chore: remove redundant words in comment Fix word duplicaiton in the comment. Co-Authored-By: longxiangqiao Signed-off-by: Egor Lazarchuk --- src/vmm/src/devices/virtio/vsock/packet.rs | 2 +- src/vmm/src/dumbo/tcp/connection.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vmm/src/devices/virtio/vsock/packet.rs b/src/vmm/src/devices/virtio/vsock/packet.rs index f19723d25cb..fb79c76292f 100644 --- a/src/vmm/src/devices/virtio/vsock/packet.rs +++ b/src/vmm/src/devices/virtio/vsock/packet.rs @@ -518,7 +518,7 @@ mod tests { )) } - // Test case: the buffer descriptor cannot fit all the data advertised by the the + // Test case: the buffer descriptor cannot fit all the data advertised by the // packet header `len` field. { create_context!(test_ctx, handler_ctx); diff --git a/src/vmm/src/dumbo/tcp/connection.rs b/src/vmm/src/dumbo/tcp/connection.rs index 8036f428318..e17be1063af 100644 --- a/src/vmm/src/dumbo/tcp/connection.rs +++ b/src/vmm/src/dumbo/tcp/connection.rs @@ -815,7 +815,7 @@ impl Connection { /// * `mss_reserved` - How much (if anything) of the MSS value has been already used at the /// lower layers (by IP options, for example). This will be zero most of the time. /// * `payload_src` - References a buffer which contains data to send, and also specifies the - /// sequence number associated with the first byte from that that buffer. + /// sequence number associated with the first byte from that buffer. /// * `now` - An opaque timestamp representing the current moment in time. /// /// [`MAX_WINDOW_SIZE`]: ../constant.MAX_WINDOW_SIZE.html From bc4a5a145e88518efced8aca76f9c7f385ea3223 Mon Sep 17 00:00:00 2001 From: Steven Wirges Date: Fri, 25 Oct 2024 13:33:48 +0200 Subject: [PATCH 2/2] chore: remove invalid trailing comma from the documentation Remove invalid trailing comma from a json body of a request in the documentation. Co-Authored-By: Steven Wirges Signed-off-by: Egor Lazarchuk --- docs/snapshotting/snapshot-support.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/snapshotting/snapshot-support.md b/docs/snapshotting/snapshot-support.md index c8d964ae89b..910dde94ce7 100644 --- a/docs/snapshotting/snapshot-support.md +++ b/docs/snapshotting/snapshot-support.md @@ -266,7 +266,7 @@ curl --unix-socket /tmp/firecracker.socket -i \ -d '{ "snapshot_type": "Full", "snapshot_path": "./snapshot_file", - "mem_file_path": "./mem_file", + "mem_file_path": "./mem_file" }' ```