Skip to content

chore: move rust-vmm deps to workspace dependencies#921

Open
ANISH-SR wants to merge 3 commits intorust-vmm:mainfrom
ANISH-SR:chore/deps
Open

chore: move rust-vmm deps to workspace dependencies#921
ANISH-SR wants to merge 3 commits intorust-vmm:mainfrom
ANISH-SR:chore/deps

Conversation

@ANISH-SR
Copy link

@ANISH-SR ANISH-SR commented Jan 4, 2026

Summary of the PR

  • Workspace deps centralized: Added all rust-vmm crates (vhost, virtio-*, vm-memory, vmm-sys-util, virtio-vsock) to root [workspace.dependencies] with unified versions/features.
  • Switched rust-vmm dependencies in all vhost-device crates to { workspace = true } (including dev-deps).
  • Non–rust-vmm and platform-specific dependencies remain unchanged.

Closes #906

Signed-off-by: ANISH-SR <rawatanish08@gmail.com>
Signed-off-by: ANISH-SR <rawatanish08@gmail.com>
@dorindabassey
Copy link
Collaborator

Hi @ANISH-SR, can you rebase your PRs? Thanks!

@ANISH-SR
Copy link
Author

Hi @dorindabassey , I have just fixed the merge conflicts. Do lmk if any other change is needed here! thanks : )

Copy link
Member

Choose a reason for hiding this comment

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

Why having a changelog for the entire workspace?

Which will be the "Upcoming release" ?

Copy link
Member

Choose a reason for hiding this comment

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

(AI) slop

vhost = { version = "0.15", features = ["vhost-user-backend"] }
vhost-user-backend = "0.21"
virtio-bindings = "0.2.5"
virtio-queue = { version = "0.17", features = ["test-utils"] }
Copy link
Member

Choose a reason for hiding this comment

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

So now we are enabling test-utils feature for tests but also for code, why?

Copy link
Member

Choose a reason for hiding this comment

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

Yes, this is wrong. AI slop or just slop, maybe.

vhost-user-backend = "0.21"
virtio-bindings = "0.2.5"
virtio-queue = { version = "0.17", features = ["test-utils"] }
vm-memory = { version = "0.17.1", features = ["backend-mmap", "backend-atomic"] }
Copy link
Member

Choose a reason for hiding this comment

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

Ditto

@stefano-garzarella
Copy link
Member

Each commit should explain the "why" of a change, please.

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.

Move rust-vmm deps to workspace dependencies

4 participants