Skip to content

Conversation

priyasiddharth
Copy link
Contributor

Summary of the PR

This PR adds new Kani proofs for virtio queue mainly around notification logic.

Requirements

Before submitting your PR, please make sure you addressed the following
requirements:

  • All commits in this PR have Signed-Off-By trailers (with
    git commit -s), and the commit message has max 60 characters for the
    summary and max 75 characters for each description line.
  • All added/changed functionality has a corresponding unit/integration
    test.
  • All added/changed public-facing functionality has entries in the "Upcoming
    Release" section of CHANGELOG.md (if no such section exists, please create one).
  • Any newly added unsafe code is properly documented.

This simplifies the logic for the existing need_notification proof
and makes it more general accounting for both when notification is
needed and when it is not.

Signed-off-by: Siddharth Priya <[email protected]>
1. Verify enable_notification logic
2. Verify when driver should send notification to device
3. Verify when driver should not send notification to device
4. Verify that set_next_used method actually changes the next_used field in memory

Signed-off-by: Siddharth Priya <[email protected]>
@priyasiddharth
Copy link
Contributor Author

@MatiasVara FYI

@epilys epilys changed the title virtio-queue: kani proofs for vritio queue virtio-queue: kani proofs for virtio queue Sep 15, 2025
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.

1 participant