Thanks to visit codestin.com
Credit goes to github.com

Skip to content

vmm: config: Reject rate limiting with vhost_user - #8135

Merged
likebreath merged 1 commit into
cloud-hypervisor:mainfrom
rbradford:202605/vhost-user-rate-limit-validation
May 4, 2026
Merged

likebreath merged 1 commit into
cloud-hypervisor:mainfrom
rbradford:202605/vhost-user-rate-limit-validation

Conversation

@rbradford

Copy link
Copy Markdown
Member

Rate limiting is implemented in the virtio device layer and does not
apply to vhost-user devices which delegate I/O handling to an external
process.

Add validation to reject configurations where vhost_user is enabled
along with rate limiting options (bw_size, ops_size, or rate_limit_group)
for both disk and network devices.

This prevents users from mistakenly configuring rate limiting that would
be silently ignored when using vhost-user backends.

Signed-off-by: Rob Bradford [email protected]

@rbradford
rbradford requested a review from a team as a code owner May 4, 2026 15:13
Rate limiting is implemented in the virtio device layer and does not
apply to vhost-user devices which delegate I/O handling to an external
process.

Add validation to reject configurations where vhost_user is enabled
along with rate limiting options (bw_size, ops_size, or
rate_limit_group) for both disk and network devices.

This prevents users from mistakenly configuring rate limiting that would
be silently ignored when using vhost-user backends.

Signed-off-by: Rob Bradford <[email protected]>
@rbradford
rbradford force-pushed the 202605/vhost-user-rate-limit-validation branch from 626eda9 to 4b282f5 Compare May 4, 2026 15:19
@likebreath
likebreath added this pull request to the merge queue May 4, 2026
Merged via the queue into cloud-hypervisor:main with commit f09ab08 May 4, 2026
41 checks passed
@likebreath likebreath added the bug-fix Bug fix to include in release notes label May 14, 2026
@github-project-automation github-project-automation Bot moved this from 🆕 New to ✅ Done in Cloud Hypervisor Roadmap May 14, 2026
@rbradford
rbradford deleted the 202605/vhost-user-rate-limit-validation branch June 12, 2026 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug-fix Bug fix to include in release notes

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

3 participants