rust-vmm / vm-virtio

virtio implementation
Apache License 2.0
372 stars 89 forks source link

add QueueStateSer #149

Closed lauralt closed 2 years ago

lauralt commented 2 years ago

Summary of the PR

Based on the design agreed here (and similar to what is already done in vm-superio), created a new crate, virtio-queue-ser, and added QueueStateSer. Once we have a fix for https://github.com/rust-vmm/vm-virtio/issues/143, this PR will probably need some updates, but high level it should remain the same. Marking this as draft until that.

Requirements

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

lauralt commented 2 years ago

Since it is actually going to take some time to agree on the path forward with https://github.com/rust-vmm/vm-virtio/pull/150, I propose we review/merge this one before, and I can take care afterwards of any other changes to the state (if there will be any) that can be needed after the interface changes. Marking this as ready for review.