Skip to content

Conversation

@727Hsj
Copy link

@727Hsj 727Hsj commented Jan 13, 2026

No description provided.

@AsakuraMizu
Copy link
Contributor

GitHub CI or rustc is experiencing some difficulties. Could you run these test scripts (clippy, doc) locally?

@727Hsj
Copy link
Author

727Hsj commented Jan 13, 2026

GitHub CI or rustc is experiencing some difficulties. Could you run these test scripts (clippy, doc) locally?

doc.md
ci-x86-unknown-none.md
ci-x86-unknown-linux-gnu.md
ci-riscv64gc.md
ci-aarch64.md

all success finished

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds support for credit update events in the vsock driver by introducing a new CreditUpdate variant to the VsockDriverEvent enum. Credit updates are part of the vsock protocol flow control mechanism.

Changes:

  • Added CreditUpdate(VsockConnId) variant to the VsockDriverEvent enum
  • Implemented conversion handling for VsockEventType::CreditUpdate events
  • Minor code formatting improvement for the Received event case

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
axdriver_vsock/src/lib.rs Added CreditUpdate variant to the VsockDriverEvent enum with appropriate documentation
axdriver_virtio/src/socket.rs Added conversion logic for CreditUpdate events and simplified formatting of Received event handling

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@AsakuraMizu AsakuraMizu merged commit f548b05 into arceos-org:dev Jan 13, 2026
6 of 21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants